SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001715s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052763s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.015383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12026132 LIMIT 5 [ RunTime:0.022706s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12026132 ORDER BY `minOrder` ASC [ RunTime:0.011516s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12026132 ORDER BY `unit` DESC [ RunTime:0.019419s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12026132 LIMIT 2 [ RunTime:0.003270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12026132 ORDER BY `minOrder` ASC [ RunTime:0.007253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11483315 LIMIT 5 [ RunTime:0.045041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483315 ORDER BY `minOrder` ASC [ RunTime:0.012188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11483315 ORDER BY `unit` DESC [ RunTime:0.014162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11483315 LIMIT 2 [ RunTime:0.009120s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483315 ORDER BY `minOrder` ASC [ RunTime:0.040316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11483306 LIMIT 5 [ RunTime:0.033346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483306 ORDER BY `minOrder` ASC [ RunTime:0.015367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11483306 ORDER BY `unit` DESC [ RunTime:0.014946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11483306 LIMIT 2 [ RunTime:0.024467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483306 ORDER BY `minOrder` ASC [ RunTime:0.022115s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032727s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60382166 LIMIT 5 [ RunTime:0.068289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382166 ORDER BY `minOrder` ASC [ RunTime:0.078920s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60382166 ORDER BY `unit` DESC [ RunTime:0.039204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60382166 LIMIT 2 [ RunTime:0.065829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382166 ORDER BY `minOrder` ASC [ RunTime:0.019707s ]
select * from pdf where partno='2032637785' and brandshort='Molex' limit 1 [ RunTime:0.029915s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637785' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.022493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60382171 LIMIT 5 [ RunTime:0.018527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382171 ORDER BY `minOrder` ASC [ RunTime:0.040737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60382171 ORDER BY `unit` DESC [ RunTime:0.038888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60382171 LIMIT 2 [ RunTime:0.012181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382171 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
select * from pdf where partno='2032637885' and brandshort='Molex' limit 1 [ RunTime:0.035604s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637885' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.056127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60382160 LIMIT 5 [ RunTime:0.036044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382160 ORDER BY `minOrder` ASC [ RunTime:0.044798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60382160 ORDER BY `unit` DESC [ RunTime:0.044529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60382160 LIMIT 2 [ RunTime:0.090704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60382160 ORDER BY `minOrder` ASC [ RunTime:0.034710s ]
select * from pdf where partno='2032637585' and brandshort='Molex' limit 1 [ RunTime:0.043078s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637585' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.063664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60383747 LIMIT 5 [ RunTime:0.062914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60383747 ORDER BY `minOrder` ASC [ RunTime:0.044392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60383747 ORDER BY `unit` DESC [ RunTime:0.030723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60383747 LIMIT 2 [ RunTime:0.058032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60383747 ORDER BY `minOrder` ASC [ RunTime:0.039219s ]
select * from pdf where partno='2032637085' and brandshort='Molex' limit 1 [ RunTime:0.020168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637085' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.008034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60383641 LIMIT 5 [ RunTime:0.015298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60383641 ORDER BY `minOrder` ASC [ RunTime:0.031615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60383641 ORDER BY `unit` DESC [ RunTime:0.008564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60383641 LIMIT 2 [ RunTime:0.067383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60383641 ORDER BY `minOrder` ASC [ RunTime:0.053688s ]
select * from pdf where partno='2032637185' and brandshort='Molex' limit 1 [ RunTime:0.036265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637185' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.027080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32643480 LIMIT 5 [ RunTime:0.036235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32643480 ORDER BY `minOrder` ASC [ RunTime:0.046804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32643480 ORDER BY `unit` DESC [ RunTime:0.031764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32643480 LIMIT 2 [ RunTime:0.079365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32643480 ORDER BY `minOrder` ASC [ RunTime:0.042939s ]
select * from pdf where partno='2032637' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.018590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032637' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.022735s ]
SELECT `id` FROM `stock` WHERE `id` <> 32643480 AND `partno` = '2032637' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.048442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12026132 [ RunTime:0.049819s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059360s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077813s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047457s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073229s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037634s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057441s ]
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 '2032637%' OR `brand` LIKE '2032637%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031220s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '2032637%' OR `brand` LIKE '2032637%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.075440s ]