SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002653s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004284s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19092116 LIMIT 5 [ RunTime:0.023357s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.018456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19092116 ORDER BY `minOrder` ASC [ RunTime:0.048292s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19092116 ORDER BY `unit` DESC [ RunTime:0.041357s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19092116 LIMIT 2 [ RunTime:0.063773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19092116 ORDER BY `minOrder` ASC [ RunTime:0.007530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19092034 LIMIT 5 [ RunTime:0.021046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19092034 ORDER BY `minOrder` ASC [ RunTime:0.012019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19092034 ORDER BY `unit` DESC [ RunTime:0.028538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19092034 LIMIT 2 [ RunTime:0.070865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19092034 ORDER BY `minOrder` ASC [ RunTime:0.035986s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19091531 LIMIT 5 [ RunTime:0.039892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19091531 ORDER BY `minOrder` ASC [ RunTime:0.108945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19091531 ORDER BY `unit` DESC [ RunTime:0.080254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19091531 LIMIT 2 [ RunTime:0.052459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19091531 ORDER BY `minOrder` ASC [ RunTime:0.033995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17078115 LIMIT 5 [ RunTime:0.047476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17078115 ORDER BY `minOrder` ASC [ RunTime:0.023195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17078115 ORDER BY `unit` DESC [ RunTime:0.048249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17078115 LIMIT 2 [ RunTime:0.051174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17078115 ORDER BY `minOrder` ASC [ RunTime:0.015448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16040012 LIMIT 5 [ RunTime:0.017475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16040012 ORDER BY `minOrder` ASC [ RunTime:0.058318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16040012 ORDER BY `unit` DESC [ RunTime:0.054629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16040012 LIMIT 2 [ RunTime:0.036663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16040012 ORDER BY `minOrder` ASC [ RunTime:0.024869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14219884 LIMIT 5 [ RunTime:0.056580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14219884 ORDER BY `minOrder` ASC [ RunTime:0.045263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14219884 ORDER BY `unit` DESC [ RunTime:0.082568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14219884 LIMIT 2 [ RunTime:0.069070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14219884 ORDER BY `minOrder` ASC [ RunTime:0.009533s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045319s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57040504 LIMIT 5 [ RunTime:0.038629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040504 ORDER BY `minOrder` ASC [ RunTime:0.061196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57040504 ORDER BY `unit` DESC [ RunTime:0.033797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57040504 LIMIT 2 [ RunTime:0.062410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040504 ORDER BY `minOrder` ASC [ RunTime:0.007360s ]
select * from pdf where partno='VN16B(011Y)' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.011725s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN16B(011Y)' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.032801s ]
SELECT `id` FROM `stock` WHERE `id` <> 57040504 AND `partno` = 'VN16B(011Y)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.073903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19091531 [ RunTime:0.043700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57040503 LIMIT 5 [ RunTime:0.034100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040503 ORDER BY `minOrder` ASC [ RunTime:0.023334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57040503 ORDER BY `unit` DESC [ RunTime:0.039415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57040503 LIMIT 2 [ RunTime:0.047799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040503 ORDER BY `minOrder` ASC [ RunTime:0.033455s ]
select * from pdf where partno='VN16B' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.025649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN16B' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.015592s ]
SELECT `id` FROM `stock` WHERE `id` <> 57040503 AND `partno` = 'VN16B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.054810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16040012 [ RunTime:0.009829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57040395 LIMIT 5 [ RunTime:0.014928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040395 ORDER BY `minOrder` ASC [ RunTime:0.032355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57040395 ORDER BY `unit` DESC [ RunTime:0.067712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57040395 LIMIT 2 [ RunTime:0.041801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57040395 ORDER BY `minOrder` ASC [ RunTime:0.025408s ]
select * from pdf where partno='VN16B-11-E' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.058399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN16B-11-E' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.044011s ]
SELECT `id` FROM `stock` WHERE `id` <> 57040395 AND `partno` = 'VN16B-11-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.063133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17078115 [ RunTime:0.016145s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042566s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043411s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034209s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053631s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011268s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058011s ]
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 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043938s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'VN16B%' OR `brand` LIKE 'VN16B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.026746s ]