SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001643s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008471s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12509340 LIMIT 5 [ RunTime:0.008464s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12509340 ORDER BY `minOrder` ASC [ RunTime:0.032820s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12509340 ORDER BY `unit` DESC [ RunTime:0.010839s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12509340 LIMIT 2 [ RunTime:0.052143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12509340 ORDER BY `minOrder` ASC [ RunTime:0.009888s ]
select * from pdf where partno='N7E50-7516PK-20' and brandshort='3M' limit 1 [ RunTime:0.034272s ]
select foldpath,foldpath2,filename from pdf_file where id=1447186 limit 1 [ RunTime:0.027113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11412307 LIMIT 5 [ RunTime:0.043081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11412307 ORDER BY `minOrder` ASC [ RunTime:0.046835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11412307 ORDER BY `unit` DESC [ RunTime:0.081290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11412307 LIMIT 2 [ RunTime:0.049854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11412307 ORDER BY `minOrder` ASC [ RunTime:0.044674s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32264474 LIMIT 5 [ RunTime:0.046434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32264474 ORDER BY `minOrder` ASC [ RunTime:0.130791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32264474 ORDER BY `unit` DESC [ RunTime:0.094410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32264474 LIMIT 2 [ RunTime:0.161465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32264474 ORDER BY `minOrder` ASC [ RunTime:0.052762s ]
select * from pdf where partno='n7e50-7516pk-20' and brandshort='3m electronic solutions division' limit 1 [ RunTime:0.097851s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004140s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'n7e50-7516pk-20' OR `brand` LIKE '3m electronic solutions division%' ) ) LIMIT 1 [ RunTime:0.130911s ]
SELECT `id` FROM `stock` WHERE `id` <> 32264474 AND `partno` = 'n7e50-7516pk-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m electronic solutions division%' ) [ RunTime:0.134596s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60992110 LIMIT 5 [ RunTime:0.103268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60992110 ORDER BY `minOrder` ASC [ RunTime:0.225718s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60992110 ORDER BY `unit` DESC [ RunTime:0.081515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60992110 LIMIT 2 [ RunTime:0.097470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60992110 ORDER BY `minOrder` ASC [ RunTime:0.027709s ]
select * from pdf where partno='N7E50-7516PK-20' and brandshort='3M' limit 1 [ RunTime:0.051118s ]
select foldpath,foldpath2,filename from pdf_file where id=1447186 limit 1 [ RunTime:0.030879s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'N7E50-7516PK-20' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.086154s ]
SELECT `id` FROM `stock` WHERE `id` <> 60992110 AND `partno` = 'N7E50-7516PK-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.148033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12509340 [ RunTime:0.072658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60993164 LIMIT 5 [ RunTime:0.051925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60993164 ORDER BY `minOrder` ASC [ RunTime:0.101320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60993164 ORDER BY `unit` DESC [ RunTime:0.036070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60993164 LIMIT 2 [ RunTime:0.082200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60993164 ORDER BY `minOrder` ASC [ RunTime:0.015305s ]
select * from pdf where partno='N7E50-7516PK-20-WF' and brandshort='3M' limit 1 [ RunTime:0.021807s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'N7E50-7516PK-20-WF' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.025853s ]
SELECT `id` FROM `stock` WHERE `id` <> 60993164 AND `partno` = 'N7E50-7516PK-20-WF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.033249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11412307 [ RunTime:0.061493s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019565s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079573s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018150s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103196s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072901s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035867s ]
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 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018729s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'N7E50-7516PK-20%' OR `brand` LIKE 'N7E50-7516PK-20%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.034159s ]