SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001052s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027706s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13534782 LIMIT 5 [ RunTime:0.022289s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13534782 ORDER BY `minOrder` ASC [ RunTime:0.000721s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13534782 ORDER BY `unit` DESC [ RunTime:0.021088s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13534782 LIMIT 2 [ RunTime:0.013287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13534782 ORDER BY `minOrder` ASC [ RunTime:0.012851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16975544 LIMIT 5 [ RunTime:0.003383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16975544 ORDER BY `minOrder` ASC [ RunTime:0.010909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16975544 ORDER BY `unit` DESC [ RunTime:0.000601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16975544 LIMIT 2 [ RunTime:0.006525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16975544 ORDER BY `minOrder` ASC [ RunTime:0.004370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13286327 LIMIT 5 [ RunTime:0.007909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13286327 ORDER BY `minOrder` ASC [ RunTime:0.003811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13286327 ORDER BY `unit` DESC [ RunTime:0.000744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13286327 LIMIT 2 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13286327 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017179 LIMIT 5 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017179 ORDER BY `minOrder` ASC [ RunTime:0.009442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12017179 ORDER BY `unit` DESC [ RunTime:0.009710s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12017179 LIMIT 2 [ RunTime:0.008112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017179 ORDER BY `minOrder` ASC [ RunTime:0.012423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017178 LIMIT 5 [ RunTime:0.013388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017178 ORDER BY `minOrder` ASC [ RunTime:0.007170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12017178 ORDER BY `unit` DESC [ RunTime:0.001631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12017178 LIMIT 2 [ RunTime:0.015904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017178 ORDER BY `minOrder` ASC [ RunTime:0.001852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017164 LIMIT 5 [ RunTime:0.002524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017164 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12017164 ORDER BY `unit` DESC [ RunTime:0.003769s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12017164 LIMIT 2 [ RunTime:0.007101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12017164 ORDER BY `minOrder` ASC [ RunTime:0.001301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12016761 LIMIT 5 [ RunTime:0.001921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12016761 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12016761 ORDER BY `unit` DESC [ RunTime:0.000602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12016761 LIMIT 2 [ RunTime:0.002172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12016761 ORDER BY `minOrder` ASC [ RunTime:0.000761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11251681 LIMIT 5 [ RunTime:0.002506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251681 ORDER BY `minOrder` ASC [ RunTime:0.002301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11251681 ORDER BY `unit` DESC [ RunTime:0.000465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11251681 LIMIT 2 [ RunTime:0.001730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251681 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002676s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49282763 LIMIT 5 [ RunTime:0.002770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49282763 ORDER BY `minOrder` ASC [ RunTime:0.001405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49282763 ORDER BY `unit` DESC [ RunTime:0.005998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49282763 LIMIT 2 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49282763 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
select * from pdf where partno='405309-000' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.001726s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '405309-000' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.001009s ]
SELECT `id` FROM `stock` WHERE `id` <> 49282763 AND `partno` = '405309-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.003732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13534782 [ RunTime:0.006156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36485838 LIMIT 5 [ RunTime:0.010857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36485838 ORDER BY `minOrder` ASC [ RunTime:0.004402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36485838 ORDER BY `unit` DESC [ RunTime:0.001527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36485838 LIMIT 2 [ RunTime:0.015501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36485838 ORDER BY `minOrder` ASC [ RunTime:0.000965s ]
select * from pdf where partno='405309-000' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '405309-000' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.006104s ]
SELECT `id` FROM `stock` WHERE `id` <> 36485838 AND `partno` = '405309-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.003246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13534782 [ RunTime:0.008952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44006534 LIMIT 5 [ RunTime:0.009143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44006534 ORDER BY `minOrder` ASC [ RunTime:0.005949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44006534 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44006534 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44006534 ORDER BY `minOrder` ASC [ RunTime:0.004397s ]
select * from pdf where partno='40530' and brandshort='Vicor Corporation' limit 1 [ RunTime:0.001987s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40530' OR `brand` LIKE 'Vicor Corporation%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT `id` FROM `stock` WHERE `id` <> 44006534 AND `partno` = '40530' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vicor corporation%' ) [ RunTime:0.002843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16975544 [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32401320 LIMIT 5 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401320 ORDER BY `minOrder` ASC [ RunTime:0.002382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32401320 ORDER BY `unit` DESC [ RunTime:0.000800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32401320 LIMIT 2 [ RunTime:0.004808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401320 ORDER BY `minOrder` ASC [ RunTime:0.009372s ]
select * from pdf where partno='4053015' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.004982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053015' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001064s ]
SELECT `id` FROM `stock` WHERE `id` <> 32401320 AND `partno` = '4053015' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13286327 [ RunTime:0.004363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32401070 LIMIT 5 [ RunTime:0.001798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401070 ORDER BY `minOrder` ASC [ RunTime:0.002004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32401070 ORDER BY `unit` DESC [ RunTime:0.000871s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32401070 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401070 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='4053017' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.007377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053017' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.003488s ]
SELECT `id` FROM `stock` WHERE `id` <> 32401070 AND `partno` = '4053017' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32401041 LIMIT 5 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401041 ORDER BY `minOrder` ASC [ RunTime:0.000479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32401041 ORDER BY `unit` DESC [ RunTime:0.006074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32401041 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401041 ORDER BY `minOrder` ASC [ RunTime:0.002182s ]
select * from pdf where partno='4053044' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.005140s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053044' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000770s ]
SELECT `id` FROM `stock` WHERE `id` <> 32401041 AND `partno` = '4053044' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017179 [ RunTime:0.004507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32401040 LIMIT 5 [ RunTime:0.002435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401040 ORDER BY `minOrder` ASC [ RunTime:0.002373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32401040 ORDER BY `unit` DESC [ RunTime:0.000462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32401040 LIMIT 2 [ RunTime:0.004360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401040 ORDER BY `minOrder` ASC [ RunTime:0.001835s ]
select * from pdf where partno='4053016' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.007601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053016' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.008597s ]
SELECT `id` FROM `stock` WHERE `id` <> 32401040 AND `partno` = '4053016' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017178 [ RunTime:0.000701s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32401007 LIMIT 5 [ RunTime:0.003186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401007 ORDER BY `minOrder` ASC [ RunTime:0.007011s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32401007 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32401007 LIMIT 2 [ RunTime:0.000424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32401007 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
select * from pdf where partno='4053009' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000571s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053009' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000406s ]
SELECT `id` FROM `stock` WHERE `id` <> 32401007 AND `partno` = '4053009' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.000388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12017164 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32389295 LIMIT 5 [ RunTime:0.000670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32389295 ORDER BY `minOrder` ASC [ RunTime:0.002618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32389295 ORDER BY `unit` DESC [ RunTime:0.000732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32389295 LIMIT 2 [ RunTime:0.000756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32389295 ORDER BY `minOrder` ASC [ RunTime:0.001286s ]
select * from pdf where partno='4053068' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.002410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053068' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.002134s ]
SELECT `id` FROM `stock` WHERE `id` <> 32389295 AND `partno` = '4053068' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12016761 [ RunTime:0.000710s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001435s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001284s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002654s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002850s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002704s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002954s ]
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 '40530%' OR `brand` LIKE '40530%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010399s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '40530%' OR `brand` LIKE '40530%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004937s ]