SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004369s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027943s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641504 LIMIT 5 [ RunTime:0.034857s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641504 ORDER BY `minOrder` ASC [ RunTime:0.002878s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16641504 ORDER BY `unit` DESC [ RunTime:0.009567s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.027845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16641504 LIMIT 2 [ RunTime:0.021174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641504 ORDER BY `minOrder` ASC [ RunTime:0.004310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641503 LIMIT 5 [ RunTime:0.020182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641503 ORDER BY `minOrder` ASC [ RunTime:0.010981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16641503 ORDER BY `unit` DESC [ RunTime:0.011691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16641503 LIMIT 2 [ RunTime:0.026966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641503 ORDER BY `minOrder` ASC [ RunTime:0.004475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641250 LIMIT 5 [ RunTime:0.008667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641250 ORDER BY `minOrder` ASC [ RunTime:0.048212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16641250 ORDER BY `unit` DESC [ RunTime:0.018626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16641250 LIMIT 2 [ RunTime:0.012409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16641250 ORDER BY `minOrder` ASC [ RunTime:0.013058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13862015 LIMIT 5 [ RunTime:0.019364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13862015 ORDER BY `minOrder` ASC [ RunTime:0.023334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13862015 ORDER BY `unit` DESC [ RunTime:0.037208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13862015 LIMIT 2 [ RunTime:0.025310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13862015 ORDER BY `minOrder` ASC [ RunTime:0.006874s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021715s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64303596 LIMIT 5 [ RunTime:0.024547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64303596 ORDER BY `minOrder` ASC [ RunTime:0.039730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64303596 ORDER BY `unit` DESC [ RunTime:0.043177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64303596 LIMIT 2 [ RunTime:0.011092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64303596 ORDER BY `minOrder` ASC [ RunTime:0.008656s ]
select * from pdf where partno='SUCW62412B' and brandshort='Cosel USA, Inc.' limit 1 [ RunTime:0.012539s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002709s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SUCW62412B' OR `brand` LIKE 'Cosel USA, Inc.%' ) ) LIMIT 1 [ RunTime:0.028668s ]
SELECT `id` FROM `stock` WHERE `id` <> 64303596 AND `partno` = 'SUCW62412B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cosel usa, inc.%' ) [ RunTime:0.017110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13862015 [ RunTime:0.025070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64347888 LIMIT 5 [ RunTime:0.030833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64347888 ORDER BY `minOrder` ASC [ RunTime:0.033172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64347888 ORDER BY `unit` DESC [ RunTime:0.011814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64347888 LIMIT 2 [ RunTime:0.013362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64347888 ORDER BY `minOrder` ASC [ RunTime:0.006636s ]
select * from pdf where partno='SUCW62412B-G' and brandshort='Cosel USA, Inc.' limit 1 [ RunTime:0.026626s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SUCW62412B-G' OR `brand` LIKE 'Cosel USA, Inc.%' ) ) LIMIT 1 [ RunTime:0.029319s ]
SELECT `id` FROM `stock` WHERE `id` <> 64347888 AND `partno` = 'SUCW62412B-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cosel usa, inc.%' ) [ RunTime:0.006831s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641503 [ RunTime:0.011206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57541448 LIMIT 5 [ RunTime:0.043065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57541448 ORDER BY `minOrder` ASC [ RunTime:0.025206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57541448 ORDER BY `unit` DESC [ RunTime:0.029120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57541448 LIMIT 2 [ RunTime:0.011171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57541448 ORDER BY `minOrder` ASC [ RunTime:0.005301s ]
select * from pdf where partno='SUCW62412BP-G' and brandshort='Cosel USA, Inc.' limit 1 [ RunTime:0.016616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SUCW62412BP-G' OR `brand` LIKE 'Cosel USA, Inc.%' ) ) LIMIT 1 [ RunTime:0.020904s ]
SELECT `id` FROM `stock` WHERE `id` <> 57541448 AND `partno` = 'SUCW62412BP-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cosel usa, inc.%' ) [ RunTime:0.003289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641504 [ RunTime:0.017021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57540644 LIMIT 5 [ RunTime:0.001895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57540644 ORDER BY `minOrder` ASC [ RunTime:0.005068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57540644 ORDER BY `unit` DESC [ RunTime:0.011600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57540644 LIMIT 2 [ RunTime:0.026236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57540644 ORDER BY `minOrder` ASC [ RunTime:0.001117s ]
select * from pdf where partno='SUCW62412BP' and brandshort='Cosel USA, Inc.' limit 1 [ RunTime:0.024913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SUCW62412BP' OR `brand` LIKE 'Cosel USA, Inc.%' ) ) LIMIT 1 [ RunTime:0.004261s ]
SELECT `id` FROM `stock` WHERE `id` <> 57540644 AND `partno` = 'SUCW62412BP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cosel usa, inc.%' ) [ RunTime:0.025382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16641250 [ RunTime:0.003468s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037755s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019376s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039033s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011151s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016057s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019615s ]
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 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011052s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SUCW62412B%' OR `brand` LIKE 'SUCW62412B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.036875s ]