SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002126s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040685s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.020081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515898 LIMIT 5 [ RunTime:0.025516s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.022356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515898 ORDER BY `minOrder` ASC [ RunTime:0.030831s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.017138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515898 ORDER BY `unit` DESC [ RunTime:0.041515s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.044775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515898 LIMIT 2 [ RunTime:0.068009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515898 ORDER BY `minOrder` ASC [ RunTime:0.030436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18649804 LIMIT 5 [ RunTime:0.090822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18649804 ORDER BY `minOrder` ASC [ RunTime:0.035001s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18649804 ORDER BY `unit` DESC [ RunTime:0.078764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18649804 LIMIT 2 [ RunTime:0.031740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18649804 ORDER BY `minOrder` ASC [ RunTime:0.033537s ]
select * from pdf where partno='323005B00000G' and brandshort='Boyd Laconia, LLC' limit 1 [ RunTime:0.011319s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040816s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53823151 LIMIT 5 [ RunTime:0.090662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53823151 ORDER BY `minOrder` ASC [ RunTime:0.051688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53823151 ORDER BY `unit` DESC [ RunTime:0.036611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53823151 LIMIT 2 [ RunTime:0.044626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53823151 ORDER BY `minOrder` ASC [ RunTime:0.007516s ]
select * from pdf where partno='323008' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.043393s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '323008' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.025482s ]
SELECT `id` FROM `stock` WHERE `id` <> 53823151 AND `partno` = '323008' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.006626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515898 [ RunTime:0.000658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43884286 LIMIT 5 [ RunTime:0.013633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43884286 ORDER BY `minOrder` ASC [ RunTime:0.016447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43884286 ORDER BY `unit` DESC [ RunTime:0.015618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43884286 LIMIT 2 [ RunTime:0.017997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43884286 ORDER BY `minOrder` ASC [ RunTime:0.047055s ]
select * from pdf where partno='323005B00000G' and brandshort='Boyd Laconia, LLC' limit 1 [ RunTime:0.004915s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '323005B00000G' OR `brand` LIKE 'Boyd Laconia, LLC%' ) ) LIMIT 1 [ RunTime:0.018377s ]
SELECT `id` FROM `stock` WHERE `id` <> 43884286 AND `partno` = '323005B00000G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%boyd laconia, llc%' ) [ RunTime:0.052462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18649804 [ RunTime:0.026356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58563643 LIMIT 5 [ RunTime:0.024356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58563643 ORDER BY `minOrder` ASC [ RunTime:0.028191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58563643 ORDER BY `unit` DESC [ RunTime:0.009089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58563643 LIMIT 2 [ RunTime:0.011656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58563643 ORDER BY `minOrder` ASC [ RunTime:0.004456s ]
select * from pdf where partno='32300' and brandshort='Wiha' limit 1 [ RunTime:0.000665s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '32300' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.003227s ]
SELECT `id` FROM `stock` WHERE `id` <> 58563643 AND `partno` = '32300' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.041893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52564532 LIMIT 5 [ RunTime:0.013147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52564532 ORDER BY `minOrder` ASC [ RunTime:0.026665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52564532 ORDER BY `unit` DESC [ RunTime:0.008768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52564532 LIMIT 2 [ RunTime:0.011131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52564532 ORDER BY `minOrder` ASC [ RunTime:0.030405s ]
select * from pdf where partno='323001-000' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.013037s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '323001-000' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.008352s ]
SELECT `id` FROM `stock` WHERE `id` <> 52564532 AND `partno` = '323001-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.006434s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026868s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038468s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030678s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014380s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015886s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011313s ]
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 '32300%' OR `brand` LIKE '32300%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005869s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '32300%' OR `brand` LIKE '32300%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015361s ]