SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003502s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007410s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019087s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51081301 LIMIT 5 [ RunTime:0.003250s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51081301 ORDER BY `minOrder` ASC [ RunTime:0.008818s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51081301 ORDER BY `unit` DESC [ RunTime:0.000884s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51081301 LIMIT 2 [ RunTime:0.000905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51081301 ORDER BY `minOrder` ASC [ RunTime:0.003635s ]
select * from pdf where partno='ds18vp6lpwq5' and brandshort='banner engineering' limit 1 [ RunTime:0.001674s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002527s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ds18vp6lpwq5' OR `brand` LIKE 'banner engineering%' ) ) LIMIT 1 [ RunTime:0.003675s ]
SELECT `id` FROM `stock` WHERE `id` <> 51081301 AND `partno` = 'ds18vp6lpwq5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering%' ) [ RunTime:0.007410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32555756 [ RunTime:0.004633s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32555756 LIMIT 5 [ RunTime:0.001683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32555756 ORDER BY `minOrder` ASC [ RunTime:0.013782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32555756 ORDER BY `unit` DESC [ RunTime:0.003888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32555756 LIMIT 2 [ RunTime:0.001666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32555756 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
select * from pdf where partno='DS18VP6LPWQ5' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.001370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS18VP6LPWQ5' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.000796s ]
SELECT `id` FROM `stock` WHERE `id` <> 32555756 AND `partno` = 'DS18VP6LPWQ5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.000845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32555748 LIMIT 5 [ RunTime:0.005603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32555748 ORDER BY `minOrder` ASC [ RunTime:0.002299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32555748 ORDER BY `unit` DESC [ RunTime:0.005277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32555748 LIMIT 2 [ RunTime:0.001096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32555748 ORDER BY `minOrder` ASC [ RunTime:0.005257s ]
select * from pdf where partno='DS18VP6LPWQ' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.001081s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS18VP6LPWQ' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.003066s ]
SELECT `id` FROM `stock` WHERE `id` <> 32555748 AND `partno` = 'DS18VP6LPWQ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.007596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32538941 LIMIT 5 [ RunTime:0.003447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32538941 ORDER BY `minOrder` ASC [ RunTime:0.001337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32538941 ORDER BY `unit` DESC [ RunTime:0.000468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32538941 LIMIT 2 [ RunTime:0.001673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32538941 ORDER BY `minOrder` ASC [ RunTime:0.008179s ]
select * from pdf where partno='DS18VP6LPW' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.001204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS18VP6LPW' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.004597s ]
SELECT `id` FROM `stock` WHERE `id` <> 32538941 AND `partno` = 'DS18VP6LPW' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.019114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32531778 LIMIT 5 [ RunTime:0.005374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32531778 ORDER BY `minOrder` ASC [ RunTime:0.033625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32531778 ORDER BY `unit` DESC [ RunTime:0.025774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32531778 LIMIT 2 [ RunTime:0.024345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32531778 ORDER BY `minOrder` ASC [ RunTime:0.001649s ]
select * from pdf where partno='DS18VP6LPWQ8' and brandshort='Banner Engineering Corporation' limit 1 [ RunTime:0.005528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS18VP6LPWQ8' OR `brand` LIKE 'Banner Engineering Corporation%' ) ) LIMIT 1 [ RunTime:0.010091s ]
SELECT `id` FROM `stock` WHERE `id` <> 32531778 AND `partno` = 'DS18VP6LPWQ8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%banner engineering corporation%' ) [ RunTime:0.017916s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030942s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027824s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019111s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035988s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030756s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010514s ]
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 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026369s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DS18VP6LPW%' OR `brand` LIKE 'DS18VP6LPW%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.049810s ]