SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002852s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016478s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366210 LIMIT 5 [ RunTime:0.006391s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366210 ORDER BY `minOrder` ASC [ RunTime:0.018666s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366210 ORDER BY `unit` DESC [ RunTime:0.013997s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002080s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366210 LIMIT 2 [ RunTime:0.017233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366210 ORDER BY `minOrder` ASC [ RunTime:0.020006s ]
select * from pdf where partno='PA0003' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.017824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12077039 LIMIT 5 [ RunTime:0.052725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12077039 ORDER BY `minOrder` ASC [ RunTime:0.042632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12077039 ORDER BY `unit` DESC [ RunTime:0.023602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12077039 LIMIT 2 [ RunTime:0.040041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12077039 ORDER BY `minOrder` ASC [ RunTime:0.023780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988484 LIMIT 5 [ RunTime:0.052215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988484 ORDER BY `minOrder` ASC [ RunTime:0.024470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18988484 ORDER BY `unit` DESC [ RunTime:0.017621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18988484 LIMIT 2 [ RunTime:0.070043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988484 ORDER BY `minOrder` ASC [ RunTime:0.003005s ]
select * from pdf where partno='PA0003-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.020652s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51098193 LIMIT 5 [ RunTime:0.026243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51098193 ORDER BY `minOrder` ASC [ RunTime:0.059538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51098193 ORDER BY `unit` DESC [ RunTime:0.026746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51098193 LIMIT 2 [ RunTime:0.034574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51098193 ORDER BY `minOrder` ASC [ RunTime:0.020900s ]
select * from pdf where partno='pa0003c' and brandshort='chip quik' limit 1 [ RunTime:0.061468s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0003c' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.041682s ]
SELECT `id` FROM `stock` WHERE `id` <> 51098193 AND `partno` = 'pa0003c' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.040963s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12077039 [ RunTime:0.029996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109874 LIMIT 5 [ RunTime:0.017375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109874 ORDER BY `minOrder` ASC [ RunTime:0.050406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109874 ORDER BY `unit` DESC [ RunTime:0.008791s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109874 LIMIT 2 [ RunTime:0.028231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109874 ORDER BY `minOrder` ASC [ RunTime:0.007935s ]
select * from pdf where partno='pa0003' and brandshort='chip quik' limit 1 [ RunTime:0.002963s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0003' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.033920s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109874 AND `partno` = 'pa0003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.018854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366210 [ RunTime:0.008424s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63526760 LIMIT 5 [ RunTime:0.035860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526760 ORDER BY `minOrder` ASC [ RunTime:0.023919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63526760 ORDER BY `unit` DESC [ RunTime:0.017674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63526760 LIMIT 2 [ RunTime:0.008092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526760 ORDER BY `minOrder` ASC [ RunTime:0.004837s ]
select * from pdf where partno='PA0003C' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.011202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0003C' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.014193s ]
SELECT `id` FROM `stock` WHERE `id` <> 63526760 AND `partno` = 'PA0003C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.031175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12077039 [ RunTime:0.001004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63526752 LIMIT 5 [ RunTime:0.011418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526752 ORDER BY `minOrder` ASC [ RunTime:0.009971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63526752 ORDER BY `unit` DESC [ RunTime:0.011338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63526752 LIMIT 2 [ RunTime:0.013105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526752 ORDER BY `minOrder` ASC [ RunTime:0.014230s ]
select * from pdf where partno='PA0003' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.003107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0003' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.016437s ]
SELECT `id` FROM `stock` WHERE `id` <> 63526752 AND `partno` = 'PA0003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.022197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366210 [ RunTime:0.006673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58598051 LIMIT 5 [ RunTime:0.017748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598051 ORDER BY `minOrder` ASC [ RunTime:0.005425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58598051 ORDER BY `unit` DESC [ RunTime:0.002799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58598051 LIMIT 2 [ RunTime:0.021606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598051 ORDER BY `minOrder` ASC [ RunTime:0.006211s ]
select * from pdf where partno='PA0003-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.005624s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0003-S' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.001598s ]
SELECT `id` FROM `stock` WHERE `id` <> 58598051 AND `partno` = 'PA0003-S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.000502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988484 [ RunTime:0.000404s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002631s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003167s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005478s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021310s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010014s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014308s ]
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 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010013s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'pa0003%' OR `brand` LIKE 'pa0003%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012029s ]