SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001482s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036148s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525591 LIMIT 5 [ RunTime:0.038270s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525591 ORDER BY `minOrder` ASC [ RunTime:0.127981s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14525591 ORDER BY `unit` DESC [ RunTime:0.033094s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.019771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14525591 LIMIT 2 [ RunTime:0.018544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525591 ORDER BY `minOrder` ASC [ RunTime:0.019238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11851705 LIMIT 5 [ RunTime:0.028177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11851705 ORDER BY `minOrder` ASC [ RunTime:0.026710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11851705 ORDER BY `unit` DESC [ RunTime:0.049343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11851705 LIMIT 2 [ RunTime:0.007537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11851705 ORDER BY `minOrder` ASC [ RunTime:0.005389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11201104 LIMIT 5 [ RunTime:0.046510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11201104 ORDER BY `minOrder` ASC [ RunTime:0.074493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11201104 ORDER BY `unit` DESC [ RunTime:0.027053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11201104 LIMIT 2 [ RunTime:0.023665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11201104 ORDER BY `minOrder` ASC [ RunTime:0.016542s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025435s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56523063 LIMIT 5 [ RunTime:0.054264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56523063 ORDER BY `minOrder` ASC [ RunTime:0.050900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56523063 ORDER BY `unit` DESC [ RunTime:0.056762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56523063 LIMIT 2 [ RunTime:0.049078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56523063 ORDER BY `minOrder` ASC [ RunTime:0.014594s ]
select * from pdf where partno='1219064' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.044206s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001491s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1219064' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.066929s ]
SELECT `id` FROM `stock` WHERE `id` <> 56523063 AND `partno` = '1219064' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.055807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11201104 [ RunTime:0.042920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60391402 LIMIT 5 [ RunTime:0.025196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60391402 ORDER BY `minOrder` ASC [ RunTime:0.036418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60391402 ORDER BY `unit` DESC [ RunTime:0.017351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60391402 LIMIT 2 [ RunTime:0.028449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60391402 ORDER BY `minOrder` ASC [ RunTime:0.014309s ]
select * from pdf where partno='1219060000' and brandshort='Weidmüller' limit 1 [ RunTime:0.021956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1219060000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.019220s ]
SELECT `id` FROM `stock` WHERE `id` <> 60391402 AND `partno` = '1219060000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.025063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11851705 [ RunTime:0.013250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57701808 LIMIT 5 [ RunTime:0.001402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701808 ORDER BY `minOrder` ASC [ RunTime:0.005973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57701808 ORDER BY `unit` DESC [ RunTime:0.016060s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57701808 LIMIT 2 [ RunTime:0.005216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701808 ORDER BY `minOrder` ASC [ RunTime:0.001119s ]
select * from pdf where partno='121906' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '121906' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002078s ]
SELECT `id` FROM `stock` WHERE `id` <> 57701808 AND `partno` = '121906' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.003843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525591 [ RunTime:0.001675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57650767 LIMIT 5 [ RunTime:0.017253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650767 ORDER BY `minOrder` ASC [ RunTime:0.028230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57650767 ORDER BY `unit` DESC [ RunTime:0.009372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57650767 LIMIT 2 [ RunTime:0.034103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650767 ORDER BY `minOrder` ASC [ RunTime:0.034789s ]
select * from pdf where partno='1219062' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.020292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1219062' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.006840s ]
SELECT `id` FROM `stock` WHERE `id` <> 57650767 AND `partno` = '1219062' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.020757s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005470s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030066s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011329s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030366s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021763s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034672s ]
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 '121906%' OR `brand` LIKE '121906%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022358s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '121906%' OR `brand` LIKE '121906%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.021308s ]