SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001323s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016919s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17283488 LIMIT 5 [ RunTime:0.014532s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17283488 ORDER BY `minOrder` ASC [ RunTime:0.021307s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17283488 ORDER BY `unit` DESC [ RunTime:0.032984s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17283488 LIMIT 2 [ RunTime:0.012770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17283488 ORDER BY `minOrder` ASC [ RunTime:0.017207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12438388 LIMIT 5 [ RunTime:0.042645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438388 ORDER BY `minOrder` ASC [ RunTime:0.039112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12438388 ORDER BY `unit` DESC [ RunTime:0.015492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12438388 LIMIT 2 [ RunTime:0.012634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438388 ORDER BY `minOrder` ASC [ RunTime:0.008659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12438167 LIMIT 5 [ RunTime:0.029078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438167 ORDER BY `minOrder` ASC [ RunTime:0.061470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12438167 ORDER BY `unit` DESC [ RunTime:0.028335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12438167 LIMIT 2 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438167 ORDER BY `minOrder` ASC [ RunTime:0.011354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359779 LIMIT 5 [ RunTime:0.024694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359779 ORDER BY `minOrder` ASC [ RunTime:0.071576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359779 ORDER BY `unit` DESC [ RunTime:0.071212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359779 LIMIT 2 [ RunTime:0.050840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359779 ORDER BY `minOrder` ASC [ RunTime:0.025285s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034462s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883232 LIMIT 5 [ RunTime:0.032102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883232 ORDER BY `minOrder` ASC [ RunTime:0.053619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883232 ORDER BY `unit` DESC [ RunTime:0.031678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883232 LIMIT 2 [ RunTime:0.081729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883232 ORDER BY `minOrder` ASC [ RunTime:0.036555s ]
select * from pdf where partno='52BT6J3JBV' and brandshort='Siemens' limit 1 [ RunTime:0.025542s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52BT6J3JBV' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.075009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883006 LIMIT 5 [ RunTime:0.082818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883006 ORDER BY `minOrder` ASC [ RunTime:0.086513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883006 ORDER BY `unit` DESC [ RunTime:0.075052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883006 LIMIT 2 [ RunTime:0.070943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883006 ORDER BY `minOrder` ASC [ RunTime:0.027717s ]
select * from pdf where partno='52BT6J3JB' and brandshort='Siemens' limit 1 [ RunTime:0.060804s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52BT6J3JB' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.054057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43882789 LIMIT 5 [ RunTime:0.171819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43882789 ORDER BY `minOrder` ASC [ RunTime:0.025189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43882789 ORDER BY `unit` DESC [ RunTime:0.009104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43882789 LIMIT 2 [ RunTime:0.004133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43882789 ORDER BY `minOrder` ASC [ RunTime:0.035075s ]
select * from pdf where partno='52BT6J3JV' and brandshort='Siemens' limit 1 [ RunTime:0.031682s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52BT6J3JV' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.039265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43882625 LIMIT 5 [ RunTime:0.021427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43882625 ORDER BY `minOrder` ASC [ RunTime:0.022109s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43882625 ORDER BY `unit` DESC [ RunTime:0.043599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43882625 LIMIT 2 [ RunTime:0.012024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43882625 ORDER BY `minOrder` ASC [ RunTime:0.029386s ]
select * from pdf where partno='52BT6J3J' and brandshort='Siemens' limit 1 [ RunTime:0.034243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52BT6J3J' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.084137s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047868s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023415s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043280s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011176s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036188s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013858s ]
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 '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046770s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '52BT6J3J%' OR `brand` LIKE '52BT6J3J%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.078557s ]