SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001531s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002874s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17298733 LIMIT 5 [ RunTime:0.005128s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17298733 ORDER BY `minOrder` ASC [ RunTime:0.015510s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17298733 ORDER BY `unit` DESC [ RunTime:0.000670s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17298733 LIMIT 2 [ RunTime:0.006530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17298733 ORDER BY `minOrder` ASC [ RunTime:0.006951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13557060 LIMIT 5 [ RunTime:0.003461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13557060 ORDER BY `minOrder` ASC [ RunTime:0.009827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13557060 ORDER BY `unit` DESC [ RunTime:0.006978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13557060 LIMIT 2 [ RunTime:0.014113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13557060 ORDER BY `minOrder` ASC [ RunTime:0.003495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12024318 LIMIT 5 [ RunTime:0.001425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12024318 ORDER BY `minOrder` ASC [ RunTime:0.004573s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12024318 ORDER BY `unit` DESC [ RunTime:0.010187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12024318 LIMIT 2 [ RunTime:0.003529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12024318 ORDER BY `minOrder` ASC [ RunTime:0.004407s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022274s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52487259 LIMIT 5 [ RunTime:0.003378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52487259 ORDER BY `minOrder` ASC [ RunTime:0.007876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52487259 ORDER BY `unit` DESC [ RunTime:0.001235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52487259 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52487259 ORDER BY `minOrder` ASC [ RunTime:0.001003s ]
select * from pdf where partno='40864' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.006747s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40864' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000755s ]
SELECT `id` FROM `stock` WHERE `id` <> 52487259 AND `partno` = '40864' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.009848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17298733 [ RunTime:0.003869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50713518 LIMIT 5 [ RunTime:0.003364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50713518 ORDER BY `minOrder` ASC [ RunTime:0.003324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50713518 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50713518 LIMIT 2 [ RunTime:0.014478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50713518 ORDER BY `minOrder` ASC [ RunTime:0.005251s ]
select * from pdf where partno='40864' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40864' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002996s ]
SELECT `id` FROM `stock` WHERE `id` <> 50713518 AND `partno` = '40864' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.005660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13557060 [ RunTime:0.000564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38102619 LIMIT 5 [ RunTime:0.003925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38102619 ORDER BY `minOrder` ASC [ RunTime:0.001690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38102619 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38102619 LIMIT 2 [ RunTime:0.001009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38102619 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
select * from pdf where partno='40864' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000506s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40864' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.006982s ]
SELECT `id` FROM `stock` WHERE `id` <> 38102619 AND `partno` = '40864' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.008495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13557060 [ RunTime:0.004359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32614080 LIMIT 5 [ RunTime:0.002157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32614080 ORDER BY `minOrder` ASC [ RunTime:0.005205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32614080 ORDER BY `unit` DESC [ RunTime:0.009114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32614080 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32614080 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
select * from pdf where partno='4086403' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4086403' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.002770s ]
SELECT `id` FROM `stock` WHERE `id` <> 32614080 AND `partno` = '4086403' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.004919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12024318 [ RunTime:0.001555s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006266s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004342s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002653s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009383s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008646s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005472s ]
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 '40864%' OR `brand` LIKE '40864%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003396s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '40864%' OR `brand` LIKE '40864%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008638s ]