SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004029s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017769s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281257 LIMIT 5 [ RunTime:0.030106s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19281257 ORDER BY `minOrder` ASC [ RunTime:0.036564s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19281257 ORDER BY `unit` DESC [ RunTime:0.049808s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19281257 LIMIT 2 [ RunTime:0.064367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19281257 ORDER BY `minOrder` ASC [ RunTime:0.010450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19287042 LIMIT 5 [ RunTime:0.081466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19287042 ORDER BY `minOrder` ASC [ RunTime:0.094248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19287042 ORDER BY `unit` DESC [ RunTime:0.051140s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19287042 LIMIT 2 [ RunTime:0.196548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19287042 ORDER BY `minOrder` ASC [ RunTime:0.072641s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.131971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32231842 LIMIT 5 [ RunTime:0.077522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32231842 ORDER BY `minOrder` ASC [ RunTime:0.094749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32231842 ORDER BY `unit` DESC [ RunTime:0.053591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32231842 LIMIT 2 [ RunTime:0.106537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32231842 ORDER BY `minOrder` ASC [ RunTime:0.087822s ]
select * from pdf where partno='pvt322s-tpbf' and brandshort='infineon technologies' limit 1 [ RunTime:0.057228s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pvt322s-tpbf' OR `brand` LIKE 'infineon technologies%' ) ) LIMIT 1 [ RunTime:0.090546s ]
SELECT `id` FROM `stock` WHERE `id` <> 32231842 AND `partno` = 'pvt322s-tpbf' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%infineon technologies%' ) [ RunTime:0.075138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281257 [ RunTime:0.033382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32211741 LIMIT 5 [ RunTime:0.071098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32211741 ORDER BY `minOrder` ASC [ RunTime:0.063634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32211741 ORDER BY `unit` DESC [ RunTime:0.096967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32211741 LIMIT 2 [ RunTime:0.058068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32211741 ORDER BY `minOrder` ASC [ RunTime:0.040605s ]
select * from pdf where partno='pvt322s-tpbf' and brandshort='infineon technologies' limit 1 [ RunTime:0.011007s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pvt322s-tpbf' OR `brand` LIKE 'infineon technologies%' ) ) LIMIT 1 [ RunTime:0.009868s ]
SELECT `id` FROM `stock` WHERE `id` <> 32211741 AND `partno` = 'pvt322s-tpbf' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%infineon technologies%' ) [ RunTime:0.124518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281257 [ RunTime:0.057966s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.118732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58323418 LIMIT 5 [ RunTime:0.094805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58323418 ORDER BY `minOrder` ASC [ RunTime:0.056081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58323418 ORDER BY `unit` DESC [ RunTime:0.104478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58323418 LIMIT 2 [ RunTime:0.153472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58323418 ORDER BY `minOrder` ASC [ RunTime:0.035327s ]
select * from pdf where partno='PVT322S-TPBF' and brandshort='Infineon Technologies' limit 1 [ RunTime:0.044041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVT322S-TPBF' OR `brand` LIKE 'Infineon Technologies%' ) ) LIMIT 1 [ RunTime:0.033409s ]
SELECT `id` FROM `stock` WHERE `id` <> 58323418 AND `partno` = 'PVT322S-TPBF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%infineon technologies%' ) [ RunTime:0.040915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281257 [ RunTime:0.017902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58326190 LIMIT 5 [ RunTime:0.008759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58326190 ORDER BY `minOrder` ASC [ RunTime:0.050797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58326190 ORDER BY `unit` DESC [ RunTime:0.019930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58326190 LIMIT 2 [ RunTime:0.020340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58326190 ORDER BY `minOrder` ASC [ RunTime:0.018469s ]
select * from pdf where partno='PVT322S-TPBF' and brandshort='International Rectifier' limit 1 [ RunTime:0.032463s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVT322S-TPBF' OR `brand` LIKE 'International Rectifier%' ) ) LIMIT 1 [ RunTime:0.020537s ]
SELECT `id` FROM `stock` WHERE `id` <> 58326190 AND `partno` = 'PVT322S-TPBF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%international rectifier%' ) [ RunTime:0.034403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19287042 [ RunTime:0.025637s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006314s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013310s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013213s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024668s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004729s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023828s ]
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 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015928s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PVT322S-TPBF%' OR `brand` LIKE 'PVT322S-TPBF%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007465s ]