SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001386s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027513s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433431 LIMIT 5 [ RunTime:0.024671s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433431 ORDER BY `minOrder` ASC [ RunTime:0.013361s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16433431 ORDER BY `unit` DESC [ RunTime:0.011556s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16433431 LIMIT 2 [ RunTime:0.018875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433431 ORDER BY `minOrder` ASC [ RunTime:0.007179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12042763 LIMIT 5 [ RunTime:0.019157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12042763 ORDER BY `minOrder` ASC [ RunTime:0.000919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12042763 ORDER BY `unit` DESC [ RunTime:0.006447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12042763 LIMIT 2 [ RunTime:0.005991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12042763 ORDER BY `minOrder` ASC [ RunTime:0.011559s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012372s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49580147 LIMIT 5 [ RunTime:0.003741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49580147 ORDER BY `minOrder` ASC [ RunTime:0.017785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49580147 ORDER BY `unit` DESC [ RunTime:0.006797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49580147 LIMIT 2 [ RunTime:0.009141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49580147 ORDER BY `minOrder` ASC [ RunTime:0.001840s ]
select * from pdf where partno='25528' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.001148s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25528' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.005637s ]
SELECT `id` FROM `stock` WHERE `id` <> 49580147 AND `partno` = '25528' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.012419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12042763 [ RunTime:0.001926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49254857 LIMIT 5 [ RunTime:0.010369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49254857 ORDER BY `minOrder` ASC [ RunTime:0.009739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49254857 ORDER BY `unit` DESC [ RunTime:0.001162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49254857 LIMIT 2 [ RunTime:0.009077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49254857 ORDER BY `minOrder` ASC [ RunTime:0.005695s ]
select * from pdf where partno='25528.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.004258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25528.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.004729s ]
SELECT `id` FROM `stock` WHERE `id` <> 49254857 AND `partno` = '25528.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.000736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433431 [ RunTime:0.000518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36773782 LIMIT 5 [ RunTime:0.003240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36773782 ORDER BY `minOrder` ASC [ RunTime:0.020232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36773782 ORDER BY `unit` DESC [ RunTime:0.013055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36773782 LIMIT 2 [ RunTime:0.003148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36773782 ORDER BY `minOrder` ASC [ RunTime:0.012539s ]
select * from pdf where partno='25528' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.003259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25528' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT `id` FROM `stock` WHERE `id` <> 36773782 AND `partno` = '25528' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.000886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12042763 [ RunTime:0.000265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36458413 LIMIT 5 [ RunTime:0.008829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36458413 ORDER BY `minOrder` ASC [ RunTime:0.001041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36458413 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36458413 LIMIT 2 [ RunTime:0.011080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36458413 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
select * from pdf where partno='25528.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25528.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.002840s ]
SELECT `id` FROM `stock` WHERE `id` <> 36458413 AND `partno` = '25528.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.004302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433431 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32584427 LIMIT 5 [ RunTime:0.000636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32584427 ORDER BY `minOrder` ASC [ RunTime:0.004347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32584427 ORDER BY `unit` DESC [ RunTime:0.000728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32584427 LIMIT 2 [ RunTime:0.007723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32584427 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='25528001' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.005687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25528001' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.001154s ]
SELECT `id` FROM `stock` WHERE `id` <> 32584427 AND `partno` = '25528001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.005199s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003895s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006378s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002755s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011910s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000802s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009026s ]
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 '25528%' OR `brand` LIKE '25528%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004200s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '25528%' OR `brand` LIKE '25528%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000623s ]