SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003643s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078942s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12685379 LIMIT 5 [ RunTime:0.058722s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12685379 ORDER BY `minOrder` ASC [ RunTime:0.075088s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12685379 ORDER BY `unit` DESC [ RunTime:0.190169s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.040846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12685379 LIMIT 2 [ RunTime:0.050919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12685379 ORDER BY `minOrder` ASC [ RunTime:0.034358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11532584 LIMIT 5 [ RunTime:0.132940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11532584 ORDER BY `minOrder` ASC [ RunTime:0.050958s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11532584 ORDER BY `unit` DESC [ RunTime:0.018039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11532584 LIMIT 2 [ RunTime:0.106809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11532584 ORDER BY `minOrder` ASC [ RunTime:0.090037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11532055 LIMIT 5 [ RunTime:0.050738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11532055 ORDER BY `minOrder` ASC [ RunTime:0.036766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11532055 ORDER BY `unit` DESC [ RunTime:0.024716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11532055 LIMIT 2 [ RunTime:0.168619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11532055 ORDER BY `minOrder` ASC [ RunTime:0.027022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11516413 LIMIT 5 [ RunTime:0.077132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11516413 ORDER BY `minOrder` ASC [ RunTime:0.050760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11516413 ORDER BY `unit` DESC [ RunTime:0.048854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11516413 LIMIT 2 [ RunTime:0.036359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11516413 ORDER BY `minOrder` ASC [ RunTime:0.030260s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.158938s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59807614 LIMIT 5 [ RunTime:0.071849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59807614 ORDER BY `minOrder` ASC [ RunTime:0.051577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59807614 ORDER BY `unit` DESC [ RunTime:0.073532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59807614 LIMIT 2 [ RunTime:0.246881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59807614 ORDER BY `minOrder` ASC [ RunTime:0.182240s ]
select * from pdf where partno='SSW-108-01-G-P-003' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.076392s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSW-108-01-G-P-003' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.103801s ]
SELECT `id` FROM `stock` WHERE `id` <> 59807614 AND `partno` = 'SSW-108-01-G-P-003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.097581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12685379 [ RunTime:0.150785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59806265 LIMIT 5 [ RunTime:0.058115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59806265 ORDER BY `minOrder` ASC [ RunTime:0.174576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59806265 ORDER BY `unit` DESC [ RunTime:0.075981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59806265 LIMIT 2 [ RunTime:0.073827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59806265 ORDER BY `minOrder` ASC [ RunTime:0.019838s ]
select * from pdf where partno='SSW-108-01-G-P-LL' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.087448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSW-108-01-G-P-LL' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.124014s ]
SELECT `id` FROM `stock` WHERE `id` <> 59806265 AND `partno` = 'SSW-108-01-G-P-LL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.086186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11532584 [ RunTime:0.063253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59804830 LIMIT 5 [ RunTime:0.046337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59804830 ORDER BY `minOrder` ASC [ RunTime:0.140894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59804830 ORDER BY `unit` DESC [ RunTime:0.153784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59804830 LIMIT 2 [ RunTime:0.037660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59804830 ORDER BY `minOrder` ASC [ RunTime:0.076656s ]
select * from pdf where partno='SSW-108-01-G-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.073995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSW-108-01-G-P' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.106290s ]
SELECT `id` FROM `stock` WHERE `id` <> 59804830 AND `partno` = 'SSW-108-01-G-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.136156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11532055 [ RunTime:0.079121s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019017s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068887s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116442s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055182s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084493s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043214s ]
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 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024408s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SSW-108-01-G-P%' OR `brand` LIKE 'SSW-108-01-G-P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022336s ]