SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002837s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003829s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904775 LIMIT 5 [ RunTime:0.001637s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904775 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18904775 ORDER BY `unit` DESC [ RunTime:0.002127s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18904775 LIMIT 2 [ RunTime:0.001993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904775 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18908134 LIMIT 5 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908134 ORDER BY `minOrder` ASC [ RunTime:0.000930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18908134 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18908134 LIMIT 2 [ RunTime:0.000807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908134 ORDER BY `minOrder` ASC [ RunTime:0.001137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18908133 LIMIT 5 [ RunTime:0.002730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908133 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18908133 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18908133 LIMIT 2 [ RunTime:0.000779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908133 ORDER BY `minOrder` ASC [ RunTime:0.001512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18905806 LIMIT 5 [ RunTime:0.002195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18905806 ORDER BY `minOrder` ASC [ RunTime:0.001285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18905806 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18905806 LIMIT 2 [ RunTime:0.001458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18905806 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904861 LIMIT 5 [ RunTime:0.002978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904861 ORDER BY `minOrder` ASC [ RunTime:0.000596s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18904861 ORDER BY `unit` DESC [ RunTime:0.001796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18904861 LIMIT 2 [ RunTime:0.003287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904861 ORDER BY `minOrder` ASC [ RunTime:0.000836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904514 LIMIT 5 [ RunTime:0.000894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904514 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18904514 ORDER BY `unit` DESC [ RunTime:0.000736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18904514 LIMIT 2 [ RunTime:0.000908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904514 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904072 LIMIT 5 [ RunTime:0.001420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904072 ORDER BY `minOrder` ASC [ RunTime:0.000896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18904072 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18904072 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18904072 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
select * from pdf where partno='5500307004F' and brandshort='Dialight' limit 1 [ RunTime:0.000640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15249718 LIMIT 5 [ RunTime:0.002427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249718 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15249718 ORDER BY `unit` DESC [ RunTime:0.002199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15249718 LIMIT 2 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249718 ORDER BY `minOrder` ASC [ RunTime:0.000925s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000766s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58127558 LIMIT 5 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58127558 ORDER BY `minOrder` ASC [ RunTime:0.002659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58127558 ORDER BY `unit` DESC [ RunTime:0.001017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58127558 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58127558 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
select * from pdf where partno='5500307F' and brandshort='Dialight' limit 1 [ RunTime:0.001714s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.000740s ]
SELECT `id` FROM `stock` WHERE `id` <> 58127558 AND `partno` = '5500307F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.001421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904775 [ RunTime:0.003870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58130448 LIMIT 5 [ RunTime:0.001843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58130448 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58130448 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58130448 LIMIT 2 [ RunTime:0.001963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58130448 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='5500307002F' and brandshort='Dialight' limit 1 [ RunTime:0.000814s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307002F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT `id` FROM `stock` WHERE `id` <> 58130448 AND `partno` = '5500307002F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18905806 [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58129269 LIMIT 5 [ RunTime:0.002384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58129269 ORDER BY `minOrder` ASC [ RunTime:0.001217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58129269 ORDER BY `unit` DESC [ RunTime:0.001538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58129269 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58129269 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
select * from pdf where partno='5500307802F' and brandshort='Dialight' limit 1 [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307802F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.001051s ]
SELECT `id` FROM `stock` WHERE `id` <> 58129269 AND `partno` = '5500307802F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904861 [ RunTime:0.000541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58129166 LIMIT 5 [ RunTime:0.000934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58129166 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58129166 ORDER BY `unit` DESC [ RunTime:0.000203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58129166 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58129166 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
select * from pdf where partno='5500307100F' and brandshort='Dialight' limit 1 [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307100F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT `id` FROM `stock` WHERE `id` <> 58129166 AND `partno` = '5500307100F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15249718 [ RunTime:0.000163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58128873 LIMIT 5 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58128873 ORDER BY `minOrder` ASC [ RunTime:0.000876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58128873 ORDER BY `unit` DESC [ RunTime:0.000885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58128873 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58128873 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='5500307803F' and brandshort='Dialight' limit 1 [ RunTime:0.000716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307803F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.000678s ]
SELECT `id` FROM `stock` WHERE `id` <> 58128873 AND `partno` = '5500307803F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904514 [ RunTime:0.000288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58128462 LIMIT 5 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58128462 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58128462 ORDER BY `unit` DESC [ RunTime:0.000206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58128462 LIMIT 2 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58128462 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='5500307004F' and brandshort='Dialight' limit 1 [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5500307004F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.000175s ]
SELECT `id` FROM `stock` WHERE `id` <> 58128462 AND `partno` = '5500307004F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.000206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18904072 [ RunTime:0.000176s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000583s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000489s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000729s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000571s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000468s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000503s ]
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 '5500307%' OR `brand` LIKE '5500307%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000509s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '5500307%' OR `brand` LIKE '5500307%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000502s ]