SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002731s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.158649s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19131520 LIMIT 5 [ RunTime:0.051677s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19131520 ORDER BY `minOrder` ASC [ RunTime:0.134851s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19131520 ORDER BY `unit` DESC [ RunTime:0.071290s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.025702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19131520 LIMIT 2 [ RunTime:0.103681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19131520 ORDER BY `minOrder` ASC [ RunTime:0.032551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19130693 LIMIT 5 [ RunTime:0.099381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19130693 ORDER BY `minOrder` ASC [ RunTime:0.137383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19130693 ORDER BY `unit` DESC [ RunTime:0.045258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19130693 LIMIT 2 [ RunTime:0.031549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19130693 ORDER BY `minOrder` ASC [ RunTime:0.356509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15312254 LIMIT 5 [ RunTime:0.075424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15312254 ORDER BY `minOrder` ASC [ RunTime:0.131603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15312254 ORDER BY `unit` DESC [ RunTime:0.113420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15312254 LIMIT 2 [ RunTime:0.051143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15312254 ORDER BY `minOrder` ASC [ RunTime:0.082610s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053173s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.240495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57090250 LIMIT 5 [ RunTime:0.073773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090250 ORDER BY `minOrder` ASC [ RunTime:0.307661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57090250 ORDER BY `unit` DESC [ RunTime:0.094889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57090250 LIMIT 2 [ RunTime:0.076327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090250 ORDER BY `minOrder` ASC [ RunTime:0.045078s ]
select * from pdf where partno='L4972AD' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.055791s ]
select foldpath,foldpath2,filename from pdf_file where id=376009 limit 1 [ RunTime:0.063971s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L4972AD' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.018382s ]
SELECT `id` FROM `stock` WHERE `id` <> 57090250 AND `partno` = 'L4972AD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.108838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15312254 [ RunTime:0.054092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57090249 LIMIT 5 [ RunTime:0.039211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090249 ORDER BY `minOrder` ASC [ RunTime:0.120289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57090249 ORDER BY `unit` DESC [ RunTime:0.064442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57090249 LIMIT 2 [ RunTime:0.070767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090249 ORDER BY `minOrder` ASC [ RunTime:0.038867s ]
select * from pdf where partno='L4972A' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.051853s ]
select foldpath,foldpath2,filename from pdf_file where id=376009 limit 1 [ RunTime:0.010801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L4972A' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.075984s ]
SELECT `id` FROM `stock` WHERE `id` <> 57090249 AND `partno` = 'L4972A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.035608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19130693 [ RunTime:0.023157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50087984 LIMIT 5 [ RunTime:0.122265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50087984 ORDER BY `minOrder` ASC [ RunTime:0.072507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50087984 ORDER BY `unit` DESC [ RunTime:0.038142s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50087984 LIMIT 2 [ RunTime:0.076872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50087984 ORDER BY `minOrder` ASC [ RunTime:0.038999s ]
select * from pdf where partno='L4972AD013TR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.050178s ]
select foldpath,foldpath2,filename from pdf_file where id=598765 limit 1 [ RunTime:0.074349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L4972AD013TR' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.070431s ]
SELECT `id` FROM `stock` WHERE `id` <> 50087984 AND `partno` = 'L4972AD013TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.050400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19131520 [ RunTime:0.058454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37285105 LIMIT 5 [ RunTime:0.094858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37285105 ORDER BY `minOrder` ASC [ RunTime:0.054935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37285105 ORDER BY `unit` DESC [ RunTime:0.050242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37285105 LIMIT 2 [ RunTime:0.057469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37285105 ORDER BY `minOrder` ASC [ RunTime:0.029054s ]
select * from pdf where partno='L4972AD013TR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.019245s ]
select foldpath,foldpath2,filename from pdf_file where id=598765 limit 1 [ RunTime:0.013152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L4972AD013TR' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.047715s ]
SELECT `id` FROM `stock` WHERE `id` <> 37285105 AND `partno` = 'L4972AD013TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.021888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19131520 [ RunTime:0.011107s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044361s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023440s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024155s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013022s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037646s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019904s ]
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 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027865s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'L4972A%' OR `brand` LIKE 'L4972A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012143s ]