SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001571s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010683s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16416505 LIMIT 5 [ RunTime:0.012196s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416505 ORDER BY `minOrder` ASC [ RunTime:0.012369s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16416505 ORDER BY `unit` DESC [ RunTime:0.002569s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16416505 LIMIT 2 [ RunTime:0.015006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416505 ORDER BY `minOrder` ASC [ RunTime:0.006804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418204 LIMIT 5 [ RunTime:0.008206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418204 ORDER BY `minOrder` ASC [ RunTime:0.010673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16418204 ORDER BY `unit` DESC [ RunTime:0.015033s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16418204 LIMIT 2 [ RunTime:0.006891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418204 ORDER BY `minOrder` ASC [ RunTime:0.004469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418169 LIMIT 5 [ RunTime:0.003152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418169 ORDER BY `minOrder` ASC [ RunTime:0.005062s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16418169 ORDER BY `unit` DESC [ RunTime:0.009233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16418169 LIMIT 2 [ RunTime:0.002388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418169 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418167 LIMIT 5 [ RunTime:0.002250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418167 ORDER BY `minOrder` ASC [ RunTime:0.004618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16418167 ORDER BY `unit` DESC [ RunTime:0.001995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16418167 LIMIT 2 [ RunTime:0.005026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16418167 ORDER BY `minOrder` ASC [ RunTime:0.001446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14404541 LIMIT 5 [ RunTime:0.003200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14404541 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14404541 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14404541 LIMIT 2 [ RunTime:0.002037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14404541 ORDER BY `minOrder` ASC [ RunTime:0.004260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13534503 LIMIT 5 [ RunTime:0.001478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13534503 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13534503 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13534503 LIMIT 2 [ RunTime:0.005277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13534503 ORDER BY `minOrder` ASC [ RunTime:0.001438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13533937 LIMIT 5 [ RunTime:0.000881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13533937 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13533937 ORDER BY `unit` DESC [ RunTime:0.003864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13533937 LIMIT 2 [ RunTime:0.005934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13533937 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13533929 LIMIT 5 [ RunTime:0.008319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13533929 ORDER BY `minOrder` ASC [ RunTime:0.002015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13533929 ORDER BY `unit` DESC [ RunTime:0.001734s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13533929 LIMIT 2 [ RunTime:0.007036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13533929 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004489s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63109327 LIMIT 5 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63109327 ORDER BY `minOrder` ASC [ RunTime:0.000722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63109327 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63109327 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63109327 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='3PS-250-2-YL' and brandshort='Brady Corporation' limit 1 [ RunTime:0.005522s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002039s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.001067s ]
SELECT `id` FROM `stock` WHERE `id` <> 63109327 AND `partno` = '3PS-250-2-YL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.002772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16416505 [ RunTime:0.000572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63117976 LIMIT 5 [ RunTime:0.001821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63117976 ORDER BY `minOrder` ASC [ RunTime:0.000988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63117976 ORDER BY `unit` DESC [ RunTime:0.000579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63117976 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63117976 ORDER BY `minOrder` ASC [ RunTime:0.000882s ]
select * from pdf where partno='3PS-250-2-YL-2' and brandshort='Brady Corporation' limit 1 [ RunTime:0.002167s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-2' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002920s ]
SELECT `id` FROM `stock` WHERE `id` <> 63117976 AND `partno` = '3PS-250-2-YL-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.003332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14404541 [ RunTime:0.001850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63117955 LIMIT 5 [ RunTime:0.003515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63117955 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63117955 ORDER BY `unit` DESC [ RunTime:0.000429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63117955 LIMIT 2 [ RunTime:0.000658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63117955 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='3PS-250-2-YL-4' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-4' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT `id` FROM `stock` WHERE `id` <> 63117955 AND `partno` = '3PS-250-2-YL-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13534503 [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63116431 LIMIT 5 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116431 ORDER BY `minOrder` ASC [ RunTime:0.001050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63116431 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63116431 LIMIT 2 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116431 ORDER BY `minOrder` ASC [ RunTime:0.000672s ]
select * from pdf where partno='3PS-250-2-YL-S-2' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000959s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-S-2' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000839s ]
SELECT `id` FROM `stock` WHERE `id` <> 63116431 AND `partno` = '3PS-250-2-YL-S-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13533937 [ RunTime:0.001303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63116405 LIMIT 5 [ RunTime:0.000712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116405 ORDER BY `minOrder` ASC [ RunTime:0.000699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63116405 ORDER BY `unit` DESC [ RunTime:0.003812s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63116405 LIMIT 2 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116405 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='3PS-250-2-YL-S-4' and brandshort='Brady Corporation' limit 1 [ RunTime:0.001177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-S-4' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000739s ]
SELECT `id` FROM `stock` WHERE `id` <> 63116405 AND `partno` = '3PS-250-2-YL-S-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13533929 [ RunTime:0.000710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63116325 LIMIT 5 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116325 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63116325 ORDER BY `unit` DESC [ RunTime:0.000438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63116325 LIMIT 2 [ RunTime:0.001455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116325 ORDER BY `minOrder` ASC [ RunTime:0.002356s ]
select * from pdf where partno='3PS-250-2-YL-SC' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000833s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-SC' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000867s ]
SELECT `id` FROM `stock` WHERE `id` <> 63116325 AND `partno` = '3PS-250-2-YL-SC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418169 [ RunTime:0.003045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63116322 LIMIT 5 [ RunTime:0.002222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116322 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63116322 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63116322 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63116322 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
select * from pdf where partno='3PS-250-2-YL-SC-2' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-SC-2' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002000s ]
SELECT `id` FROM `stock` WHERE `id` <> 63116322 AND `partno` = '3PS-250-2-YL-SC-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.003193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418167 [ RunTime:0.001549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63110985 LIMIT 5 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63110985 ORDER BY `minOrder` ASC [ RunTime:0.001098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63110985 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63110985 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63110985 ORDER BY `minOrder` ASC [ RunTime:0.000682s ]
select * from pdf where partno='3PS-250-2-YL-S' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000727s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3PS-250-2-YL-S' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.001417s ]
SELECT `id` FROM `stock` WHERE `id` <> 63110985 AND `partno` = '3PS-250-2-YL-S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.003535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16418204 [ RunTime:0.000579s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001152s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002188s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001282s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001819s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003566s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001417s ]
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 '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001403s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3PS-250-2-YL%' OR `brand` LIKE '3PS-250-2-YL%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005023s ]