SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001344s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014815s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19844315 LIMIT 5 [ RunTime:0.014602s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19844315 ORDER BY `minOrder` ASC [ RunTime:0.021415s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19844315 ORDER BY `unit` DESC [ RunTime:0.005527s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19844315 LIMIT 2 [ RunTime:0.038779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19844315 ORDER BY `minOrder` ASC [ RunTime:0.005837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15477868 LIMIT 5 [ RunTime:0.015947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15477868 ORDER BY `minOrder` ASC [ RunTime:0.025658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15477868 ORDER BY `unit` DESC [ RunTime:0.027557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15477868 LIMIT 2 [ RunTime:0.034437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15477868 ORDER BY `minOrder` ASC [ RunTime:0.004388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12560743 LIMIT 5 [ RunTime:0.030870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12560743 ORDER BY `minOrder` ASC [ RunTime:0.019723s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12560743 ORDER BY `unit` DESC [ RunTime:0.040499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12560743 LIMIT 2 [ RunTime:0.071780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12560743 ORDER BY `minOrder` ASC [ RunTime:0.022161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16505441 LIMIT 5 [ RunTime:0.039092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16505441 ORDER BY `minOrder` ASC [ RunTime:0.036234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16505441 ORDER BY `unit` DESC [ RunTime:0.028188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16505441 LIMIT 2 [ RunTime:0.033663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16505441 ORDER BY `minOrder` ASC [ RunTime:0.008451s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32269414 LIMIT 5 [ RunTime:0.030669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32269414 ORDER BY `minOrder` ASC [ RunTime:0.018144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32269414 ORDER BY `unit` DESC [ RunTime:0.012520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32269414 LIMIT 2 [ RunTime:0.017790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32269414 ORDER BY `minOrder` ASC [ RunTime:0.002391s ]
select * from pdf where partno='1043756' and brandshort='phoenix contact' limit 1 [ RunTime:0.017469s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1043756' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.026054s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52580295 LIMIT 5 [ RunTime:0.016142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52580295 ORDER BY `minOrder` ASC [ RunTime:0.020352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52580295 ORDER BY `unit` DESC [ RunTime:0.007068s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52580295 LIMIT 2 [ RunTime:0.016257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52580295 ORDER BY `minOrder` ASC [ RunTime:0.004802s ]
select * from pdf where partno='1043756' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.006784s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1043756' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.020473s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52590153 LIMIT 5 [ RunTime:0.019984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52590153 ORDER BY `minOrder` ASC [ RunTime:0.028821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52590153 ORDER BY `unit` DESC [ RunTime:0.019528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52590153 LIMIT 2 [ RunTime:0.015506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52590153 ORDER BY `minOrder` ASC [ RunTime:0.008682s ]
select * from pdf where partno='1043757' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.011187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1043757' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.017659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53667742 LIMIT 5 [ RunTime:0.022539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53667742 ORDER BY `minOrder` ASC [ RunTime:0.020774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53667742 ORDER BY `unit` DESC [ RunTime:0.024771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53667742 LIMIT 2 [ RunTime:0.003760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53667742 ORDER BY `minOrder` ASC [ RunTime:0.009937s ]
select * from pdf where partno='1043750000' and brandshort='Weidmüller' limit 1 [ RunTime:0.003927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1043750000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.031494s ]
SELECT `id` FROM `stock` WHERE `id` <> 53667742 AND `partno` = '1043750000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.006346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12560743 [ RunTime:0.013435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57702168 LIMIT 5 [ RunTime:0.008655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57702168 ORDER BY `minOrder` ASC [ RunTime:0.014763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57702168 ORDER BY `unit` DESC [ RunTime:0.013283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57702168 LIMIT 2 [ RunTime:0.010024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57702168 ORDER BY `minOrder` ASC [ RunTime:0.006298s ]
select * from pdf where partno='104375' and brandshort='Brady Corporation' limit 1 [ RunTime:0.003979s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '104375' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.008461s ]
SELECT `id` FROM `stock` WHERE `id` <> 57702168 AND `partno` = '104375' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.014361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16505441 [ RunTime:0.012295s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006564s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011298s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007627s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005183s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002303s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007316s ]
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 '104375%' OR `brand` LIKE '104375%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013412s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '104375%' OR `brand` LIKE '104375%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001220s ]