SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001396s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002937s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14396311 LIMIT 5 [ RunTime:0.000788s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14396311 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14396311 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14396311 LIMIT 2 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14396311 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14385949 LIMIT 5 [ RunTime:0.000976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14385949 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14385949 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14385949 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14385949 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='45194 BK001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13512740 LIMIT 5 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512740 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13512740 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13512740 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512740 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='45194 BK005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502716 LIMIT 5 [ RunTime:0.001238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502716 ORDER BY `minOrder` ASC [ RunTime:0.001009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502716 ORDER BY `unit` DESC [ RunTime:0.000644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502716 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502716 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
select * from pdf where partno='45194 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502715 LIMIT 5 [ RunTime:0.000666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502715 ORDER BY `minOrder` ASC [ RunTime:0.000609s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502715 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502715 LIMIT 2 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502715 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
select * from pdf where partno='45194 OR199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502714 LIMIT 5 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502714 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13502714 ORDER BY `unit` DESC [ RunTime:0.000926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13502714 LIMIT 2 [ RunTime:0.000869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13502714 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
select * from pdf where partno='45194 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12174436 LIMIT 5 [ RunTime:0.001504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12174436 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12174436 ORDER BY `unit` DESC [ RunTime:0.000757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12174436 LIMIT 2 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12174436 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001976s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65335201 LIMIT 5 [ RunTime:0.000710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65335201 ORDER BY `minOrder` ASC [ RunTime:0.001421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65335201 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65335201 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65335201 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
select * from pdf where partno='45194' and brandshort='3M' limit 1 [ RunTime:0.001949s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45194' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001670s ]
SELECT `id` FROM `stock` WHERE `id` <> 65335201 AND `partno` = '45194' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12174436 [ RunTime:0.000458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64507991 LIMIT 5 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64507991 ORDER BY `minOrder` ASC [ RunTime:0.000858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64507991 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64507991 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64507991 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
select * from pdf where partno='45194' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000741s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45194' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000580s ]
SELECT `id` FROM `stock` WHERE `id` <> 64507991 AND `partno` = '45194' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14396311 [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63019894 LIMIT 5 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019894 ORDER BY `minOrder` ASC [ RunTime:0.000938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63019894 ORDER BY `unit` DESC [ RunTime:0.000438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63019894 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019894 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
select * from pdf where partno='45194 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000694s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45194 BK199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000684s ]
SELECT `id` FROM `stock` WHERE `id` <> 63019894 AND `partno` = '45194 BK199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502714 [ RunTime:0.000536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63019893 LIMIT 5 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019893 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63019893 ORDER BY `unit` DESC [ RunTime:0.000506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63019893 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019893 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
select * from pdf where partno='45194 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45194 SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000648s ]
SELECT `id` FROM `stock` WHERE `id` <> 63019893 AND `partno` = '45194 SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502716 [ RunTime:0.000477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63019759 LIMIT 5 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019759 ORDER BY `minOrder` ASC [ RunTime:0.000656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63019759 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63019759 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63019759 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
select * from pdf where partno='45194 OR199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000715s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45194 OR199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000583s ]
SELECT `id` FROM `stock` WHERE `id` <> 63019759 AND `partno` = '45194 OR199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13502715 [ RunTime:0.000482s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001006s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000886s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '6' 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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000939s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000800s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000579s ]
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 '45194%' OR `brand` LIKE '45194%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000646s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '45194%' OR `brand` LIKE '45194%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000626s ]