SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001675s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019285s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12623690 LIMIT 5 [ RunTime:0.028475s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12623690 ORDER BY `minOrder` ASC [ RunTime:0.012647s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12623690 ORDER BY `unit` DESC [ RunTime:0.014205s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12623690 LIMIT 2 [ RunTime:0.027087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12623690 ORDER BY `minOrder` ASC [ RunTime:0.002663s ]
select * from pdf where partno='F31FDS-10V-K' and brandshort='JST Sales America Inc.' limit 1 [ RunTime:0.032530s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025240s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59960828 LIMIT 5 [ RunTime:0.018531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59960828 ORDER BY `minOrder` ASC [ RunTime:0.041591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59960828 ORDER BY `unit` DESC [ RunTime:0.023801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59960828 LIMIT 2 [ RunTime:0.053972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59960828 ORDER BY `minOrder` ASC [ RunTime:0.007793s ]
select * from pdf where partno='F31FDS-10V-K' and brandshort='JST Sales America Inc.' limit 1 [ RunTime:0.006437s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F31FDS-10V-K' OR `brand` LIKE 'JST Sales America Inc.%' ) ) LIMIT 1 [ RunTime:0.040401s ]
SELECT `id` FROM `stock` WHERE `id` <> 59960828 AND `partno` = 'F31FDS-10V-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%jst sales america inc.%' ) [ RunTime:0.051296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12623690 [ RunTime:0.030708s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047329s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067289s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029901s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028767s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030530s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048815s ]
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 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057318s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'F31FDS-10V-K%' OR `brand` LIKE 'F31FDS-10V-K%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.038357s ]