SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002941s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016448s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14741915 LIMIT 5 [ RunTime:0.014043s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14741915 ORDER BY `minOrder` ASC [ RunTime:0.008247s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14741915 ORDER BY `unit` DESC [ RunTime:0.007294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14741915 LIMIT 2 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14741915 ORDER BY `minOrder` ASC [ RunTime:0.001937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12549268 LIMIT 5 [ RunTime:0.010095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12549268 ORDER BY `minOrder` ASC [ RunTime:0.014437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12549268 ORDER BY `unit` DESC [ RunTime:0.005768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12549268 LIMIT 2 [ RunTime:0.012239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12549268 ORDER BY `minOrder` ASC [ RunTime:0.001053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438304 LIMIT 5 [ RunTime:0.022229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438304 ORDER BY `minOrder` ASC [ RunTime:0.033062s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11438304 ORDER BY `unit` DESC [ RunTime:0.026198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11438304 LIMIT 2 [ RunTime:0.040267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438304 ORDER BY `minOrder` ASC [ RunTime:0.010013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438302 LIMIT 5 [ RunTime:0.004414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438302 ORDER BY `minOrder` ASC [ RunTime:0.012688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11438302 ORDER BY `unit` DESC [ RunTime:0.023551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11438302 LIMIT 2 [ RunTime:0.028535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438302 ORDER BY `minOrder` ASC [ RunTime:0.019268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438301 LIMIT 5 [ RunTime:0.010551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438301 ORDER BY `minOrder` ASC [ RunTime:0.043634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11438301 ORDER BY `unit` DESC [ RunTime:0.026052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11438301 LIMIT 2 [ RunTime:0.014122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11438301 ORDER BY `minOrder` ASC [ RunTime:0.004920s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017135s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60596056 LIMIT 5 [ RunTime:0.004177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60596056 ORDER BY `minOrder` ASC [ RunTime:0.030104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60596056 ORDER BY `unit` DESC [ RunTime:0.036672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60596056 LIMIT 2 [ RunTime:0.016805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60596056 ORDER BY `minOrder` ASC [ RunTime:0.021373s ]
select * from pdf where partno='2890240000' and brandshort='Weidmüller' limit 1 [ RunTime:0.029283s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890240000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.017819s ]
SELECT `id` FROM `stock` WHERE `id` <> 60596056 AND `partno` = '2890240000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.011762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60595495 LIMIT 5 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60595495 ORDER BY `minOrder` ASC [ RunTime:0.013510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60595495 ORDER BY `unit` DESC [ RunTime:0.013120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60595495 LIMIT 2 [ RunTime:0.006516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60595495 ORDER BY `minOrder` ASC [ RunTime:0.012176s ]
select * from pdf where partno='2890260000' and brandshort='Weidmüller' limit 1 [ RunTime:0.006372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890260000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.008562s ]
SELECT `id` FROM `stock` WHERE `id` <> 60595495 AND `partno` = '2890260000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.023518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60595494 LIMIT 5 [ RunTime:0.006679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60595494 ORDER BY `minOrder` ASC [ RunTime:0.014738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60595494 ORDER BY `unit` DESC [ RunTime:0.013344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60595494 LIMIT 2 [ RunTime:0.008027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60595494 ORDER BY `minOrder` ASC [ RunTime:0.008512s ]
select * from pdf where partno='2890270000' and brandshort='Weidmüller' limit 1 [ RunTime:0.002099s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890270000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.016305s ]
SELECT `id` FROM `stock` WHERE `id` <> 60595494 AND `partno` = '2890270000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.013321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60583850 LIMIT 5 [ RunTime:0.007235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583850 ORDER BY `minOrder` ASC [ RunTime:0.016965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60583850 ORDER BY `unit` DESC [ RunTime:0.014569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60583850 LIMIT 2 [ RunTime:0.022834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583850 ORDER BY `minOrder` ASC [ RunTime:0.012473s ]
select * from pdf where partno='2890220000' and brandshort='Weidmüller' limit 1 [ RunTime:0.002494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890220000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.003591s ]
SELECT `id` FROM `stock` WHERE `id` <> 60583850 AND `partno` = '2890220000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.018238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12549268 [ RunTime:0.017503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60583845 LIMIT 5 [ RunTime:0.007031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583845 ORDER BY `minOrder` ASC [ RunTime:0.009553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60583845 ORDER BY `unit` DESC [ RunTime:0.006485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60583845 LIMIT 2 [ RunTime:0.014885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583845 ORDER BY `minOrder` ASC [ RunTime:0.012806s ]
select * from pdf where partno='2890230000' and brandshort='Weidmüller' limit 1 [ RunTime:0.019593s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890230000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.007476s ]
SELECT `id` FROM `stock` WHERE `id` <> 60583845 AND `partno` = '2890230000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.005537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438304 [ RunTime:0.007739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60583843 LIMIT 5 [ RunTime:0.006050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583843 ORDER BY `minOrder` ASC [ RunTime:0.001395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60583843 ORDER BY `unit` DESC [ RunTime:0.022683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60583843 LIMIT 2 [ RunTime:0.014985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583843 ORDER BY `minOrder` ASC [ RunTime:0.006489s ]
select * from pdf where partno='2890210000' and brandshort='Weidmüller' limit 1 [ RunTime:0.010451s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890210000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.009483s ]
SELECT `id` FROM `stock` WHERE `id` <> 60583843 AND `partno` = '2890210000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.012029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438302 [ RunTime:0.000794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60583841 LIMIT 5 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583841 ORDER BY `minOrder` ASC [ RunTime:0.013859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60583841 ORDER BY `unit` DESC [ RunTime:0.001550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60583841 LIMIT 2 [ RunTime:0.004577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60583841 ORDER BY `minOrder` ASC [ RunTime:0.005042s ]
select * from pdf where partno='2890200000' and brandshort='Weidmüller' limit 1 [ RunTime:0.008323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2890200000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.021716s ]
SELECT `id` FROM `stock` WHERE `id` <> 60583841 AND `partno` = '2890200000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.013737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11438301 [ RunTime:0.022677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42037545 LIMIT 5 [ RunTime:0.008496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42037545 ORDER BY `minOrder` ASC [ RunTime:0.014508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42037545 ORDER BY `unit` DESC [ RunTime:0.010422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42037545 LIMIT 2 [ RunTime:0.026819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42037545 ORDER BY `minOrder` ASC [ RunTime:0.001845s ]
select * from pdf where partno='28902' and brandshort='Schneider Electric' limit 1 [ RunTime:0.007188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28902' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.024575s ]
SELECT `id` FROM `stock` WHERE `id` <> 42037545 AND `partno` = '28902' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.005390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14741915 [ RunTime:0.014302s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026708s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011517s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002612s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003841s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001417s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010761s ]
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 '28902%' OR `brand` LIKE '28902%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026028s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '28902%' OR `brand` LIKE '28902%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005971s ]