SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001515s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001420s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12457252 LIMIT 5 [ RunTime:0.000544s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12457252 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12457252 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12457252 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12457252 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11372285 LIMIT 5 [ RunTime:0.000657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11372285 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11372285 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11372285 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11372285 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000738s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65261124 LIMIT 5 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65261124 ORDER BY `minOrder` ASC [ RunTime:0.001975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65261124 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65261124 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65261124 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='9001SKS34FB' and brandshort='Schneider Electric' limit 1 [ RunTime:0.000782s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002110s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9001SKS34FB' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.000639s ]
SELECT `id` FROM `stock` WHERE `id` <> 65261124 AND `partno` = '9001SKS34FB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12457252 [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65261144 LIMIT 5 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65261144 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65261144 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65261144 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65261144 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='9001SKS34B' and brandshort='Schneider Electric' limit 1 [ RunTime:0.000582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9001SKS34B' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.000418s ]
SELECT `id` FROM `stock` WHERE `id` <> 65261144 AND `partno` = '9001SKS34B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65274426 LIMIT 5 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65274426 ORDER BY `minOrder` ASC [ RunTime:0.003393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65274426 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65274426 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65274426 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='9001SKS34' and brandshort='Schneider Electric' limit 1 [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9001SKS34' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.000470s ]
SELECT `id` FROM `stock` WHERE `id` <> 65274426 AND `partno` = '9001SKS34' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.000474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11372285 [ RunTime:0.000327s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000951s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000648s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000567s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000780s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000580s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000574s ]
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 '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000643s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '9001SKS34%' OR `brand` LIKE '9001SKS34%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000678s ]