SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002525s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116684s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18999547 LIMIT 5 [ RunTime:0.049722s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.046185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18999547 ORDER BY `minOrder` ASC [ RunTime:0.131121s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18999547 ORDER BY `unit` DESC [ RunTime:0.109887s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.053590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18999547 LIMIT 2 [ RunTime:0.025230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18999547 ORDER BY `minOrder` ASC [ RunTime:0.045894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18997031 LIMIT 5 [ RunTime:0.107339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18997031 ORDER BY `minOrder` ASC [ RunTime:0.057459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18997031 ORDER BY `unit` DESC [ RunTime:0.066307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18997031 LIMIT 2 [ RunTime:0.040976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18997031 ORDER BY `minOrder` ASC [ RunTime:0.020772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18800412 LIMIT 5 [ RunTime:0.027839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18800412 ORDER BY `minOrder` ASC [ RunTime:0.044497s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18800412 ORDER BY `unit` DESC [ RunTime:0.084002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18800412 LIMIT 2 [ RunTime:0.097557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18800412 ORDER BY `minOrder` ASC [ RunTime:0.043379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052567 LIMIT 5 [ RunTime:0.043218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052567 ORDER BY `minOrder` ASC [ RunTime:0.053847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17052567 ORDER BY `unit` DESC [ RunTime:0.112053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17052567 LIMIT 2 [ RunTime:0.059014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052567 ORDER BY `minOrder` ASC [ RunTime:0.027909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13298418 LIMIT 5 [ RunTime:0.059768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13298418 ORDER BY `minOrder` ASC [ RunTime:0.017362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13298418 ORDER BY `unit` DESC [ RunTime:0.030073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13298418 LIMIT 2 [ RunTime:0.066300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13298418 ORDER BY `minOrder` ASC [ RunTime:0.024270s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51078187 LIMIT 5 [ RunTime:0.051819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51078187 ORDER BY `minOrder` ASC [ RunTime:0.083359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51078187 ORDER BY `unit` DESC [ RunTime:0.043550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51078187 LIMIT 2 [ RunTime:0.049292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51078187 ORDER BY `minOrder` ASC [ RunTime:0.018024s ]
select * from pdf where partno='2278940' and brandshort='phoenix contact' limit 1 [ RunTime:0.061975s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278940' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.134419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51078188 LIMIT 5 [ RunTime:0.126331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51078188 ORDER BY `minOrder` ASC [ RunTime:0.142655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51078188 ORDER BY `unit` DESC [ RunTime:0.051466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51078188 LIMIT 2 [ RunTime:0.041546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51078188 ORDER BY `minOrder` ASC [ RunTime:0.034030s ]
select * from pdf where partno='2278953' and brandshort='phoenix contact' limit 1 [ RunTime:0.027666s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278953' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.027547s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051994s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63460248 LIMIT 5 [ RunTime:0.035451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63460248 ORDER BY `minOrder` ASC [ RunTime:0.039580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63460248 ORDER BY `unit` DESC [ RunTime:0.028001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63460248 LIMIT 2 [ RunTime:0.033808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63460248 ORDER BY `minOrder` ASC [ RunTime:0.015497s ]
select * from pdf where partno='2278953' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.013938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278953' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.010446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63460881 LIMIT 5 [ RunTime:0.053979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63460881 ORDER BY `minOrder` ASC [ RunTime:0.071322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63460881 ORDER BY `unit` DESC [ RunTime:0.036678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63460881 LIMIT 2 [ RunTime:0.044965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63460881 ORDER BY `minOrder` ASC [ RunTime:0.034300s ]
select * from pdf where partno='2278940' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.019383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278940' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.036569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64647726 LIMIT 5 [ RunTime:0.059069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64647726 ORDER BY `minOrder` ASC [ RunTime:0.032303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64647726 ORDER BY `unit` DESC [ RunTime:0.024991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64647726 LIMIT 2 [ RunTime:0.007313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64647726 ORDER BY `minOrder` ASC [ RunTime:0.012607s ]
select * from pdf where partno='22789' and brandshort='Phoenix America' limit 1 [ RunTime:0.022532s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22789' OR `brand` LIKE 'Phoenix America%' ) ) LIMIT 1 [ RunTime:0.006115s ]
SELECT `id` FROM `stock` WHERE `id` <> 64647726 AND `partno` = '22789' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%phoenix america%' ) [ RunTime:0.024045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63461291 LIMIT 5 [ RunTime:0.020710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63461291 ORDER BY `minOrder` ASC [ RunTime:0.032983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63461291 ORDER BY `unit` DESC [ RunTime:0.039045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63461291 LIMIT 2 [ RunTime:0.040950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63461291 ORDER BY `minOrder` ASC [ RunTime:0.014021s ]
select * from pdf where partno='2278966' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.065132s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278966' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.016844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32323156 LIMIT 5 [ RunTime:0.028461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32323156 ORDER BY `minOrder` ASC [ RunTime:0.049335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32323156 ORDER BY `unit` DESC [ RunTime:0.014782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32323156 LIMIT 2 [ RunTime:0.022749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32323156 ORDER BY `minOrder` ASC [ RunTime:0.046290s ]
select * from pdf where partno='2278923-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.037857s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278923-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.009430s ]
SELECT `id` FROM `stock` WHERE `id` <> 32323156 AND `partno` = '2278923-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.046341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13298418 [ RunTime:0.025732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32317906 LIMIT 5 [ RunTime:0.042009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32317906 ORDER BY `minOrder` ASC [ RunTime:0.015007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32317906 ORDER BY `unit` DESC [ RunTime:0.008382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32317906 LIMIT 2 [ RunTime:0.015911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32317906 ORDER BY `minOrder` ASC [ RunTime:0.004457s ]
select * from pdf where partno='2278922-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.020539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2278922-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.013402s ]
SELECT `id` FROM `stock` WHERE `id` <> 32317906 AND `partno` = '2278922-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.020925s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048973s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049202s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057524s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057632s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072605s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015995s ]
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 '22789%' OR `brand` LIKE '22789%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041427s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '22789%' OR `brand` LIKE '22789%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.033929s ]