SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001730s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022326s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366700 LIMIT 5 [ RunTime:0.012124s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366700 ORDER BY `minOrder` ASC [ RunTime:0.007482s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366700 ORDER BY `unit` DESC [ RunTime:0.005294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366700 LIMIT 2 [ RunTime:0.014456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366700 ORDER BY `minOrder` ASC [ RunTime:0.010746s ]
select * from pdf where partno='PA0101' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.005584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366767 LIMIT 5 [ RunTime:0.014962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366767 ORDER BY `minOrder` ASC [ RunTime:0.033966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13366767 ORDER BY `unit` DESC [ RunTime:0.013235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13366767 LIMIT 2 [ RunTime:0.053055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13366767 ORDER BY `minOrder` ASC [ RunTime:0.005198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988451 LIMIT 5 [ RunTime:0.029675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988451 ORDER BY `minOrder` ASC [ RunTime:0.055834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18988451 ORDER BY `unit` DESC [ RunTime:0.047473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18988451 LIMIT 2 [ RunTime:0.058820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18988451 ORDER BY `minOrder` ASC [ RunTime:0.025140s ]
select * from pdf where partno='PA0101-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.024134s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51109931 LIMIT 5 [ RunTime:0.012031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109931 ORDER BY `minOrder` ASC [ RunTime:0.015045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51109931 ORDER BY `unit` DESC [ RunTime:0.026154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51109931 LIMIT 2 [ RunTime:0.024597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51109931 ORDER BY `minOrder` ASC [ RunTime:0.014719s ]
select * from pdf where partno='pa0101' and brandshort='chip quik' limit 1 [ RunTime:0.007516s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0101' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.034083s ]
SELECT `id` FROM `stock` WHERE `id` <> 51109931 AND `partno` = 'pa0101' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.010066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366700 [ RunTime:0.006486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51099469 LIMIT 5 [ RunTime:0.032181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51099469 ORDER BY `minOrder` ASC [ RunTime:0.040829s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51099469 ORDER BY `unit` DESC [ RunTime:0.018227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51099469 LIMIT 2 [ RunTime:0.026873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51099469 ORDER BY `minOrder` ASC [ RunTime:0.009592s ]
select * from pdf where partno='pa0101-s' and brandshort='chip quik' limit 1 [ RunTime:0.012901s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pa0101-s' OR `brand` LIKE 'chip quik%' ) ) LIMIT 1 [ RunTime:0.006243s ]
SELECT `id` FROM `stock` WHERE `id` <> 51099469 AND `partno` = 'pa0101-s' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik%' ) [ RunTime:0.011891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988451 [ RunTime:0.004777s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63526974 LIMIT 5 [ RunTime:0.002600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526974 ORDER BY `minOrder` ASC [ RunTime:0.004335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63526974 ORDER BY `unit` DESC [ RunTime:0.001265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63526974 LIMIT 2 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526974 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
select * from pdf where partno='PA0101' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.000558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0101' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.002078s ]
SELECT `id` FROM `stock` WHERE `id` <> 63526974 AND `partno` = 'PA0101' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.000866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366700 [ RunTime:0.000453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63527312 LIMIT 5 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527312 ORDER BY `minOrder` ASC [ RunTime:0.007143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63527312 ORDER BY `unit` DESC [ RunTime:0.000538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63527312 LIMIT 2 [ RunTime:0.003502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63527312 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
select * from pdf where partno='PA0101C' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.001256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0101C' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.002942s ]
SELECT `id` FROM `stock` WHERE `id` <> 63527312 AND `partno` = 'PA0101C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.000960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13366767 [ RunTime:0.002365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58598026 LIMIT 5 [ RunTime:0.001463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598026 ORDER BY `minOrder` ASC [ RunTime:0.004087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58598026 ORDER BY `unit` DESC [ RunTime:0.005380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58598026 LIMIT 2 [ RunTime:0.001473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58598026 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='PA0101-S' and brandshort='Chip Quik Inc.' limit 1 [ RunTime:0.000500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA0101-S' OR `brand` LIKE 'Chip Quik Inc.%' ) ) LIMIT 1 [ RunTime:0.003741s ]
SELECT `id` FROM `stock` WHERE `id` <> 58598026 AND `partno` = 'PA0101-S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chip quik inc.%' ) [ RunTime:0.002639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18988451 [ RunTime:0.000431s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001976s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002043s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001307s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001360s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002842s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001711s ]
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 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001952s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'pa0101%' OR `brand` LIKE 'pa0101%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000950s ]