SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001180s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007883s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151243 LIMIT 5 [ RunTime:0.003766s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151243 ORDER BY `minOrder` ASC [ RunTime:0.005573s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17151243 ORDER BY `unit` DESC [ RunTime:0.001719s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17151243 LIMIT 2 [ RunTime:0.019550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151243 ORDER BY `minOrder` ASC [ RunTime:0.001916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151236 LIMIT 5 [ RunTime:0.008429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151236 ORDER BY `minOrder` ASC [ RunTime:0.004379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17151236 ORDER BY `unit` DESC [ RunTime:0.006102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17151236 LIMIT 2 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151236 ORDER BY `minOrder` ASC [ RunTime:0.001919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151195 LIMIT 5 [ RunTime:0.006115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151195 ORDER BY `minOrder` ASC [ RunTime:0.003259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17151195 ORDER BY `unit` DESC [ RunTime:0.001660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17151195 LIMIT 2 [ RunTime:0.001021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151195 ORDER BY `minOrder` ASC [ RunTime:0.002186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371699 LIMIT 5 [ RunTime:0.003584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371699 ORDER BY `minOrder` ASC [ RunTime:0.004221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371699 ORDER BY `unit` DESC [ RunTime:0.006923s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371699 LIMIT 2 [ RunTime:0.001080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371699 ORDER BY `minOrder` ASC [ RunTime:0.007721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371695 LIMIT 5 [ RunTime:0.021444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371695 ORDER BY `minOrder` ASC [ RunTime:0.002869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371695 ORDER BY `unit` DESC [ RunTime:0.010814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371695 LIMIT 2 [ RunTime:0.042726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371695 ORDER BY `minOrder` ASC [ RunTime:0.002818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371694 LIMIT 5 [ RunTime:0.005098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371694 ORDER BY `minOrder` ASC [ RunTime:0.013694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371694 ORDER BY `unit` DESC [ RunTime:0.013498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371694 LIMIT 2 [ RunTime:0.025346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371694 ORDER BY `minOrder` ASC [ RunTime:0.008956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371693 LIMIT 5 [ RunTime:0.019908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371693 ORDER BY `minOrder` ASC [ RunTime:0.007266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371693 ORDER BY `unit` DESC [ RunTime:0.000863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371693 LIMIT 2 [ RunTime:0.005852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371693 ORDER BY `minOrder` ASC [ RunTime:0.006645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371692 LIMIT 5 [ RunTime:0.010857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371692 ORDER BY `minOrder` ASC [ RunTime:0.022784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371692 ORDER BY `unit` DESC [ RunTime:0.028911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371692 LIMIT 2 [ RunTime:0.015801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371692 ORDER BY `minOrder` ASC [ RunTime:0.002980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371691 LIMIT 5 [ RunTime:0.004089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371691 ORDER BY `minOrder` ASC [ RunTime:0.024496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371691 ORDER BY `unit` DESC [ RunTime:0.032388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371691 LIMIT 2 [ RunTime:0.011448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371691 ORDER BY `minOrder` ASC [ RunTime:0.005782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371690 LIMIT 5 [ RunTime:0.022909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371690 ORDER BY `minOrder` ASC [ RunTime:0.010317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15371690 ORDER BY `unit` DESC [ RunTime:0.019972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15371690 LIMIT 2 [ RunTime:0.001612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15371690 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004415s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331469 LIMIT 5 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331469 ORDER BY `minOrder` ASC [ RunTime:0.030665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331469 ORDER BY `unit` DESC [ RunTime:0.021089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331469 LIMIT 2 [ RunTime:0.008188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331469 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='PI6W-1PS-230VAC/DC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.002991s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-230VAC/DC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.024074s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331469 AND `partno` = 'PI6W-1PS-230VAC/DC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.029805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371699 [ RunTime:0.003052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331468 LIMIT 5 [ RunTime:0.001712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331468 ORDER BY `minOrder` ASC [ RunTime:0.009765s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331468 ORDER BY `unit` DESC [ RunTime:0.024436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331468 LIMIT 2 [ RunTime:0.003322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331468 ORDER BY `minOrder` ASC [ RunTime:0.002762s ]
select * from pdf where partno='PI6W-1PS-115VAC/DC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.001286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-115VAC/DC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.003377s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331468 AND `partno` = 'PI6W-1PS-115VAC/DC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151243 [ RunTime:0.013142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331452 LIMIT 5 [ RunTime:0.039262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331452 ORDER BY `minOrder` ASC [ RunTime:0.004476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331452 ORDER BY `unit` DESC [ RunTime:0.007866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331452 LIMIT 2 [ RunTime:0.008679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331452 ORDER BY `minOrder` ASC [ RunTime:0.007866s ]
select * from pdf where partno='PI6W-1PS-6VDC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.005275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-6VDC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000899s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331452 AND `partno` = 'PI6W-1PS-6VDC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.006124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371695 [ RunTime:0.000651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331451 LIMIT 5 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331451 ORDER BY `minOrder` ASC [ RunTime:0.010385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331451 ORDER BY `unit` DESC [ RunTime:0.021884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331451 LIMIT 2 [ RunTime:0.014367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331451 ORDER BY `minOrder` ASC [ RunTime:0.005494s ]
select * from pdf where partno='PI6W-1PS-60VDC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.004505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-60VDC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.001203s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331451 AND `partno` = 'PI6W-1PS-60VDC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371694 [ RunTime:0.005041s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331450 LIMIT 5 [ RunTime:0.007405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331450 ORDER BY `minOrder` ASC [ RunTime:0.005775s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331450 ORDER BY `unit` DESC [ RunTime:0.005401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331450 LIMIT 2 [ RunTime:0.007523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331450 ORDER BY `minOrder` ASC [ RunTime:0.005868s ]
select * from pdf where partno='PI6W-1PS-48VDC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.016210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-48VDC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.003877s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331450 AND `partno` = 'PI6W-1PS-48VDC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.004861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371693 [ RunTime:0.000529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331449 LIMIT 5 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331449 ORDER BY `minOrder` ASC [ RunTime:0.009549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331449 ORDER BY `unit` DESC [ RunTime:0.001785s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331449 LIMIT 2 [ RunTime:0.000692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331449 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='PI6W-1PS-42VAC/DC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-42VAC/DC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.005146s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331449 AND `partno` = 'PI6W-1PS-42VAC/DC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.004049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371692 [ RunTime:0.003269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331448 LIMIT 5 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331448 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331448 ORDER BY `unit` DESC [ RunTime:0.001785s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331448 LIMIT 2 [ RunTime:0.005694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331448 ORDER BY `minOrder` ASC [ RunTime:0.005635s ]
select * from pdf where partno='PI6W-1PS-36VDC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-36VDC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.002166s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331448 AND `partno` = 'PI6W-1PS-36VDC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371691 [ RunTime:0.002529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331447 LIMIT 5 [ RunTime:0.001385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331447 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331447 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331447 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331447 ORDER BY `minOrder` ASC [ RunTime:0.002521s ]
select * from pdf where partno='PI6W-1PS-24VAC/DC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-24VAC/DC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.002738s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331447 AND `partno` = 'PI6W-1PS-24VAC/DC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.008531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15371690 [ RunTime:0.003378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331446 LIMIT 5 [ RunTime:0.006950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331446 ORDER BY `minOrder` ASC [ RunTime:0.007967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331446 ORDER BY `unit` DESC [ RunTime:0.002629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331446 LIMIT 2 [ RunTime:0.005908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331446 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='PI6W-1PS-12/24VDC' and brandshort='Altech Corporation' limit 1 [ RunTime:0.001345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1PS-12/24VDC' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.001313s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331446 AND `partno` = 'PI6W-1PS-12/24VDC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151236 [ RunTime:0.001032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331353 LIMIT 5 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331353 ORDER BY `minOrder` ASC [ RunTime:0.002831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331353 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331353 LIMIT 2 [ RunTime:0.000630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331353 ORDER BY `minOrder` ASC [ RunTime:0.005849s ]
select * from pdf where partno='PI6W-1P' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000630s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI6W-1P' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000455s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331353 AND `partno` = 'PI6W-1P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151195 [ RunTime:0.000407s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001482s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002301s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003615s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003301s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007241s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004970s ]
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 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001150s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PI6W-1P%' OR `brand` LIKE 'PI6W-1P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003376s ]