SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002727s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015116s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009219s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007856s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44091320 LIMIT 5 [ RunTime:0.004816s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091320 ORDER BY `minOrder` ASC [ RunTime:0.043621s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44091320 ORDER BY `unit` DESC [ RunTime:0.025076s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44091320 LIMIT 2 [ RunTime:0.010218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091320 ORDER BY `minOrder` ASC [ RunTime:0.001794s ]
select * from pdf where partno='HS2DA' and brandshort='Good-Ark Semiconductor' limit 1 [ RunTime:0.001948s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DA' OR `brand` LIKE 'Good-Ark Semiconductor%' ) ) LIMIT 1 [ RunTime:0.009939s ]
SELECT `id` FROM `stock` WHERE `id` <> 44091320 AND `partno` = 'HS2DA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%good-ark semiconductor%' ) [ RunTime:0.029515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086704 LIMIT 5 [ RunTime:0.007436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086704 ORDER BY `minOrder` ASC [ RunTime:0.007016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086704 ORDER BY `unit` DESC [ RunTime:0.014551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086704 LIMIT 2 [ RunTime:0.014331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086704 ORDER BY `minOrder` ASC [ RunTime:0.020540s ]
select * from pdf where partno='HS2DAH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.041760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DAH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.005184s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086704 AND `partno` = 'HS2DAH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.010675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086705 LIMIT 5 [ RunTime:0.023950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086705 ORDER BY `minOrder` ASC [ RunTime:0.027729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086705 ORDER BY `unit` DESC [ RunTime:0.015576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086705 LIMIT 2 [ RunTime:0.012095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086705 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='HS2DA' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.021143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DA' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.040463s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086705 AND `partno` = 'HS2DA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.053802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086910 LIMIT 5 [ RunTime:0.011777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086910 ORDER BY `minOrder` ASC [ RunTime:0.031633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086910 ORDER BY `unit` DESC [ RunTime:0.037086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086910 LIMIT 2 [ RunTime:0.024965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086910 ORDER BY `minOrder` ASC [ RunTime:0.025813s ]
select * from pdf where partno='HS2DALH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.016883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DALH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.025117s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086910 AND `partno` = 'HS2DALH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.026664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086909 LIMIT 5 [ RunTime:0.025362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086909 ORDER BY `minOrder` ASC [ RunTime:0.040833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086909 ORDER BY `unit` DESC [ RunTime:0.028075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086909 LIMIT 2 [ RunTime:0.048565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086909 ORDER BY `minOrder` ASC [ RunTime:0.025334s ]
select * from pdf where partno='HS2DFSH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.024196s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DFSH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.020632s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086909 AND `partno` = 'HS2DFSH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.006968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086242 LIMIT 5 [ RunTime:0.028504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086242 ORDER BY `minOrder` ASC [ RunTime:0.003368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086242 ORDER BY `unit` DESC [ RunTime:0.001999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086242 LIMIT 2 [ RunTime:0.001955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086242 ORDER BY `minOrder` ASC [ RunTime:0.000807s ]
select * from pdf where partno='HS2DFL' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.000791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DFL' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.000675s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086242 AND `partno` = 'HS2DFL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.000767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086421 LIMIT 5 [ RunTime:0.000899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086421 ORDER BY `minOrder` ASC [ RunTime:0.005072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086421 ORDER BY `unit` DESC [ RunTime:0.008619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086421 LIMIT 2 [ RunTime:0.010771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086421 ORDER BY `minOrder` ASC [ RunTime:0.007316s ]
select * from pdf where partno='HS2DAF-T' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.007178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DAF-T' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.009264s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086421 AND `partno` = 'HS2DAF-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.004072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44091898 LIMIT 5 [ RunTime:0.002765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091898 ORDER BY `minOrder` ASC [ RunTime:0.003490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44091898 ORDER BY `unit` DESC [ RunTime:0.004347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44091898 LIMIT 2 [ RunTime:0.002230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091898 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
select * from pdf where partno='HS2DFS' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.003342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DFS' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.001346s ]
SELECT `id` FROM `stock` WHERE `id` <> 44091898 AND `partno` = 'HS2DFS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.008448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086950 LIMIT 5 [ RunTime:0.004637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086950 ORDER BY `minOrder` ASC [ RunTime:0.001852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086950 ORDER BY `unit` DESC [ RunTime:0.004397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086950 LIMIT 2 [ RunTime:0.006868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086950 ORDER BY `minOrder` ASC [ RunTime:0.003924s ]
select * from pdf where partno='HS2D' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.008472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2D' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.002456s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086950 AND `partno` = 'HS2D' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.002996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44086945 LIMIT 5 [ RunTime:0.008292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086945 ORDER BY `minOrder` ASC [ RunTime:0.006386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44086945 ORDER BY `unit` DESC [ RunTime:0.007913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44086945 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44086945 ORDER BY `minOrder` ASC [ RunTime:0.000563s ]
select * from pdf where partno='HS2DH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.003962s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.006131s ]
SELECT `id` FROM `stock` WHERE `id` <> 44086945 AND `partno` = 'HS2DH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.008219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44091902 LIMIT 5 [ RunTime:0.004173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091902 ORDER BY `minOrder` ASC [ RunTime:0.014710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44091902 ORDER BY `unit` DESC [ RunTime:0.000831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44091902 LIMIT 2 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091902 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
select * from pdf where partno='HS2DAL' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.004260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DAL' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.000680s ]
SELECT `id` FROM `stock` WHERE `id` <> 44091902 AND `partno` = 'HS2DAL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.002700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44100324 LIMIT 5 [ RunTime:0.006597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44100324 ORDER BY `minOrder` ASC [ RunTime:0.004289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44100324 ORDER BY `unit` DESC [ RunTime:0.000722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44100324 LIMIT 2 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44100324 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='HS2D-T' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.006180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2D-T' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.003904s ]
SELECT `id` FROM `stock` WHERE `id` <> 44100324 AND `partno` = 'HS2D-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.000613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44099534 LIMIT 5 [ RunTime:0.008316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44099534 ORDER BY `minOrder` ASC [ RunTime:0.001300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44099534 ORDER BY `unit` DESC [ RunTime:0.003370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44099534 LIMIT 2 [ RunTime:0.012912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44099534 ORDER BY `minOrder` ASC [ RunTime:0.014290s ]
select * from pdf where partno='HS2DA-T' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.001200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS2DA-T' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.002885s ]
SELECT `id` FROM `stock` WHERE `id` <> 44099534 AND `partno` = 'HS2DA-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.010556s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014286s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016024s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023846s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023672s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003970s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020277s ]
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 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024100s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HS2D%' OR `brand` LIKE 'HS2D%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.011976s ]