SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002693s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024538s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489540 LIMIT 5 [ RunTime:0.036462s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489540 ORDER BY `minOrder` ASC [ RunTime:0.013705s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489540 ORDER BY `unit` DESC [ RunTime:0.036761s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489540 LIMIT 2 [ RunTime:0.062389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489540 ORDER BY `minOrder` ASC [ RunTime:0.032943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14361096 LIMIT 5 [ RunTime:0.091439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14361096 ORDER BY `minOrder` ASC [ RunTime:0.069678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14361096 ORDER BY `unit` DESC [ RunTime:0.042681s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14361096 LIMIT 2 [ RunTime:0.030649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14361096 ORDER BY `minOrder` ASC [ RunTime:0.006341s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.069232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363044 LIMIT 5 [ RunTime:0.024832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363044 ORDER BY `minOrder` ASC [ RunTime:0.040624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363044 ORDER BY `unit` DESC [ RunTime:0.081850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363044 LIMIT 2 [ RunTime:0.032746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363044 ORDER BY `minOrder` ASC [ RunTime:0.062959s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.022517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363043 LIMIT 5 [ RunTime:0.072787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363043 ORDER BY `minOrder` ASC [ RunTime:0.063423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363043 ORDER BY `unit` DESC [ RunTime:0.027872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363043 LIMIT 2 [ RunTime:0.085494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363043 ORDER BY `minOrder` ASC [ RunTime:0.051190s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.009509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363042 LIMIT 5 [ RunTime:0.047394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363042 ORDER BY `minOrder` ASC [ RunTime:0.032280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363042 ORDER BY `unit` DESC [ RunTime:0.073751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363042 LIMIT 2 [ RunTime:0.119708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363042 ORDER BY `minOrder` ASC [ RunTime:0.020860s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.035739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14363041 LIMIT 5 [ RunTime:0.003504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363041 ORDER BY `minOrder` ASC [ RunTime:0.021740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14363041 ORDER BY `unit` DESC [ RunTime:0.016250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14363041 LIMIT 2 [ RunTime:0.024051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14363041 ORDER BY `minOrder` ASC [ RunTime:0.011236s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.012414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489293 LIMIT 5 [ RunTime:0.024644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489293 ORDER BY `minOrder` ASC [ RunTime:0.019948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489293 ORDER BY `unit` DESC [ RunTime:0.005633s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489293 LIMIT 2 [ RunTime:0.014132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489293 ORDER BY `minOrder` ASC [ RunTime:0.004856s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.000649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485712 LIMIT 5 [ RunTime:0.001366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485712 ORDER BY `minOrder` ASC [ RunTime:0.008830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13485712 ORDER BY `unit` DESC [ RunTime:0.009887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13485712 LIMIT 2 [ RunTime:0.000768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485712 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
select * from pdf where partno='3302/60 100SF' and brandshort='3M' limit 1 [ 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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010594s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62995371 LIMIT 5 [ RunTime:0.000778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62995371 ORDER BY `minOrder` ASC [ RunTime:0.021869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62995371 ORDER BY `unit` DESC [ RunTime:0.011523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62995371 LIMIT 2 [ RunTime:0.000834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62995371 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
select * from pdf where partno='3302/60 100' and brandshort='3M' limit 1 [ RunTime:0.000598s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002985s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3302/60 100' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.003208s ]
SELECT `id` FROM `stock` WHERE `id` <> 62995371 AND `partno` = '3302/60 100' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.012945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489293 [ RunTime:0.020983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62995057 LIMIT 5 [ RunTime:0.009621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62995057 ORDER BY `minOrder` ASC [ RunTime:0.007239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62995057 ORDER BY `unit` DESC [ RunTime:0.007597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62995057 LIMIT 2 [ RunTime:0.003254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62995057 ORDER BY `minOrder` ASC [ RunTime:0.000914s ]
select * from pdf where partno='3302/60 100SF' and brandshort='3M' limit 1 [ RunTime:0.000618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3302/60 100SF' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.008307s ]
SELECT `id` FROM `stock` WHERE `id` <> 62995057 AND `partno` = '3302/60 100SF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.009029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485712 [ RunTime:0.011025s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001567s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001230s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002881s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004605s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ 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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001107s ]
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 '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003492s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3302/60 100%' OR `brand` LIKE '3302/60 100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006236s ]