SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002503s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004913s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12077338 LIMIT 5 [ RunTime:0.013072s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12077338 ORDER BY `minOrder` ASC [ RunTime:0.000864s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12077338 ORDER BY `unit` DESC [ RunTime:0.000801s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12077338 LIMIT 2 [ RunTime:0.001980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12077338 ORDER BY `minOrder` ASC [ RunTime:0.007996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366714 LIMIT 5 [ RunTime:0.029499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366714 ORDER BY `minOrder` ASC [ RunTime:0.016531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366714 ORDER BY `unit` DESC [ RunTime:0.023460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366714 LIMIT 2 [ RunTime:0.047841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366714 ORDER BY `minOrder` ASC [ RunTime:0.028494s ]
select * from pdf where partno='PA0064' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.034773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988512 LIMIT 5 [ RunTime:0.053914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988512 ORDER BY `minOrder` ASC [ RunTime:0.039429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18988512 ORDER BY `unit` DESC [ RunTime:0.012695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18988512 LIMIT 2 [ RunTime:0.046145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988512 ORDER BY `minOrder` ASC [ RunTime:0.020075s ]
select * from pdf where partno='PA0064-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.032344s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044978s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109910 LIMIT 5 [ RunTime:0.091172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109910 ORDER BY `minOrder` ASC [ RunTime:0.038097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109910 ORDER BY `unit` DESC [ RunTime:0.002964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109910 LIMIT 2 [ RunTime:0.079657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109910 ORDER BY `minOrder` ASC [ RunTime:0.120505s ]
select * from pdf where partno='pa0064' and brandshort='chip quik' limit 1 [ RunTime:0.016930s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0064' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.066482s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109910 AND `partno` = 'pa0064' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.059175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366714 [ RunTime:0.044375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109276 LIMIT 5 [ RunTime:0.142489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109276 ORDER BY `minOrder` ASC [ RunTime:0.022683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109276 ORDER BY `unit` DESC [ RunTime:0.047870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109276 LIMIT 2 [ RunTime:0.067851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109276 ORDER BY `minOrder` ASC [ RunTime:0.083640s ]
select * from pdf where partno='pa0064-s' and brandshort='chip quik' limit 1 [ RunTime:0.000638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0064-s' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.034358s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109276 AND `partno` = 'pa0064-s' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.051286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988512 [ RunTime:0.051796s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63526997 LIMIT 5 [ RunTime:0.217057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526997 ORDER BY `minOrder` ASC [ RunTime:0.051817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63526997 ORDER BY `unit` DESC [ RunTime:0.129383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63526997 LIMIT 2 [ RunTime:0.103483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526997 ORDER BY `minOrder` ASC [ RunTime:0.153619s ]
select * from pdf where partno='PA0064' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.044518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0064' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.102369s ]
SELECT `id` FROM `stock` WHERE `id` <> 63526997 AND `partno` = 'PA0064' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.093299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366714 [ RunTime:0.050189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63527333 LIMIT 5 [ RunTime:0.062124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527333 ORDER BY `minOrder` ASC [ RunTime:0.057423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63527333 ORDER BY `unit` DESC [ RunTime:0.048760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63527333 LIMIT 2 [ RunTime:0.033205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527333 ORDER BY `minOrder` ASC [ RunTime:0.165191s ]
select * from pdf where partno='PA0064C' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.072516s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0064C' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.015876s ]
SELECT `id` FROM `stock` WHERE `id` <> 63527333 AND `partno` = 'PA0064C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.093517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12077338 [ RunTime:0.014806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58598116 LIMIT 5 [ RunTime:0.038849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598116 ORDER BY `minOrder` ASC [ RunTime:0.007499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58598116 ORDER BY `unit` DESC [ RunTime:0.021538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58598116 LIMIT 2 [ RunTime:0.008996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598116 ORDER BY `minOrder` ASC [ RunTime:0.024817s ]
select * from pdf where partno='PA0064-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.016492s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0064-S' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.036275s ]
SELECT `id` FROM `stock` WHERE `id` <> 58598116 AND `partno` = 'PA0064-S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.021267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988512 [ RunTime:0.033078s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044299s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054942s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.190903s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128318s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091408s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050139s ]
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 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052157s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'pa0064%' OR `brand` LIKE 'pa0064%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.063384s ]