SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002464s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023461s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.020565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11422859 LIMIT 5 [ RunTime:0.029248s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.023431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422859 ORDER BY `minOrder` ASC [ RunTime:0.017121s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11422859 ORDER BY `unit` DESC [ RunTime:0.014020s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11422859 LIMIT 2 [ RunTime:0.065723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422859 ORDER BY `minOrder` ASC [ RunTime:0.111212s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015326s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60467228 LIMIT 5 [ RunTime:0.049792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467228 ORDER BY `minOrder` ASC [ RunTime:0.150515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60467228 ORDER BY `unit` DESC [ RunTime:0.051607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60467228 LIMIT 2 [ RunTime:0.046880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467228 ORDER BY `minOrder` ASC [ RunTime:0.021373s ]
select * from pdf where partno='GFTQX-26' and brandshort='Curtis Industries' limit 1 [ RunTime:0.070115s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-26' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.037168s ]
SELECT `id` FROM `stock` WHERE `id` <> 60467228 AND `partno` = 'GFTQX-26' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.054359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60467183 LIMIT 5 [ RunTime:0.019573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467183 ORDER BY `minOrder` ASC [ RunTime:0.020316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60467183 ORDER BY `unit` DESC [ RunTime:0.036805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60467183 LIMIT 2 [ RunTime:0.072237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467183 ORDER BY `minOrder` ASC [ RunTime:0.037109s ]
select * from pdf where partno='GFTQX-25' and brandshort='Curtis Industries' limit 1 [ RunTime:0.025054s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-25' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.025621s ]
SELECT `id` FROM `stock` WHERE `id` <> 60467183 AND `partno` = 'GFTQX-25' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.055059s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60467132 LIMIT 5 [ RunTime:0.036734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467132 ORDER BY `minOrder` ASC [ RunTime:0.030298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60467132 ORDER BY `unit` DESC [ RunTime:0.000808s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60467132 LIMIT 2 [ RunTime:0.005996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467132 ORDER BY `minOrder` ASC [ RunTime:0.019458s ]
select * from pdf where partno='GFTQX-24' and brandshort='Curtis Industries' limit 1 [ RunTime:0.090941s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-24' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.078839s ]
SELECT `id` FROM `stock` WHERE `id` <> 60467132 AND `partno` = 'GFTQX-24' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.067320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60467070 LIMIT 5 [ RunTime:0.028402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467070 ORDER BY `minOrder` ASC [ RunTime:0.048063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60467070 ORDER BY `unit` DESC [ RunTime:0.076426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60467070 LIMIT 2 [ RunTime:0.062534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60467070 ORDER BY `minOrder` ASC [ RunTime:0.026367s ]
select * from pdf where partno='GFTQX-23' and brandshort='Curtis Industries' limit 1 [ RunTime:0.047754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-23' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.042638s ]
SELECT `id` FROM `stock` WHERE `id` <> 60467070 AND `partno` = 'GFTQX-23' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.074097s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60466999 LIMIT 5 [ RunTime:0.057295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466999 ORDER BY `minOrder` ASC [ RunTime:0.035725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60466999 ORDER BY `unit` DESC [ RunTime:0.027857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60466999 LIMIT 2 [ RunTime:0.053156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466999 ORDER BY `minOrder` ASC [ RunTime:0.088145s ]
select * from pdf where partno='GFTQX-22' and brandshort='Curtis Industries' limit 1 [ RunTime:0.072881s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-22' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.071686s ]
SELECT `id` FROM `stock` WHERE `id` <> 60466999 AND `partno` = 'GFTQX-22' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.046138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60466923 LIMIT 5 [ RunTime:0.141629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466923 ORDER BY `minOrder` ASC [ RunTime:0.180981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60466923 ORDER BY `unit` DESC [ RunTime:0.192814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60466923 LIMIT 2 [ RunTime:0.108213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466923 ORDER BY `minOrder` ASC [ RunTime:0.071798s ]
select * from pdf where partno='GFTQX-21' and brandshort='Curtis Industries' limit 1 [ RunTime:0.011734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-21' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.139152s ]
SELECT `id` FROM `stock` WHERE `id` <> 60466923 AND `partno` = 'GFTQX-21' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.143923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60466838 LIMIT 5 [ RunTime:0.202547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466838 ORDER BY `minOrder` ASC [ RunTime:0.175413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60466838 ORDER BY `unit` DESC [ RunTime:0.081634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60466838 LIMIT 2 [ RunTime:0.064763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60466838 ORDER BY `minOrder` ASC [ RunTime:0.075302s ]
select * from pdf where partno='GFTQX-20' and brandshort='Curtis Industries' limit 1 [ RunTime:0.053427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-20' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.089959s ]
SELECT `id` FROM `stock` WHERE `id` <> 60466838 AND `partno` = 'GFTQX-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.127272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60446206 LIMIT 5 [ RunTime:0.053289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60446206 ORDER BY `minOrder` ASC [ RunTime:0.092414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60446206 ORDER BY `unit` DESC [ RunTime:0.108981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60446206 LIMIT 2 [ RunTime:0.042248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60446206 ORDER BY `minOrder` ASC [ RunTime:0.001901s ]
select * from pdf where partno='GFTQX-2' and brandshort='Curtis Industries' limit 1 [ RunTime:0.070301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GFTQX-2' OR `brand` LIKE 'Curtis Industries%' ) ) LIMIT 1 [ RunTime:0.109744s ]
SELECT `id` FROM `stock` WHERE `id` <> 60446206 AND `partno` = 'GFTQX-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%curtis industries%' ) [ RunTime:0.051422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11422859 [ RunTime:0.050934s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066292s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039635s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109952s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.121948s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068936s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.083216s ]
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 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040174s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GFTQX-2%' OR `brand` LIKE 'GFTQX-2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.038657s ]