SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002613s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033478s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778396 LIMIT 5 [ RunTime:0.014553s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778396 ORDER BY `minOrder` ASC [ RunTime:0.015289s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.016923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18778396 ORDER BY `unit` DESC [ RunTime:0.007658s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18778396 LIMIT 2 [ RunTime:0.034476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18778396 ORDER BY `minOrder` ASC [ RunTime:0.040538s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17011310 LIMIT 5 [ RunTime:0.045610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17011310 ORDER BY `minOrder` ASC [ RunTime:0.022526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17011310 ORDER BY `unit` DESC [ RunTime:0.079032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17011310 LIMIT 2 [ RunTime:0.008001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17011310 ORDER BY `minOrder` ASC [ RunTime:0.025710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14422620 LIMIT 5 [ RunTime:0.024429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14422620 ORDER BY `minOrder` ASC [ RunTime:0.045705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14422620 ORDER BY `unit` DESC [ RunTime:0.064608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14422620 LIMIT 2 [ RunTime:0.068893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14422620 ORDER BY `minOrder` ASC [ RunTime:0.007380s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065933s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64637922 LIMIT 5 [ RunTime:0.096476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64637922 ORDER BY `minOrder` ASC [ RunTime:0.042316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64637922 ORDER BY `unit` DESC [ RunTime:0.036192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64637922 LIMIT 2 [ RunTime:0.069992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64637922 ORDER BY `minOrder` ASC [ RunTime:0.035390s ]
select * from pdf where partno='1060172' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.034696s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002545s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060172' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.046245s ]
SELECT `id` FROM `stock` WHERE `id` <> 64637922 AND `partno` = '1060172' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.042540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18778396 [ RunTime:0.011690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64639051 LIMIT 5 [ RunTime:0.047233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64639051 ORDER BY `minOrder` ASC [ RunTime:0.048288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64639051 ORDER BY `unit` DESC [ RunTime:0.026214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64639051 LIMIT 2 [ RunTime:0.049732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64639051 ORDER BY `minOrder` ASC [ RunTime:0.030102s ]
select * from pdf where partno='1060171' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.017901s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060171' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.016927s ]
SELECT `id` FROM `stock` WHERE `id` <> 64639051 AND `partno` = '1060171' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.021514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17011310 [ RunTime:0.012289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64528107 LIMIT 5 [ RunTime:0.008790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64528107 ORDER BY `minOrder` ASC [ RunTime:0.034207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64528107 ORDER BY `unit` DESC [ RunTime:0.038849s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64528107 LIMIT 2 [ RunTime:0.031741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64528107 ORDER BY `minOrder` ASC [ RunTime:0.007413s ]
select * from pdf where partno='106017' and brandshort='Brady Corporation' limit 1 [ RunTime:0.024440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106017' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.012335s ]
SELECT `id` FROM `stock` WHERE `id` <> 64528107 AND `partno` = '106017' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.051991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14422620 [ RunTime:0.008952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32486740 LIMIT 5 [ RunTime:0.034418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32486740 ORDER BY `minOrder` ASC [ RunTime:0.045228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32486740 ORDER BY `unit` DESC [ RunTime:0.041572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32486740 LIMIT 2 [ RunTime:0.008911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32486740 ORDER BY `minOrder` ASC [ RunTime:0.010810s ]
select * from pdf where partno='106017' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.015537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106017' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.010475s ]
SELECT `id` FROM `stock` WHERE `id` <> 32486740 AND `partno` = '106017' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.034500s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010705s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012309s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011871s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012431s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008597s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006688s ]
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 '106017%' OR `brand` LIKE '106017%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009679s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '106017%' OR `brand` LIKE '106017%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015193s ]