SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002135s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003542s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13494555 LIMIT 5 [ RunTime:0.000698s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13494555 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13494555 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13494555 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13494555 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11184180 LIMIT 5 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11184180 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11184180 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11184180 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11184180 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14387953 LIMIT 5 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14387953 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14387953 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14387953 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14387953 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12261836 LIMIT 5 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12261836 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12261836 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12261836 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12261836 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000715s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65375844 LIMIT 5 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65375844 ORDER BY `minOrder` ASC [ RunTime:0.000952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65375844 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65375844 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65375844 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='75030' and brandshort='Wiha' limit 1 [ RunTime:0.001191s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75030' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.000784s ]
SELECT `id` FROM `stock` WHERE `id` <> 65375844 AND `partno` = '75030' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.000690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11184180 [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64468078 LIMIT 5 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64468078 ORDER BY `minOrder` ASC [ RunTime:0.000722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64468078 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64468078 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64468078 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='7503010698' and brandshort='3M' limit 1 [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7503010698' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001665s ]
SELECT `id` FROM `stock` WHERE `id` <> 64468078 AND `partno` = '7503010698' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12261836 [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63009636 LIMIT 5 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63009636 ORDER BY `minOrder` ASC [ RunTime:0.000930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63009636 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63009636 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63009636 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='75030 TL005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75030 TL005' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000457s ]
SELECT `id` FROM `stock` WHERE `id` <> 63009636 AND `partno` = '75030 TL005' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000538s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14387953 [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63009349 LIMIT 5 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63009349 ORDER BY `minOrder` ASC [ RunTime:0.001951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63009349 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63009349 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63009349 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
select * from pdf where partno='75030 TL001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75030 TL001' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000464s ]
SELECT `id` FROM `stock` WHERE `id` <> 63009349 AND `partno` = '75030 TL001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13494555 [ RunTime:0.000527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32587463 LIMIT 5 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32587463 ORDER BY `minOrder` ASC [ RunTime:0.000737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32587463 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32587463 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32587463 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='7503001' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7503001' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT `id` FROM `stock` WHERE `id` <> 32587463 AND `partno` = '7503001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000477s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000841s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000743s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000784s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000624s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000673s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000683s ]
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 '75030%' OR `brand` LIKE '75030%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000906s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '75030%' OR `brand` LIKE '75030%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000862s ]