SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001243s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009501s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13313869 LIMIT 5 [ RunTime:0.019368s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13313869 ORDER BY `minOrder` ASC [ RunTime:0.008665s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13313869 ORDER BY `unit` DESC [ RunTime:0.033771s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13313869 LIMIT 2 [ RunTime:0.014558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13313869 ORDER BY `minOrder` ASC [ RunTime:0.025056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433432 LIMIT 5 [ RunTime:0.080691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433432 ORDER BY `minOrder` ASC [ RunTime:0.018547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16433432 ORDER BY `unit` DESC [ RunTime:0.010874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16433432 LIMIT 2 [ RunTime:0.005694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433432 ORDER BY `minOrder` ASC [ RunTime:0.013510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14381659 LIMIT 5 [ RunTime:0.015357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14381659 ORDER BY `minOrder` ASC [ RunTime:0.038030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14381659 ORDER BY `unit` DESC [ RunTime:0.036640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14381659 LIMIT 2 [ RunTime:0.017644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14381659 ORDER BY `minOrder` ASC [ RunTime:0.012476s ]
select * from pdf where partno='25529 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.001449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13509299 LIMIT 5 [ RunTime:0.058018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13509299 ORDER BY `minOrder` ASC [ RunTime:0.011405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13509299 ORDER BY `unit` DESC [ RunTime:0.012725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13509299 LIMIT 2 [ RunTime:0.047947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13509299 ORDER BY `minOrder` ASC [ RunTime:0.024876s ]
select * from pdf where partno='25529 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.021938s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046781s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49574489 LIMIT 5 [ RunTime:0.082558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49574489 ORDER BY `minOrder` ASC [ RunTime:0.052769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49574489 ORDER BY `unit` DESC [ RunTime:0.036090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49574489 LIMIT 2 [ RunTime:0.073922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49574489 ORDER BY `minOrder` ASC [ RunTime:0.036265s ]
select * from pdf where partno='25529' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.107458s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.060058s ]
SELECT `id` FROM `stock` WHERE `id` <> 49574489 AND `partno` = '25529' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.086582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13313869 [ RunTime:0.048615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36767691 LIMIT 5 [ RunTime:0.087393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36767691 ORDER BY `minOrder` ASC [ RunTime:0.071127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36767691 ORDER BY `unit` DESC [ RunTime:0.035479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36767691 LIMIT 2 [ RunTime:0.030900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36767691 ORDER BY `minOrder` ASC [ RunTime:0.026828s ]
select * from pdf where partno='25529' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.018021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.015874s ]
SELECT `id` FROM `stock` WHERE `id` <> 36767691 AND `partno` = '25529' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.031276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13313869 [ RunTime:0.003393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49254858 LIMIT 5 [ RunTime:0.038074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49254858 ORDER BY `minOrder` ASC [ RunTime:0.077112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49254858 ORDER BY `unit` DESC [ RunTime:0.036492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49254858 LIMIT 2 [ RunTime:0.025710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49254858 ORDER BY `minOrder` ASC [ RunTime:0.002066s ]
select * from pdf where partno='25529.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.024495s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.051032s ]
SELECT `id` FROM `stock` WHERE `id` <> 49254858 AND `partno` = '25529.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.013488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433432 [ RunTime:0.061966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49206525 LIMIT 5 [ RunTime:0.034500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49206525 ORDER BY `minOrder` ASC [ RunTime:0.101324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49206525 ORDER BY `unit` DESC [ RunTime:0.010864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49206525 LIMIT 2 [ RunTime:0.046306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49206525 ORDER BY `minOrder` ASC [ RunTime:0.050080s ]
select * from pdf where partno='25529 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.084534s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529 SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.015657s ]
SELECT `id` FROM `stock` WHERE `id` <> 49206525 AND `partno` = '25529 SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.040160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13509299 [ RunTime:0.021705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36458414 LIMIT 5 [ RunTime:0.011379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36458414 ORDER BY `minOrder` ASC [ RunTime:0.102279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36458414 ORDER BY `unit` DESC [ RunTime:0.020252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36458414 LIMIT 2 [ RunTime:0.082827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36458414 ORDER BY `minOrder` ASC [ RunTime:0.042944s ]
select * from pdf where partno='25529.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.038384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.015387s ]
SELECT `id` FROM `stock` WHERE `id` <> 36458414 AND `partno` = '25529.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.025544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433432 [ RunTime:0.011280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36409618 LIMIT 5 [ RunTime:0.035590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36409618 ORDER BY `minOrder` ASC [ RunTime:0.075972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36409618 ORDER BY `unit` DESC [ RunTime:0.027845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36409618 LIMIT 2 [ RunTime:0.026295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36409618 ORDER BY `minOrder` ASC [ RunTime:0.043269s ]
select * from pdf where partno='25529 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.030543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25529 SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.035602s ]
SELECT `id` FROM `stock` WHERE `id` <> 36409618 AND `partno` = '25529 SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.020211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13509299 [ RunTime:0.000524s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048211s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023005s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021798s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012966s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021915s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007707s ]
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 '25529%' OR `brand` LIKE '25529%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015508s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '25529%' OR `brand` LIKE '25529%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009415s ]