SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002788s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.090448s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17138924 LIMIT 5 [ RunTime:0.059025s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17138924 ORDER BY `minOrder` ASC [ RunTime:0.028014s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17138924 ORDER BY `unit` DESC [ RunTime:0.028296s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003918s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17138924 LIMIT 2 [ RunTime:0.035129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17138924 ORDER BY `minOrder` ASC [ RunTime:0.046684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19258848 LIMIT 5 [ RunTime:0.049904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19258848 ORDER BY `minOrder` ASC [ RunTime:0.055688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19258848 ORDER BY `unit` DESC [ RunTime:0.038680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19258848 LIMIT 2 [ RunTime:0.031005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19258848 ORDER BY `minOrder` ASC [ RunTime:0.015485s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046832s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51067267 LIMIT 5 [ RunTime:0.036016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51067267 ORDER BY `minOrder` ASC [ RunTime:0.029570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51067267 ORDER BY `unit` DESC [ RunTime:0.017696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51067267 LIMIT 2 [ RunTime:0.132523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51067267 ORDER BY `minOrder` ASC [ RunTime:0.017552s ]
select * from pdf where partno='dlpa3005dpfd' and brandshort='texas instruments' limit 1 [ RunTime:0.080194s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'dlpa3005dpfd' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.019768s ]
SELECT `id` FROM `stock` WHERE `id` <> 51067267 AND `partno` = 'dlpa3005dpfd' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.023408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19258848 [ RunTime:0.027621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51053494 LIMIT 5 [ RunTime:0.027736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51053494 ORDER BY `minOrder` ASC [ RunTime:0.048618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51053494 ORDER BY `unit` DESC [ RunTime:0.016016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51053494 LIMIT 2 [ RunTime:0.010177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51053494 ORDER BY `minOrder` ASC [ RunTime:0.014779s ]
select * from pdf where partno='dlpa3005dpfd' and brandshort='texas instruments' limit 1 [ RunTime:0.007641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'dlpa3005dpfd' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.009089s ]
SELECT `id` FROM `stock` WHERE `id` <> 51053494 AND `partno` = 'dlpa3005dpfd' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.015956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19258848 [ RunTime:0.004796s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56791296 LIMIT 5 [ RunTime:0.039222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56791296 ORDER BY `minOrder` ASC [ RunTime:0.028127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56791296 ORDER BY `unit` DESC [ RunTime:0.010362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56791296 LIMIT 2 [ RunTime:0.006608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56791296 ORDER BY `minOrder` ASC [ RunTime:0.009709s ]
select * from pdf where partno='DLPA3005DPFDR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.007730s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DLPA3005DPFDR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.007870s ]
SELECT `id` FROM `stock` WHERE `id` <> 56791296 AND `partno` = 'DLPA3005DPFDR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.011830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17138924 [ RunTime:0.011076s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56792039 LIMIT 5 [ RunTime:0.001729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56792039 ORDER BY `minOrder` ASC [ RunTime:0.015893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56792039 ORDER BY `unit` DESC [ RunTime:0.005840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56792039 LIMIT 2 [ RunTime:0.017765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56792039 ORDER BY `minOrder` ASC [ RunTime:0.006771s ]
select * from pdf where partno='DLPA3005DPFD' and brandshort='Texas Instruments' limit 1 [ RunTime:0.004899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DLPA3005DPFD' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.012355s ]
SELECT `id` FROM `stock` WHERE `id` <> 56792039 AND `partno` = 'DLPA3005DPFD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.019600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19258848 [ RunTime:0.001654s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016395s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003514s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006388s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005798s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012531s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026628s ]
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 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018652s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'dlpa3005dpfd%' OR `brand` LIKE 'dlpa3005dpfd%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017440s ]