SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001417s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045348s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.014335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17287235 LIMIT 5 [ RunTime:0.073792s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17287235 ORDER BY `minOrder` ASC [ RunTime:0.080210s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.017089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17287235 ORDER BY `unit` DESC [ RunTime:0.083361s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.022440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17287235 LIMIT 2 [ RunTime:0.041705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17287235 ORDER BY `minOrder` ASC [ RunTime:0.069917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17287219 LIMIT 5 [ RunTime:0.034093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17287219 ORDER BY `minOrder` ASC [ RunTime:0.012923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17287219 ORDER BY `unit` DESC [ RunTime:0.056064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17287219 LIMIT 2 [ RunTime:0.035315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17287219 ORDER BY `minOrder` ASC [ RunTime:0.004027s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039136s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57795493 LIMIT 5 [ RunTime:0.025585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57795493 ORDER BY `minOrder` ASC [ RunTime:0.023391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57795493 ORDER BY `unit` DESC [ RunTime:0.025464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57795493 LIMIT 2 [ RunTime:0.043303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57795493 ORDER BY `minOrder` ASC [ RunTime:0.017701s ]
select * from pdf where partno='HS3A-H21U4' and brandshort='IDEC' limit 1 [ RunTime:0.033122s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3A-H21U4' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.023552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57795357 LIMIT 5 [ RunTime:0.037924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57795357 ORDER BY `minOrder` ASC [ RunTime:0.037773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57795357 ORDER BY `unit` DESC [ RunTime:0.037073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57795357 LIMIT 2 [ RunTime:0.007489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57795357 ORDER BY `minOrder` ASC [ RunTime:0.002153s ]
select * from pdf where partno='HS3A-H21M4' and brandshort='IDEC' limit 1 [ RunTime:0.026231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3A-H21M4' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.040431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44103767 LIMIT 5 [ RunTime:0.045424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44103767 ORDER BY `minOrder` ASC [ RunTime:0.039496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44103767 ORDER BY `unit` DESC [ RunTime:0.058970s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44103767 LIMIT 2 [ RunTime:0.087805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44103767 ORDER BY `minOrder` ASC [ RunTime:0.043447s ]
select * from pdf where partno='HS3AH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.019536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3AH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.061942s ]
SELECT `id` FROM `stock` WHERE `id` <> 44103767 AND `partno` = 'HS3AH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.050857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44103765 LIMIT 5 [ RunTime:0.082543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44103765 ORDER BY `minOrder` ASC [ RunTime:0.070989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44103765 ORDER BY `unit` DESC [ RunTime:0.053339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44103765 LIMIT 2 [ RunTime:0.025000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44103765 ORDER BY `minOrder` ASC [ RunTime:0.004904s ]
select * from pdf where partno='HS3A' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.029092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3A' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.032172s ]
SELECT `id` FROM `stock` WHERE `id` <> 44103765 AND `partno` = 'HS3A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.053972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44102327 LIMIT 5 [ RunTime:0.024175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44102327 ORDER BY `minOrder` ASC [ RunTime:0.080481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44102327 ORDER BY `unit` DESC [ RunTime:0.030705s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44102327 LIMIT 2 [ RunTime:0.016259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44102327 ORDER BY `minOrder` ASC [ RunTime:0.008075s ]
select * from pdf where partno='HS3ABH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.087271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3ABH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.027436s ]
SELECT `id` FROM `stock` WHERE `id` <> 44102327 AND `partno` = 'HS3ABH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.063015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44102324 LIMIT 5 [ RunTime:0.015334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44102324 ORDER BY `minOrder` ASC [ RunTime:0.110156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44102324 ORDER BY `unit` DESC [ RunTime:0.080832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44102324 LIMIT 2 [ RunTime:0.062398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44102324 ORDER BY `minOrder` ASC [ RunTime:0.041831s ]
select * from pdf where partno='HS3AB' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.015761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS3AB' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.062311s ]
SELECT `id` FROM `stock` WHERE `id` <> 44102324 AND `partno` = 'HS3AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.086897s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062820s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.075796s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059548s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044303s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045462s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031997s ]
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 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070561s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HS3A%' OR `brand` LIKE 'HS3A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.051404s ]