SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001572s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002011s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002770s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11230510 LIMIT 5 [ RunTime:0.002235s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230510 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11230510 ORDER BY `unit` DESC [ RunTime:0.003582s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000899s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11230510 LIMIT 2 [ RunTime:0.002243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230510 ORDER BY `minOrder` ASC [ RunTime:0.003960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17130828 LIMIT 5 [ RunTime:0.000871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17130828 ORDER BY `minOrder` ASC [ RunTime:0.004407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17130828 ORDER BY `unit` DESC [ RunTime:0.002043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17130828 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17130828 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14421376 LIMIT 5 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14421376 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14421376 ORDER BY `unit` DESC [ RunTime:0.000163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14421376 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14421376 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003001s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41343124 LIMIT 5 [ RunTime:0.003454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41343124 ORDER BY `minOrder` ASC [ RunTime:0.017170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41343124 ORDER BY `unit` DESC [ RunTime:0.001392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41343124 LIMIT 2 [ RunTime:0.011390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41343124 ORDER BY `minOrder` ASC [ RunTime:0.016723s ]
select * from pdf where partno='5992000137F' and brandshort='Dialight' limit 1 [ RunTime:0.001215s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002953s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5992000137F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.007394s ]
SELECT `id` FROM `stock` WHERE `id` <> 41343124 AND `partno` = '5992000137F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.028145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11230510 [ RunTime:0.011252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41343001 LIMIT 5 [ RunTime:0.014353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41343001 ORDER BY `minOrder` ASC [ RunTime:0.002100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41343001 ORDER BY `unit` DESC [ RunTime:0.002578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41343001 LIMIT 2 [ RunTime:0.011537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41343001 ORDER BY `minOrder` ASC [ RunTime:0.004787s ]
select * from pdf where partno='5992000147F' and brandshort='Dialight' limit 1 [ RunTime:0.008106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5992000147F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.010877s ]
SELECT `id` FROM `stock` WHERE `id` <> 41343001 AND `partno` = '5992000147F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.012918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63956092 LIMIT 5 [ RunTime:0.012043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63956092 ORDER BY `minOrder` ASC [ RunTime:0.003743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63956092 ORDER BY `unit` DESC [ RunTime:0.002544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63956092 LIMIT 2 [ RunTime:0.001068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63956092 ORDER BY `minOrder` ASC [ RunTime:0.008116s ]
select * from pdf where partno='59920ZQ-QS59920-2SOC' and brandshort='Quality Semiconductor' limit 1 [ RunTime:0.004940s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '59920ZQ-QS59920-2SOC' OR `brand` LIKE 'Quality Semiconductor%' ) ) LIMIT 1 [ RunTime:0.008314s ]
SELECT `id` FROM `stock` WHERE `id` <> 63956092 AND `partno` = '59920ZQ-QS59920-2SOC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%quality semiconductor%' ) [ RunTime:0.017646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17130828 [ RunTime:0.008929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64536896 LIMIT 5 [ RunTime:0.003802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64536896 ORDER BY `minOrder` ASC [ RunTime:0.014230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64536896 ORDER BY `unit` DESC [ RunTime:0.003196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64536896 LIMIT 2 [ RunTime:0.003895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64536896 ORDER BY `minOrder` ASC [ RunTime:0.000951s ]
select * from pdf where partno='59920' and brandshort='Brady Corporation' limit 1 [ RunTime:0.008042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '59920' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002132s ]
SELECT `id` FROM `stock` WHERE `id` <> 64536896 AND `partno` = '59920' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14421376 [ RunTime:0.000435s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007435s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007149s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003397s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022898s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003776s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004275s ]
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 '59920%' OR `brand` LIKE '59920%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009010s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '59920%' OR `brand` LIKE '59920%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006520s ]