SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001855s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002637s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11911779 LIMIT 5 [ RunTime:0.000912s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11911779 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001181s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11911779 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11911779 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11911779 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11911740 LIMIT 5 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11911740 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11911740 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11911740 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11911740 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000914s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68929246 LIMIT 5 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68929246 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68929246 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68929246 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68929246 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='3342-2 (BULK)' and brandshort='3M' limit 1 [ RunTime:0.002399s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3342-2 (BULK)' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001855s ]
SELECT `id` FROM `stock` WHERE `id` <> 68929246 AND `partno` = '3342-2 (BULK)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11911779 [ RunTime:0.000544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68929171 LIMIT 5 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68929171 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68929171 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68929171 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68929171 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
select * from pdf where partno='3342-20' and brandshort='3M' limit 1 [ RunTime:0.000741s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3342-20' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.002036s ]
SELECT `id` FROM `stock` WHERE `id` <> 68929171 AND `partno` = '3342-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11911740 [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68928750 LIMIT 5 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68928750 ORDER BY `minOrder` ASC [ RunTime:0.000866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68928750 ORDER BY `unit` DESC [ RunTime:0.000465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68928750 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68928750 ORDER BY `minOrder` ASC [ RunTime:0.000545s ]
select * from pdf where partno='3342-2' and brandshort='3M' limit 1 [ RunTime:0.000778s ]
select foldpath,foldpath2,filename from pdf_file where id=1378761 limit 1 [ RunTime:0.000487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3342-2' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001734s ]
SELECT `id` FROM `stock` WHERE `id` <> 68928750 AND `partno` = '3342-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63372456 LIMIT 5 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63372456 ORDER BY `minOrder` ASC [ RunTime:0.001757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63372456 ORDER BY `unit` DESC [ RunTime:0.000491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63372456 LIMIT 2 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63372456 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
select * from pdf where partno='3342-25-FBA' and brandshort='80/20, LLC' limit 1 [ RunTime:0.000684s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3342-25-FBA' OR `brand` LIKE '80/20, LLC%' ) ) LIMIT 1 [ RunTime:0.000548s ]
SELECT `id` FROM `stock` WHERE `id` <> 63372456 AND `partno` = '3342-25-FBA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%80/20, llc%' ) [ RunTime:0.000601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56561145 LIMIT 5 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56561145 ORDER BY `minOrder` ASC [ RunTime:0.000861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56561145 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56561145 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56561145 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
select * from pdf where partno='3342-25-AMZ' and brandshort='80/20, LLC' limit 1 [ RunTime:0.000592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3342-25-AMZ' OR `brand` LIKE '80/20, LLC%' ) ) LIMIT 1 [ RunTime:0.000568s ]
SELECT `id` FROM `stock` WHERE `id` <> 56561145 AND `partno` = '3342-25-AMZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%80/20, llc%' ) [ RunTime:0.000590s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000880s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000817s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000874s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000776s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000814s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000863s ]
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 '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000869s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3342-2%' OR `brand` LIKE '3342-2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000733s ]