SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001368s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036478s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18835542 LIMIT 5 [ RunTime:0.036203s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.022286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18835542 ORDER BY `minOrder` ASC [ RunTime:0.016870s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.023870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18835542 ORDER BY `unit` DESC [ RunTime:0.085714s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.017225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18835542 LIMIT 2 [ RunTime:0.035789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18835542 ORDER BY `minOrder` ASC [ RunTime:0.021493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525543 LIMIT 5 [ RunTime:0.049871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525543 ORDER BY `minOrder` ASC [ RunTime:0.079593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14525543 ORDER BY `unit` DESC [ RunTime:0.082193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14525543 LIMIT 2 [ RunTime:0.067036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525543 ORDER BY `minOrder` ASC [ RunTime:0.049973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512173 LIMIT 5 [ RunTime:0.087979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512173 ORDER BY `minOrder` ASC [ RunTime:0.066792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12512173 ORDER BY `unit` DESC [ RunTime:0.069604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12512173 LIMIT 2 [ RunTime:0.048551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512173 ORDER BY `minOrder` ASC [ RunTime:0.040026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11414111 LIMIT 5 [ RunTime:0.124679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11414111 ORDER BY `minOrder` ASC [ RunTime:0.044431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11414111 ORDER BY `unit` DESC [ RunTime:0.150356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11414111 LIMIT 2 [ RunTime:0.090928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11414111 ORDER BY `minOrder` ASC [ RunTime:0.057767s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056531s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64518507 LIMIT 5 [ RunTime:0.080367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518507 ORDER BY `minOrder` ASC [ RunTime:0.062672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64518507 ORDER BY `unit` DESC [ RunTime:0.022761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64518507 LIMIT 2 [ RunTime:0.060629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518507 ORDER BY `minOrder` ASC [ RunTime:0.075558s ]
select * from pdf where partno='121745' and brandshort='Brady Corporation' limit 1 [ RunTime:0.045268s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002038s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '121745' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.060832s ]
SELECT `id` FROM `stock` WHERE `id` <> 64518507 AND `partno` = '121745' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.071929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525543 [ RunTime:0.054331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64455359 LIMIT 5 [ RunTime:0.040639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64455359 ORDER BY `minOrder` ASC [ RunTime:0.069569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64455359 ORDER BY `unit` DESC [ RunTime:0.100736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64455359 LIMIT 2 [ RunTime:0.129517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64455359 ORDER BY `minOrder` ASC [ RunTime:0.018112s ]
select * from pdf where partno='1217451' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.042541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217451' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.026162s ]
SELECT `id` FROM `stock` WHERE `id` <> 64455359 AND `partno` = '1217451' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.091024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18835542 [ RunTime:0.051369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60376059 LIMIT 5 [ RunTime:0.045930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60376059 ORDER BY `minOrder` ASC [ RunTime:0.034528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60376059 ORDER BY `unit` DESC [ RunTime:0.071168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60376059 LIMIT 2 [ RunTime:0.064296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60376059 ORDER BY `minOrder` ASC [ RunTime:0.031308s ]
select * from pdf where partno='1217459-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.015041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217459-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.022263s ]
SELECT `id` FROM `stock` WHERE `id` <> 60376059 AND `partno` = '1217459-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.055451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512173 [ RunTime:0.126004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60375993 LIMIT 5 [ RunTime:0.059589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60375993 ORDER BY `minOrder` ASC [ RunTime:0.059090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60375993 ORDER BY `unit` DESC [ RunTime:0.077011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60375993 LIMIT 2 [ RunTime:0.004208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60375993 ORDER BY `minOrder` ASC [ RunTime:0.010862s ]
select * from pdf where partno='1217458-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.071405s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217458-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.029031s ]
SELECT `id` FROM `stock` WHERE `id` <> 60375993 AND `partno` = '1217458-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.011846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11414111 [ RunTime:0.044585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59349381 LIMIT 5 [ RunTime:0.054693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59349381 ORDER BY `minOrder` ASC [ RunTime:0.045876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59349381 ORDER BY `unit` DESC [ RunTime:0.104030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59349381 LIMIT 2 [ RunTime:0.010853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59349381 ORDER BY `minOrder` ASC [ RunTime:0.016605s ]
select * from pdf where partno='1217457-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.023854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217457-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.034174s ]
SELECT `id` FROM `stock` WHERE `id` <> 59349381 AND `partno` = '1217457-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.036823s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039746s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050567s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054842s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059896s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078846s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.075509s ]
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 '121745%' OR `brand` LIKE '121745%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050917s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '121745%' OR `brand` LIKE '121745%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.044244s ]