SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002724s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034751s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11178368 LIMIT 5 [ RunTime:0.014902s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11178368 ORDER BY `minOrder` ASC [ RunTime:0.018216s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11178368 ORDER BY `unit` DESC [ RunTime:0.033375s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11178368 LIMIT 2 [ RunTime:0.013723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11178368 ORDER BY `minOrder` ASC [ RunTime:0.015340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19266390 LIMIT 5 [ RunTime:0.059930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19266390 ORDER BY `minOrder` ASC [ RunTime:0.058556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19266390 ORDER BY `unit` DESC [ RunTime:0.030990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19266390 LIMIT 2 [ RunTime:0.057751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19266390 ORDER BY `minOrder` ASC [ RunTime:0.061121s ]
select * from pdf where partno='2301600-R' and brandshort='Microchip Technology' limit 1 [ RunTime:0.046685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13127943 LIMIT 5 [ RunTime:0.051505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13127943 ORDER BY `minOrder` ASC [ RunTime:0.048800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13127943 ORDER BY `unit` DESC [ RunTime:0.049181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13127943 LIMIT 2 [ RunTime:0.106901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13127943 ORDER BY `minOrder` ASC [ RunTime:0.008938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12388169 LIMIT 5 [ RunTime:0.031203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12388169 ORDER BY `minOrder` ASC [ RunTime:0.093499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12388169 ORDER BY `unit` DESC [ RunTime:0.097861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12388169 LIMIT 2 [ RunTime:0.098523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12388169 ORDER BY `minOrder` ASC [ RunTime:0.031003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12388088 LIMIT 5 [ RunTime:0.051440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12388088 ORDER BY `minOrder` ASC [ RunTime:0.032417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12388088 ORDER BY `unit` DESC [ RunTime:0.016063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12388088 LIMIT 2 [ RunTime:0.090800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12388088 ORDER BY `minOrder` ASC [ RunTime:0.053323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12022115 LIMIT 5 [ RunTime:0.092969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12022115 ORDER BY `minOrder` ASC [ RunTime:0.030107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12022115 ORDER BY `unit` DESC [ RunTime:0.024665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12022115 LIMIT 2 [ RunTime:0.078954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12022115 ORDER BY `minOrder` ASC [ RunTime:0.013107s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035035s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63072718 LIMIT 5 [ RunTime:0.058601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63072718 ORDER BY `minOrder` ASC [ RunTime:0.045056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63072718 ORDER BY `unit` DESC [ RunTime:0.103829s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63072718 LIMIT 2 [ RunTime:0.054978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63072718 ORDER BY `minOrder` ASC [ RunTime:0.078651s ]
select * from pdf where partno='23016.9' and brandshort='Pflitsch' limit 1 [ RunTime:0.051868s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '23016.9' OR `brand` LIKE 'Pflitsch%' ) ) LIMIT 1 [ RunTime:0.022126s ]
SELECT `id` FROM `stock` WHERE `id` <> 63072718 AND `partno` = '23016.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pflitsch%' ) [ RunTime:0.137920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64250882 LIMIT 5 [ RunTime:0.039703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64250882 ORDER BY `minOrder` ASC [ RunTime:0.053989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64250882 ORDER BY `unit` DESC [ RunTime:0.061909s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64250882 LIMIT 2 [ RunTime:0.103706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64250882 ORDER BY `minOrder` ASC [ RunTime:0.038123s ]
select * from pdf where partno='2301600-R' and brandshort='Microchip Technology' limit 1 [ RunTime:0.005666s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301600-R' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.034834s ]
SELECT `id` FROM `stock` WHERE `id` <> 64250882 AND `partno` = '2301600-R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.041993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19266390 [ RunTime:0.053015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63491546 LIMIT 5 [ RunTime:0.062677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63491546 ORDER BY `minOrder` ASC [ RunTime:0.018849s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63491546 ORDER BY `unit` DESC [ RunTime:0.025358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63491546 LIMIT 2 [ RunTime:0.088981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63491546 ORDER BY `minOrder` ASC [ RunTime:0.011625s ]
select * from pdf where partno='2301620' and brandshort='SCS' limit 1 [ RunTime:0.036095s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301620' OR `brand` LIKE 'SCS%' ) ) LIMIT 1 [ RunTime:0.040804s ]
SELECT `id` FROM `stock` WHERE `id` <> 63491546 AND `partno` = '2301620' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%scs%' ) [ RunTime:0.057742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12388088 [ RunTime:0.012183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62117871 LIMIT 5 [ RunTime:0.023799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62117871 ORDER BY `minOrder` ASC [ RunTime:0.049922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62117871 ORDER BY `unit` DESC [ RunTime:0.025464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62117871 LIMIT 2 [ RunTime:0.017110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62117871 ORDER BY `minOrder` ASC [ RunTime:0.024151s ]
select * from pdf where partno='2301600-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.028531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301600-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.047789s ]
SELECT `id` FROM `stock` WHERE `id` <> 62117871 AND `partno` = '2301600-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.093810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13127943 [ RunTime:0.023330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59959564 LIMIT 5 [ RunTime:0.043956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59959564 ORDER BY `minOrder` ASC [ RunTime:0.030611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59959564 ORDER BY `unit` DESC [ RunTime:0.060822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59959564 LIMIT 2 [ RunTime:0.019501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59959564 ORDER BY `minOrder` ASC [ RunTime:0.043531s ]
select * from pdf where partno='2301695-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.046869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301695-2' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.037444s ]
SELECT `id` FROM `stock` WHERE `id` <> 59959564 AND `partno` = '2301695-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.054159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59959563 LIMIT 5 [ RunTime:0.053209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59959563 ORDER BY `minOrder` ASC [ RunTime:0.039453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59959563 ORDER BY `unit` DESC [ RunTime:0.008599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59959563 LIMIT 2 [ RunTime:0.048331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59959563 ORDER BY `minOrder` ASC [ RunTime:0.043695s ]
select * from pdf where partno='2301695-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.005048s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301695-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.017333s ]
SELECT `id` FROM `stock` WHERE `id` <> 59959563 AND `partno` = '2301695-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.004627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12022115 [ RunTime:0.007079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58552299 LIMIT 5 [ RunTime:0.039156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58552299 ORDER BY `minOrder` ASC [ RunTime:0.040127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58552299 ORDER BY `unit` DESC [ RunTime:0.021967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58552299 LIMIT 2 [ RunTime:0.028753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58552299 ORDER BY `minOrder` ASC [ RunTime:0.011678s ]
select * from pdf where partno='23016' and brandshort='Dremel' limit 1 [ RunTime:0.078655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '23016' OR `brand` LIKE 'Dremel%' ) ) LIMIT 1 [ RunTime:0.026239s ]
SELECT `id` FROM `stock` WHERE `id` <> 58552299 AND `partno` = '23016' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dremel%' ) [ RunTime:0.043818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49677267 LIMIT 5 [ RunTime:0.032532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49677267 ORDER BY `minOrder` ASC [ RunTime:0.028597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49677267 ORDER BY `unit` DESC [ RunTime:0.002564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49677267 LIMIT 2 [ RunTime:0.011586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49677267 ORDER BY `minOrder` ASC [ RunTime:0.010721s ]
select * from pdf where partno='2301611' and brandshort='SCS' limit 1 [ RunTime:0.014437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301611' OR `brand` LIKE 'SCS%' ) ) LIMIT 1 [ RunTime:0.010055s ]
SELECT `id` FROM `stock` WHERE `id` <> 49677267 AND `partno` = '2301611' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%scs%' ) [ RunTime:0.023821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12388169 [ RunTime:0.000308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36870552 LIMIT 5 [ RunTime:0.046373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36870552 ORDER BY `minOrder` ASC [ RunTime:0.108543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36870552 ORDER BY `unit` DESC [ RunTime:0.127995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36870552 LIMIT 2 [ RunTime:0.075721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36870552 ORDER BY `minOrder` ASC [ RunTime:0.078445s ]
select * from pdf where partno='2301611' and brandshort='SCS' limit 1 [ RunTime:0.045725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301611' OR `brand` LIKE 'SCS%' ) ) LIMIT 1 [ RunTime:0.022652s ]
SELECT `id` FROM `stock` WHERE `id` <> 36870552 AND `partno` = '2301611' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%scs%' ) [ RunTime:0.072640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12388169 [ RunTime:0.021125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32482278 LIMIT 5 [ RunTime:0.041678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32482278 ORDER BY `minOrder` ASC [ RunTime:0.049711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32482278 ORDER BY `unit` DESC [ RunTime:0.092755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32482278 LIMIT 2 [ RunTime:0.083297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32482278 ORDER BY `minOrder` ASC [ RunTime:0.016980s ]
select * from pdf where partno='23016' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.130041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '23016' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.051913s ]
SELECT `id` FROM `stock` WHERE `id` <> 32482278 AND `partno` = '23016' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.080682s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025449s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078369s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.139109s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.197744s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.115548s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.175454s ]
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 '23016%' OR `brand` LIKE '23016%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085296s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '23016%' OR `brand` LIKE '23016%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.122362s ]