SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001586s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016865s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005708s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016574s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086810 LIMIT 5 [ RunTime:0.007099s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.032751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086810 ORDER BY `minOrder` ASC [ RunTime:0.007341s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086810 ORDER BY `unit` DESC [ RunTime:0.010370s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008934s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086810 LIMIT 2 [ RunTime:0.017986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086810 ORDER BY `minOrder` ASC [ RunTime:0.017842s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3-SPMC-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.016498s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3-SPMC-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.023671s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086810 AND `partno` = '25-911-1000-psi/bar-SG-BP3-SPMC-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.044899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086772 LIMIT 5 [ RunTime:0.056022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086772 ORDER BY `minOrder` ASC [ RunTime:0.051364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086772 ORDER BY `unit` DESC [ RunTime:0.026013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086772 LIMIT 2 [ RunTime:0.065795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086772 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-SPMC-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.070307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-SPMC-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.052281s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086772 AND `partno` = '25-911-1000-psi/bar-SG-SPMC-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.056379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086610 LIMIT 5 [ RunTime:0.076199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086610 ORDER BY `minOrder` ASC [ RunTime:0.068248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086610 ORDER BY `unit` DESC [ RunTime:0.009699s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086610 LIMIT 2 [ RunTime:0.060213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086610 ORDER BY `minOrder` ASC [ RunTime:0.042398s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3-PMC-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.036649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3-PMC-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.036475s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086610 AND `partno` = '25-911-1000-psi/bar-SG-BP3-PMC-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.048194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086572 LIMIT 5 [ RunTime:0.020880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086572 ORDER BY `minOrder` ASC [ RunTime:0.057611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086572 ORDER BY `unit` DESC [ RunTime:0.041957s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086572 LIMIT 2 [ RunTime:0.071252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086572 ORDER BY `minOrder` ASC [ RunTime:0.015433s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-PMC-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.024263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-PMC-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.050955s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086572 AND `partno` = '25-911-1000-psi/bar-SG-PMC-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.029656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086290 LIMIT 5 [ RunTime:0.039981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086290 ORDER BY `minOrder` ASC [ RunTime:0.028242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086290 ORDER BY `unit` DESC [ RunTime:0.015185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086290 LIMIT 2 [ RunTime:0.022604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086290 ORDER BY `minOrder` ASC [ RunTime:0.009507s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.004153s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.033205s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086290 AND `partno` = '25-911-1000-psi/bar-SG-BP3-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.021425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64086191 LIMIT 5 [ RunTime:0.018242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086191 ORDER BY `minOrder` ASC [ RunTime:0.015491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64086191 ORDER BY `unit` DESC [ RunTime:0.006542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64086191 LIMIT 2 [ RunTime:0.017067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64086191 ORDER BY `minOrder` ASC [ RunTime:0.010236s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-CC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.020875s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-CC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.013500s ]
SELECT `id` FROM `stock` WHERE `id` <> 64086191 AND `partno` = '25-911-1000-psi/bar-SG-CC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.026052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64084186 LIMIT 5 [ RunTime:0.017497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64084186 ORDER BY `minOrder` ASC [ RunTime:0.027880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64084186 ORDER BY `unit` DESC [ RunTime:0.016837s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64084186 LIMIT 2 [ RunTime:0.002345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64084186 ORDER BY `minOrder` ASC [ RunTime:0.025759s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3-SPMC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.015485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3-SPMC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.050045s ]
SELECT `id` FROM `stock` WHERE `id` <> 64084186 AND `partno` = '25-911-1000-psi/bar-SG-BP3-SPMC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.010145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64084103 LIMIT 5 [ RunTime:0.003919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64084103 ORDER BY `minOrder` ASC [ RunTime:0.017034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64084103 ORDER BY `unit` DESC [ RunTime:0.025723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64084103 LIMIT 2 [ RunTime:0.009229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64084103 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-SPMC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.018200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-SPMC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.016447s ]
SELECT `id` FROM `stock` WHERE `id` <> 64084103 AND `partno` = '25-911-1000-psi/bar-SG-SPMC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.015157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083807 LIMIT 5 [ RunTime:0.023537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083807 ORDER BY `minOrder` ASC [ RunTime:0.034391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083807 ORDER BY `unit` DESC [ RunTime:0.028779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083807 LIMIT 2 [ RunTime:0.005415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083807 ORDER BY `minOrder` ASC [ RunTime:0.009730s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3-PMC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.005813s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3-PMC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.007826s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083807 AND `partno` = '25-911-1000-psi/bar-SG-BP3-PMC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.040314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083767 LIMIT 5 [ RunTime:0.012214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083767 ORDER BY `minOrder` ASC [ RunTime:0.043494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083767 ORDER BY `unit` DESC [ RunTime:0.019339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083767 LIMIT 2 [ RunTime:0.050821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083767 ORDER BY `minOrder` ASC [ RunTime:0.029891s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-PMC' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.015575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-PMC' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.029376s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083767 AND `partno` = '25-911-1000-psi/bar-SG-PMC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.033883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083467 LIMIT 5 [ RunTime:0.042079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083467 ORDER BY `minOrder` ASC [ RunTime:0.033636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083467 ORDER BY `unit` DESC [ RunTime:0.045424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083467 LIMIT 2 [ RunTime:0.015972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083467 ORDER BY `minOrder` ASC [ RunTime:0.005269s ]
select * from pdf where partno='25-911-1000-psi/bar-SG-BP3' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.035852s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG-BP3' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.033869s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083467 AND `partno` = '25-911-1000-psi/bar-SG-BP3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.023127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64083320 LIMIT 5 [ RunTime:0.045347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083320 ORDER BY `minOrder` ASC [ RunTime:0.051223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64083320 ORDER BY `unit` DESC [ RunTime:0.045511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64083320 LIMIT 2 [ RunTime:0.062483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64083320 ORDER BY `minOrder` ASC [ RunTime:0.022799s ]
select * from pdf where partno='25-911-1000-psi/bar-SG' and brandshort='NOSHOK, Inc.' limit 1 [ RunTime:0.036445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25-911-1000-psi/bar-SG' OR `brand` LIKE 'NOSHOK, Inc.%' ) ) LIMIT 1 [ RunTime:0.079590s ]
SELECT `id` FROM `stock` WHERE `id` <> 64083320 AND `partno` = '25-911-1000-psi/bar-SG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%noshok, inc.%' ) [ RunTime:0.032030s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068455s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105507s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050428s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080553s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074332s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.083778s ]
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-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078235s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '25-911-1000-psi/bar-SG%' OR `brand` LIKE '25-911-1000-psi/bar-SG%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.107175s ]