SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001426s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012688s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366744 LIMIT 5 [ RunTime:0.032045s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366744 ORDER BY `minOrder` ASC [ RunTime:0.008469s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366744 ORDER BY `unit` DESC [ RunTime:0.021439s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366744 LIMIT 2 [ RunTime:0.020883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366744 ORDER BY `minOrder` ASC [ RunTime:0.011967s ]
select * from pdf where partno='PA0093' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.028703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366785 LIMIT 5 [ RunTime:0.037223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366785 ORDER BY `minOrder` ASC [ RunTime:0.012042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366785 ORDER BY `unit` DESC [ RunTime:0.028836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366785 LIMIT 2 [ RunTime:0.038818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366785 ORDER BY `minOrder` ASC [ RunTime:0.001278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17050654 LIMIT 5 [ RunTime:0.036254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17050654 ORDER BY `minOrder` ASC [ RunTime:0.030424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17050654 ORDER BY `unit` DESC [ RunTime:0.043561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17050654 LIMIT 2 [ RunTime:0.030214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17050654 ORDER BY `minOrder` ASC [ RunTime:0.016924s ]
select * from pdf where partno='PA0093-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.030048s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109926 LIMIT 5 [ RunTime:0.007055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109926 ORDER BY `minOrder` ASC [ RunTime:0.064100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109926 ORDER BY `unit` DESC [ RunTime:0.035501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109926 LIMIT 2 [ RunTime:0.004361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109926 ORDER BY `minOrder` ASC [ RunTime:0.001880s ]
select * from pdf where partno='pa0093' and brandshort='chip quik' limit 1 [ RunTime:0.028137s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0093' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.011710s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109926 AND `partno` = 'pa0093' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.027890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366744 [ RunTime:0.047709s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109927 LIMIT 5 [ RunTime:0.025822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109927 ORDER BY `minOrder` ASC [ RunTime:0.023148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109927 ORDER BY `unit` DESC [ RunTime:0.031870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109927 LIMIT 2 [ RunTime:0.025291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109927 ORDER BY `minOrder` ASC [ RunTime:0.018486s ]
select * from pdf where partno='pa0093c' and brandshort='chip quik' limit 1 [ RunTime:0.029812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0093c' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.013758s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109927 AND `partno` = 'pa0093c' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.035160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366785 [ RunTime:0.030169s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63527059 LIMIT 5 [ RunTime:0.009446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527059 ORDER BY `minOrder` ASC [ RunTime:0.018134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63527059 ORDER BY `unit` DESC [ RunTime:0.033215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63527059 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527059 ORDER BY `minOrder` ASC [ RunTime:0.004170s ]
select * from pdf where partno='PA0093' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.005886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0093' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.012660s ]
SELECT `id` FROM `stock` WHERE `id` <> 63527059 AND `partno` = 'PA0093' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.026219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366744 [ RunTime:0.003164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63527398 LIMIT 5 [ RunTime:0.004635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527398 ORDER BY `minOrder` ASC [ RunTime:0.003186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63527398 ORDER BY `unit` DESC [ RunTime:0.003933s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63527398 LIMIT 2 [ RunTime:0.009285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527398 ORDER BY `minOrder` ASC [ RunTime:0.002966s ]
select * from pdf where partno='PA0093C' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.000594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0093C' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.000957s ]
SELECT `id` FROM `stock` WHERE `id` <> 63527398 AND `partno` = 'PA0093C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.000567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366785 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58598015 LIMIT 5 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598015 ORDER BY `minOrder` ASC [ RunTime:0.000909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58598015 ORDER BY `unit` DESC [ RunTime:0.007387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58598015 LIMIT 2 [ RunTime:0.016102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598015 ORDER BY `minOrder` ASC [ RunTime:0.017538s ]
select * from pdf where partno='PA0093-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.012983s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0093-S' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.013219s ]
SELECT `id` FROM `stock` WHERE `id` <> 58598015 AND `partno` = 'PA0093-S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.007622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17050654 [ RunTime:0.000681s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021281s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010439s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003138s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008826s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014555s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005338s ]
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 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020318s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'pa0093%' OR `brand` LIKE 'pa0093%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003027s ]