SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001679s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019960s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18860398 LIMIT 5 [ RunTime:0.020392s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18860398 ORDER BY `minOrder` ASC [ RunTime:0.002244s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18860398 ORDER BY `unit` DESC [ RunTime:0.002021s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18860398 LIMIT 2 [ RunTime:0.009830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18860398 ORDER BY `minOrder` ASC [ RunTime:0.010769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18858721 LIMIT 5 [ RunTime:0.013913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18858721 ORDER BY `minOrder` ASC [ RunTime:0.012008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18858721 ORDER BY `unit` DESC [ RunTime:0.026788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18858721 LIMIT 2 [ RunTime:0.032204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18858721 ORDER BY `minOrder` ASC [ RunTime:0.015627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18858685 LIMIT 5 [ RunTime:0.033143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18858685 ORDER BY `minOrder` ASC [ RunTime:0.027848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18858685 ORDER BY `unit` DESC [ RunTime:0.038162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18858685 LIMIT 2 [ RunTime:0.064966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18858685 ORDER BY `minOrder` ASC [ RunTime:0.024056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15241003 LIMIT 5 [ RunTime:0.051023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15241003 ORDER BY `minOrder` ASC [ RunTime:0.056342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15241003 ORDER BY `unit` DESC [ RunTime:0.015612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15241003 LIMIT 2 [ RunTime:0.007528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15241003 ORDER BY `minOrder` ASC [ RunTime:0.005736s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051815s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086395 LIMIT 5 [ RunTime:0.062961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086395 ORDER BY `minOrder` ASC [ RunTime:0.016380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086395 ORDER BY `unit` DESC [ RunTime:0.010073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086395 LIMIT 2 [ RunTime:0.006538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086395 ORDER BY `minOrder` ASC [ RunTime:0.020288s ]
select * from pdf where partno='25-901-160-bar/psi-G1/4-GY40-BP3-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.005645s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-901-160-bar/psi-G1/4-GY40-BP3-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000526s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086395 AND `partno` = '25-901-160-bar/psi-G1/4-GY40-BP3-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.014134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18860398 [ RunTime:0.007511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086248 LIMIT 5 [ RunTime:0.000687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086248 ORDER BY `minOrder` ASC [ RunTime:0.020435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086248 ORDER BY `unit` DESC [ RunTime:0.001322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086248 LIMIT 2 [ RunTime:0.059405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086248 ORDER BY `minOrder` ASC [ RunTime:0.014298s ]
select * from pdf where partno='25-901-160-bar/psi-G1/4-GY40-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.025023s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-901-160-bar/psi-G1/4-GY40-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.037050s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086248 AND `partno` = '25-901-160-bar/psi-G1/4-GY40-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.017803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15241003 [ RunTime:0.017501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083563 LIMIT 5 [ RunTime:0.068990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083563 ORDER BY `minOrder` ASC [ RunTime:0.005347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083563 ORDER BY `unit` DESC [ RunTime:0.016112s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083563 LIMIT 2 [ RunTime:0.043066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083563 ORDER BY `minOrder` ASC [ RunTime:0.045928s ]
select * from pdf where partno='25-901-160-bar/psi-G1/4-GY40-BP3' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.013766s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-901-160-bar/psi-G1/4-GY40-BP3' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.053727s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083563 AND `partno` = '25-901-160-bar/psi-G1/4-GY40-BP3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.035955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18858721 [ RunTime:0.027441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083401 LIMIT 5 [ RunTime:0.025324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083401 ORDER BY `minOrder` ASC [ RunTime:0.024230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083401 ORDER BY `unit` DESC [ RunTime:0.039332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083401 LIMIT 2 [ RunTime:0.092742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083401 ORDER BY `minOrder` ASC [ RunTime:0.037351s ]
select * from pdf where partno='25-901-160-bar/psi-G1/4-GY40' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.037420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-901-160-bar/psi-G1/4-GY40' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.048149s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083401 AND `partno` = '25-901-160-bar/psi-G1/4-GY40' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.015722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18858685 [ RunTime:0.054244s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029616s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041442s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014794s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018217s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031906s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021720s ]
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 '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013724s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '25-901-160-bar/psi-G1/4-GY40%' OR `brand` LIKE '25-901-160-bar/psi-G1/4-GY40%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.047462s ]