SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002411s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048484s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11200357 LIMIT 5 [ RunTime:0.033775s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.017330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11200357 ORDER BY `minOrder` ASC [ RunTime:0.086210s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11200357 ORDER BY `unit` DESC [ RunTime:0.020383s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11200357 LIMIT 2 [ RunTime:0.041208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11200357 ORDER BY `minOrder` ASC [ RunTime:0.039929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18782658 LIMIT 5 [ RunTime:0.048384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18782658 ORDER BY `minOrder` ASC [ RunTime:0.075488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18782658 ORDER BY `unit` DESC [ RunTime:0.073013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18782658 LIMIT 2 [ RunTime:0.013668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18782658 ORDER BY `minOrder` ASC [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16505288 LIMIT 5 [ RunTime:0.087448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16505288 ORDER BY `minOrder` ASC [ RunTime:0.093030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16505288 ORDER BY `unit` DESC [ RunTime:0.089418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16505288 LIMIT 2 [ RunTime:0.073646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16505288 ORDER BY `minOrder` ASC [ RunTime:0.019380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11406767 LIMIT 5 [ RunTime:0.049291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11406767 ORDER BY `minOrder` ASC [ RunTime:0.040465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11406767 ORDER BY `unit` DESC [ RunTime:0.022915s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11406767 LIMIT 2 [ RunTime:0.072679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11406767 ORDER BY `minOrder` ASC [ RunTime:0.036177s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045360s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.147405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56520962 LIMIT 5 [ RunTime:0.050865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56520962 ORDER BY `minOrder` ASC [ RunTime:0.027000s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56520962 ORDER BY `unit` DESC [ RunTime:0.046418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56520962 LIMIT 2 [ RunTime:0.035804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56520962 ORDER BY `minOrder` ASC [ RunTime:0.028482s ]
select * from pdf where partno='1218200' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.023739s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218200' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.020292s ]
SELECT `id` FROM `stock` WHERE `id` <> 56520962 AND `partno` = '1218200' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.027182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11200357 [ RunTime:0.013977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633149 LIMIT 5 [ RunTime:0.037761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633149 ORDER BY `minOrder` ASC [ RunTime:0.013027s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633149 ORDER BY `unit` DESC [ RunTime:0.027484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633149 LIMIT 2 [ RunTime:0.030403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633149 ORDER BY `minOrder` ASC [ RunTime:0.014838s ]
select * from pdf where partno='1218203-1' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.001425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218203-1' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.001037s ]
SELECT `id` FROM `stock` WHERE `id` <> 60633149 AND `partno` = '1218203-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.010849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11406767 [ RunTime:0.000643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57701724 LIMIT 5 [ RunTime:0.022154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701724 ORDER BY `minOrder` ASC [ RunTime:0.023520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57701724 ORDER BY `unit` DESC [ RunTime:0.024854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57701724 LIMIT 2 [ RunTime:0.022548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701724 ORDER BY `minOrder` ASC [ RunTime:0.003100s ]
select * from pdf where partno='121820' and brandshort='Brady Corporation' limit 1 [ RunTime:0.017367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '121820' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.007608s ]
SELECT `id` FROM `stock` WHERE `id` <> 57701724 AND `partno` = '121820' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.022457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16505288 [ RunTime:0.021773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56535674 LIMIT 5 [ RunTime:0.008449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56535674 ORDER BY `minOrder` ASC [ RunTime:0.015463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56535674 ORDER BY `unit` DESC [ RunTime:0.012569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56535674 LIMIT 2 [ RunTime:0.048276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56535674 ORDER BY `minOrder` ASC [ RunTime:0.010669s ]
select * from pdf where partno='1218201' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.023536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218201' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.010456s ]
SELECT `id` FROM `stock` WHERE `id` <> 56535674 AND `partno` = '1218201' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.045269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18782658 [ RunTime:0.007517s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017914s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021178s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020912s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037146s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056227s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047365s ]
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 '121820%' OR `brand` LIKE '121820%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015867s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '121820%' OR `brand` LIKE '121820%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023085s ]