SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002402s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010490s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030062s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041088s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086694 LIMIT 5 [ RunTime:0.017372s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086694 ORDER BY `minOrder` ASC [ RunTime:0.014003s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086694 ORDER BY `unit` DESC [ RunTime:0.051725s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002119s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086694 LIMIT 2 [ RunTime:0.025649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086694 ORDER BY `minOrder` ASC [ RunTime:0.039334s ]
select * from pdf where partno='SF16GH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.024984s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16GH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.047744s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086694 AND `partno` = 'SF16GH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.038680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44083910 LIMIT 5 [ RunTime:0.036071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44083910 ORDER BY `minOrder` ASC [ RunTime:0.029120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44083910 ORDER BY `unit` DESC [ RunTime:0.035195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44083910 LIMIT 2 [ RunTime:0.031798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44083910 ORDER BY `minOrder` ASC [ RunTime:0.024093s ]
select * from pdf where partno='SF16G' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.038169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16G' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.049747s ]
SELECT `id` FROM `stock` WHERE `id` <> 44083910 AND `partno` = 'SF16G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.030985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44099129 LIMIT 5 [ RunTime:0.030135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44099129 ORDER BY `minOrder` ASC [ RunTime:0.018404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44099129 ORDER BY `unit` DESC [ RunTime:0.047425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44099129 LIMIT 2 [ RunTime:0.086083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44099129 ORDER BY `minOrder` ASC [ RunTime:0.018470s ]
select * from pdf where partno='SF16G-K' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.056274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16G-K' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.041403s ]
SELECT `id` FROM `stock` WHERE `id` <> 44099129 AND `partno` = 'SF16G-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.026660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44098005 LIMIT 5 [ RunTime:0.045797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098005 ORDER BY `minOrder` ASC [ RunTime:0.010676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44098005 ORDER BY `unit` DESC [ RunTime:0.030653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44098005 LIMIT 2 [ RunTime:0.006942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098005 ORDER BY `minOrder` ASC [ RunTime:0.003577s ]
select * from pdf where partno='SF16G-AP' and brandshort='MCC Micro Commercial Components' limit 1 [ RunTime:0.050787s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16G-AP' OR `brand` LIKE 'MCC (Micro Commercial Components)%' ) ) LIMIT 1 [ RunTime:0.015683s ]
SELECT `id` FROM `stock` WHERE `id` <> 44098005 AND `partno` = 'SF16G-AP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mcc%' ) [ RunTime:0.047200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44098004 LIMIT 5 [ RunTime:0.007426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098004 ORDER BY `minOrder` ASC [ RunTime:0.023962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44098004 ORDER BY `unit` DESC [ RunTime:0.015170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44098004 LIMIT 2 [ RunTime:0.028607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098004 ORDER BY `minOrder` ASC [ RunTime:0.006349s ]
select * from pdf where partno='SF16G-BP' and brandshort='MCC Micro Commercial Components' limit 1 [ RunTime:0.003584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16G-BP' OR `brand` LIKE 'MCC (Micro Commercial Components)%' ) ) LIMIT 1 [ RunTime:0.015970s ]
SELECT `id` FROM `stock` WHERE `id` <> 44098004 AND `partno` = 'SF16G-BP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mcc%' ) [ RunTime:0.005066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44096518 LIMIT 5 [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44096518 ORDER BY `minOrder` ASC [ RunTime:0.010305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44096518 ORDER BY `unit` DESC [ RunTime:0.011898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44096518 LIMIT 2 [ RunTime:0.016045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44096518 ORDER BY `minOrder` ASC [ RunTime:0.003522s ]
select * from pdf where partno='SF16G-TP' and brandshort='MCC Micro Commercial Components' limit 1 [ RunTime:0.008203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SF16G-TP' OR `brand` LIKE 'MCC (Micro Commercial Components)%' ) ) LIMIT 1 [ RunTime:0.005694s ]
SELECT `id` FROM `stock` WHERE `id` <> 44096518 AND `partno` = 'SF16G-TP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mcc%' ) [ RunTime:0.006044s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009993s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017292s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004064s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003347s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003560s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000928s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010456s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SF16G%' OR `brand` LIKE 'SF16G%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015439s ]