SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001713s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029113s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15268680 LIMIT 5 [ RunTime:0.027467s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15268680 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15268680 ORDER BY `unit` DESC [ RunTime:0.011380s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15268680 LIMIT 2 [ RunTime:0.020734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15268680 ORDER BY `minOrder` ASC [ RunTime:0.005201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19006187 LIMIT 5 [ RunTime:0.008713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19006187 ORDER BY `minOrder` ASC [ RunTime:0.007379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19006187 ORDER BY `unit` DESC [ RunTime:0.004242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19006187 LIMIT 2 [ RunTime:0.023327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19006187 ORDER BY `minOrder` ASC [ RunTime:0.036638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052003 LIMIT 5 [ RunTime:0.044413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052003 ORDER BY `minOrder` ASC [ RunTime:0.057004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17052003 ORDER BY `unit` DESC [ RunTime:0.044461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17052003 LIMIT 2 [ RunTime:0.051101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052003 ORDER BY `minOrder` ASC [ RunTime:0.005260s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32217528 LIMIT 5 [ RunTime:0.101703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217528 ORDER BY `minOrder` ASC [ RunTime:0.054987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32217528 ORDER BY `unit` DESC [ RunTime:0.016000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32217528 LIMIT 2 [ RunTime:0.049290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217528 ORDER BY `minOrder` ASC [ RunTime:0.023564s ]
select * from pdf where partno='ehll' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.015590s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ehll' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.023489s ]
SELECT `id` FROM `stock` WHERE `id` <> 32217528 AND `partno` = 'ehll' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.020549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15268680 [ RunTime:0.037516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32218222 LIMIT 5 [ RunTime:0.088292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32218222 ORDER BY `minOrder` ASC [ RunTime:0.037322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32218222 ORDER BY `unit` DESC [ RunTime:0.018559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32218222 LIMIT 2 [ RunTime:0.043591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32218222 ORDER BY `minOrder` ASC [ RunTime:0.015399s ]
select * from pdf where partno='ehllsak' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.038465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ehllsak' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.034670s ]
SELECT `id` FROM `stock` WHERE `id` <> 32218222 AND `partno` = 'ehllsak' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.026724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19006187 [ RunTime:0.012449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32217672 LIMIT 5 [ RunTime:0.055159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217672 ORDER BY `minOrder` ASC [ RunTime:0.054117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32217672 ORDER BY `unit` DESC [ RunTime:0.078323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32217672 LIMIT 2 [ RunTime:0.053366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217672 ORDER BY `minOrder` ASC [ RunTime:0.015024s ]
select * from pdf where partno='ehllss' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.057548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ehllss' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.055974s ]
SELECT `id` FROM `stock` WHERE `id` <> 32217672 AND `partno` = 'ehllss' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.033805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052003 [ RunTime:0.029919s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63450578 LIMIT 5 [ RunTime:0.070814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63450578 ORDER BY `minOrder` ASC [ RunTime:0.003319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63450578 ORDER BY `unit` DESC [ RunTime:0.025529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63450578 LIMIT 2 [ RunTime:0.054254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63450578 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
select * from pdf where partno='EHLL' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.019497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHLL' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.025962s ]
SELECT `id` FROM `stock` WHERE `id` <> 63450578 AND `partno` = 'EHLL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.033199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15268680 [ RunTime:0.000426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63470835 LIMIT 5 [ RunTime:0.039867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63470835 ORDER BY `minOrder` ASC [ RunTime:0.036230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63470835 ORDER BY `unit` DESC [ RunTime:0.091766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63470835 LIMIT 2 [ RunTime:0.041955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63470835 ORDER BY `minOrder` ASC [ RunTime:0.039037s ]
select * from pdf where partno='EHLLSAK' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.035467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHLLSAK' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.030468s ]
SELECT `id` FROM `stock` WHERE `id` <> 63470835 AND `partno` = 'EHLLSAK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.074837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19006187 [ RunTime:0.038765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63458332 LIMIT 5 [ RunTime:0.055485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63458332 ORDER BY `minOrder` ASC [ RunTime:0.024274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63458332 ORDER BY `unit` DESC [ RunTime:0.025228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63458332 LIMIT 2 [ RunTime:0.024237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63458332 ORDER BY `minOrder` ASC [ RunTime:0.059406s ]
select * from pdf where partno='EHLLSS' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.007181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHLLSS' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.034392s ]
SELECT `id` FROM `stock` WHERE `id` <> 63458332 AND `partno` = 'EHLLSS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.025245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052003 [ RunTime:0.003467s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019372s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020695s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009735s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017644s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009612s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011570s ]
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 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007683s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ehll%' OR `brand` LIKE 'ehll%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022480s ]