SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002425s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023837s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18837135 LIMIT 5 [ RunTime:0.010931s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18837135 ORDER BY `minOrder` ASC [ RunTime:0.013734s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18837135 ORDER BY `unit` DESC [ RunTime:0.042662s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18837135 LIMIT 2 [ RunTime:0.018323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18837135 ORDER BY `minOrder` ASC [ RunTime:0.026719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16013168 LIMIT 5 [ RunTime:0.011185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013168 ORDER BY `minOrder` ASC [ RunTime:0.022595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16013168 ORDER BY `unit` DESC [ RunTime:0.019176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16013168 LIMIT 2 [ RunTime:0.012617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013168 ORDER BY `minOrder` ASC [ RunTime:0.011313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657122 LIMIT 5 [ RunTime:0.017899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657122 ORDER BY `minOrder` ASC [ RunTime:0.020610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13657122 ORDER BY `unit` DESC [ RunTime:0.018430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13657122 LIMIT 2 [ RunTime:0.032887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657122 ORDER BY `minOrder` ASC [ RunTime:0.020109s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011196s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57701894 LIMIT 5 [ RunTime:0.034125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701894 ORDER BY `minOrder` ASC [ RunTime:0.034636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57701894 ORDER BY `unit` DESC [ RunTime:0.028334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57701894 LIMIT 2 [ RunTime:0.017417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701894 ORDER BY `minOrder` ASC [ RunTime:0.005318s ]
select * from pdf where partno='104498' and brandshort='Brady Corporation' limit 1 [ RunTime:0.046351s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002611s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '104498' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.012973s ]
SELECT `id` FROM `stock` WHERE `id` <> 57701894 AND `partno` = '104498' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.009993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657122 [ RunTime:0.001365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57649607 LIMIT 5 [ RunTime:0.016880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57649607 ORDER BY `minOrder` ASC [ RunTime:0.018753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57649607 ORDER BY `unit` DESC [ RunTime:0.013261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57649607 LIMIT 2 [ RunTime:0.021971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57649607 ORDER BY `minOrder` ASC [ RunTime:0.009307s ]
select * from pdf where partno='1044981' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.002538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1044981' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001192s ]
SELECT `id` FROM `stock` WHERE `id` <> 57649607 AND `partno` = '1044981' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.000909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18837135 [ RunTime:0.004054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57647655 LIMIT 5 [ RunTime:0.008417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57647655 ORDER BY `minOrder` ASC [ RunTime:0.013801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57647655 ORDER BY `unit` DESC [ RunTime:0.023197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57647655 LIMIT 2 [ RunTime:0.002703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57647655 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
select * from pdf where partno='1044982' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1044982' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.005746s ]
SELECT `id` FROM `stock` WHERE `id` <> 57647655 AND `partno` = '1044982' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16013168 [ RunTime:0.008944s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008071s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004919s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005140s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001282s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007571s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002711s ]
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 '104498%' OR `brand` LIKE '104498%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003226s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '104498%' OR `brand` LIKE '104498%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001571s ]