SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001415s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025330s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19033808 LIMIT 5 [ RunTime:0.006095s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19033808 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19033808 ORDER BY `unit` DESC [ RunTime:0.006061s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19033808 LIMIT 2 [ RunTime:0.009295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19033808 ORDER BY `minOrder` ASC [ RunTime:0.014939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19028620 LIMIT 5 [ RunTime:0.024578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19028620 ORDER BY `minOrder` ASC [ RunTime:0.024041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19028620 ORDER BY `unit` DESC [ RunTime:0.011428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19028620 LIMIT 2 [ RunTime:0.055421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19028620 ORDER BY `minOrder` ASC [ RunTime:0.028519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19028279 LIMIT 5 [ RunTime:0.022277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19028279 ORDER BY `minOrder` ASC [ RunTime:0.009974s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19028279 ORDER BY `unit` DESC [ RunTime:0.013652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19028279 LIMIT 2 [ RunTime:0.025616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19028279 ORDER BY `minOrder` ASC [ RunTime:0.005013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19027695 LIMIT 5 [ RunTime:0.005706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19027695 ORDER BY `minOrder` ASC [ RunTime:0.015246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19027695 ORDER BY `unit` DESC [ RunTime:0.004923s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19027695 LIMIT 2 [ RunTime:0.016647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19027695 ORDER BY `minOrder` ASC [ RunTime:0.005719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19025818 LIMIT 5 [ RunTime:0.012679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19025818 ORDER BY `minOrder` ASC [ RunTime:0.006258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19025818 ORDER BY `unit` DESC [ RunTime:0.007536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19025818 LIMIT 2 [ RunTime:0.013800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19025818 ORDER BY `minOrder` ASC [ RunTime:0.022322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14203325 LIMIT 5 [ RunTime:0.017357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14203325 ORDER BY `minOrder` ASC [ RunTime:0.056397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14203325 ORDER BY `unit` DESC [ RunTime:0.026165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14203325 LIMIT 2 [ RunTime:0.026122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14203325 ORDER BY `minOrder` ASC [ RunTime:0.006135s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32220913 LIMIT 5 [ RunTime:0.040743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220913 ORDER BY `minOrder` ASC [ RunTime:0.006274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32220913 ORDER BY `unit` DESC [ RunTime:0.026637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32220913 LIMIT 2 [ RunTime:0.018424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220913 ORDER BY `minOrder` ASC [ RunTime:0.004597s ]
select * from pdf where partno='ej10106ss' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.015863s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ej10106ss' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.014913s ]
SELECT `id` FROM `stock` WHERE `id` <> 32220913 AND `partno` = 'ej10106ss' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.021869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19028279 [ RunTime:0.026575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32220391 LIMIT 5 [ RunTime:0.011424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220391 ORDER BY `minOrder` ASC [ RunTime:0.000876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32220391 ORDER BY `unit` DESC [ RunTime:0.009604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32220391 LIMIT 2 [ RunTime:0.008767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220391 ORDER BY `minOrder` ASC [ RunTime:0.003451s ]
select * from pdf where partno='ej10106' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.006521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ej10106' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.024697s ]
SELECT `id` FROM `stock` WHERE `id` <> 32220391 AND `partno` = 'ej10106' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.014410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19033808 [ RunTime:0.012822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32220483 LIMIT 5 [ RunTime:0.015570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220483 ORDER BY `minOrder` ASC [ RunTime:0.012542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32220483 ORDER BY `unit` DESC [ RunTime:0.006482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32220483 LIMIT 2 [ RunTime:0.019396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32220483 ORDER BY `minOrder` ASC [ RunTime:0.034152s ]
select * from pdf where partno='ej10106al' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.006332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ej10106al' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.003718s ]
SELECT `id` FROM `stock` WHERE `id` <> 32220483 AND `partno` = 'ej10106al' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.003887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19027695 [ RunTime:0.011495s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63420858 LIMIT 5 [ RunTime:0.004746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63420858 ORDER BY `minOrder` ASC [ RunTime:0.002375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63420858 ORDER BY `unit` DESC [ RunTime:0.001097s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63420858 LIMIT 2 [ RunTime:0.028978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63420858 ORDER BY `minOrder` ASC [ RunTime:0.016885s ]
select * from pdf where partno='EJ10106' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000622s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.002577s ]
SELECT `id` FROM `stock` WHERE `id` <> 63420858 AND `partno` = 'EJ10106' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.002897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19033808 [ RunTime:0.006271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63443544 LIMIT 5 [ RunTime:0.016617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63443544 ORDER BY `minOrder` ASC [ RunTime:0.016841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63443544 ORDER BY `unit` DESC [ RunTime:0.007186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63443544 LIMIT 2 [ RunTime:0.011580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63443544 ORDER BY `minOrder` ASC [ RunTime:0.006875s ]
select * from pdf where partno='EJ10106S16' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.012552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106S16' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.024711s ]
SELECT `id` FROM `stock` WHERE `id` <> 63443544 AND `partno` = 'EJ10106S16' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.021768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19028620 [ RunTime:0.048518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63442879 LIMIT 5 [ RunTime:0.015598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63442879 ORDER BY `minOrder` ASC [ RunTime:0.022461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63442879 ORDER BY `unit` DESC [ RunTime:0.003746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63442879 LIMIT 2 [ RunTime:0.016442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63442879 ORDER BY `minOrder` ASC [ RunTime:0.039438s ]
select * from pdf where partno='EJ10106SS' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.063900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106SS' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.016347s ]
SELECT `id` FROM `stock` WHERE `id` <> 63442879 AND `partno` = 'EJ10106SS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.037307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19028279 [ RunTime:0.030676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63441944 LIMIT 5 [ RunTime:0.048925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63441944 ORDER BY `minOrder` ASC [ RunTime:0.052118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63441944 ORDER BY `unit` DESC [ RunTime:0.011764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63441944 LIMIT 2 [ RunTime:0.023481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63441944 ORDER BY `minOrder` ASC [ RunTime:0.016269s ]
select * from pdf where partno='EJ10106AL' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000492s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106AL' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.028941s ]
SELECT `id` FROM `stock` WHERE `id` <> 63441944 AND `partno` = 'EJ10106AL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.016968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19027695 [ RunTime:0.005525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63439347 LIMIT 5 [ RunTime:0.025633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63439347 ORDER BY `minOrder` ASC [ RunTime:0.010039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63439347 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63439347 LIMIT 2 [ RunTime:0.017020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63439347 ORDER BY `minOrder` ASC [ RunTime:0.012712s ]
select * from pdf where partno='EJ10106LG' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.007879s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106LG' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.003748s ]
SELECT `id` FROM `stock` WHERE `id` <> 63439347 AND `partno` = 'EJ10106LG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.010465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14203325 [ RunTime:0.010923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36816555 LIMIT 5 [ RunTime:0.041867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36816555 ORDER BY `minOrder` ASC [ RunTime:0.033604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36816555 ORDER BY `unit` DESC [ RunTime:0.010282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36816555 LIMIT 2 [ RunTime:0.007611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36816555 ORDER BY `minOrder` ASC [ RunTime:0.001223s ]
select * from pdf where partno='EJ10106LP' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.005381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EJ10106LP' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.015469s ]
SELECT `id` FROM `stock` WHERE `id` <> 36816555 AND `partno` = 'EJ10106LP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.006042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19025818 [ RunTime:0.018620s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064041s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028317s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052856s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029101s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009752s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049441s ]
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 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028232s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ej10106%' OR `brand` LIKE 'ej10106%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.045421s ]