SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002712s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009083s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11333366 LIMIT 5 [ RunTime:0.019895s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.023179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11333366 ORDER BY `minOrder` ASC [ RunTime:0.002454s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11333366 ORDER BY `unit` DESC [ RunTime:0.019806s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11333366 LIMIT 2 [ RunTime:0.081036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11333366 ORDER BY `minOrder` ASC [ RunTime:0.021862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19641063 LIMIT 5 [ RunTime:0.014114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19641063 ORDER BY `minOrder` ASC [ RunTime:0.007873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19641063 ORDER BY `unit` DESC [ RunTime:0.032595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19641063 LIMIT 2 [ RunTime:0.021049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19641063 ORDER BY `minOrder` ASC [ RunTime:0.020678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19641062 LIMIT 5 [ RunTime:0.038794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19641062 ORDER BY `minOrder` ASC [ RunTime:0.042719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19641062 ORDER BY `unit` DESC [ RunTime:0.037088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19641062 LIMIT 2 [ RunTime:0.065309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19641062 ORDER BY `minOrder` ASC [ RunTime:0.028001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17307517 LIMIT 5 [ RunTime:0.035699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17307517 ORDER BY `minOrder` ASC [ RunTime:0.043842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17307517 ORDER BY `unit` DESC [ RunTime:0.024555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17307517 LIMIT 2 [ RunTime:0.033216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17307517 ORDER BY `minOrder` ASC [ RunTime:0.007527s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023937s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36869857 LIMIT 5 [ RunTime:0.008128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36869857 ORDER BY `minOrder` ASC [ RunTime:0.050191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36869857 ORDER BY `unit` DESC [ RunTime:0.027446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36869857 LIMIT 2 [ RunTime:0.029102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36869857 ORDER BY `minOrder` ASC [ RunTime:0.036179s ]
select * from pdf where partno='13812' and brandshort='Desco' limit 1 [ RunTime:0.032226s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002957s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13812' OR `brand` LIKE 'Desco%' ) ) LIMIT 1 [ RunTime:0.018385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49676572 LIMIT 5 [ RunTime:0.028469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49676572 ORDER BY `minOrder` ASC [ RunTime:0.017742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49676572 ORDER BY `unit` DESC [ RunTime:0.011289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49676572 LIMIT 2 [ RunTime:0.024696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49676572 ORDER BY `minOrder` ASC [ RunTime:0.013173s ]
select * from pdf where partno='13812' and brandshort='Desco' limit 1 [ RunTime:0.006390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13812' OR `brand` LIKE 'Desco%' ) ) LIMIT 1 [ RunTime:0.004935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53715183 LIMIT 5 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53715183 ORDER BY `minOrder` ASC [ RunTime:0.005185s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53715183 ORDER BY `unit` DESC [ RunTime:0.003032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53715183 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53715183 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
select * from pdf where partno='1381210000' and brandshort='Weidmüller' limit 1 [ RunTime:0.003241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1381210000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000467s ]
SELECT `id` FROM `stock` WHERE `id` <> 53715183 AND `partno` = '1381210000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.003547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19641063 [ RunTime:0.002320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53715182 LIMIT 5 [ RunTime:0.003899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53715182 ORDER BY `minOrder` ASC [ RunTime:0.009781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53715182 ORDER BY `unit` DESC [ RunTime:0.004042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53715182 LIMIT 2 [ RunTime:0.006752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53715182 ORDER BY `minOrder` ASC [ RunTime:0.003681s ]
select * from pdf where partno='1381230000' and brandshort='Weidmüller' limit 1 [ RunTime:0.004722s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1381230000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.007433s ]
SELECT `id` FROM `stock` WHERE `id` <> 53715182 AND `partno` = '1381230000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.005594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19641062 [ RunTime:0.010728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53705297 LIMIT 5 [ RunTime:0.003335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53705297 ORDER BY `minOrder` ASC [ RunTime:0.003825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53705297 ORDER BY `unit` DESC [ RunTime:0.012370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53705297 LIMIT 2 [ RunTime:0.009465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53705297 ORDER BY `minOrder` ASC [ RunTime:0.003873s ]
select * from pdf where partno='13812.1' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.003419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13812.1' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.010768s ]
SELECT `id` FROM `stock` WHERE `id` <> 53705297 AND `partno` = '13812.1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.006241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17307517 [ RunTime:0.004073s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002361s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008190s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004576s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007549s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002161s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003785s ]
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 '13812%' OR `brand` LIKE '13812%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002205s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13812%' OR `brand` LIKE '13812%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002635s ]