SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001511s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054938s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776460 LIMIT 5 [ RunTime:0.033619s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.012121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776460 ORDER BY `minOrder` ASC [ RunTime:0.019092s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.017238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18776460 ORDER BY `unit` DESC [ RunTime:0.045676s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18776460 LIMIT 2 [ RunTime:0.083169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776460 ORDER BY `minOrder` ASC [ RunTime:0.025870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18774845 LIMIT 5 [ RunTime:0.055914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774845 ORDER BY `minOrder` ASC [ RunTime:0.137191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18774845 ORDER BY `unit` DESC [ RunTime:0.052908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18774845 LIMIT 2 [ RunTime:0.092287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774845 ORDER BY `minOrder` ASC [ RunTime:0.083319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15224112 LIMIT 5 [ RunTime:0.172487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15224112 ORDER BY `minOrder` ASC [ RunTime:0.072086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15224112 ORDER BY `unit` DESC [ RunTime:0.000751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15224112 LIMIT 2 [ RunTime:0.058870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15224112 ORDER BY `minOrder` ASC [ RunTime:0.034037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223788 LIMIT 5 [ RunTime:0.023332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223788 ORDER BY `minOrder` ASC [ RunTime:0.041542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15223788 ORDER BY `unit` DESC [ RunTime:0.049225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15223788 LIMIT 2 [ RunTime:0.024143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223788 ORDER BY `minOrder` ASC [ RunTime:0.012060s ]
select * from pdf where partno='1036505' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.008975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525448 LIMIT 5 [ RunTime:0.035763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525448 ORDER BY `minOrder` ASC [ RunTime:0.037645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14525448 ORDER BY `unit` DESC [ RunTime:0.018801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14525448 LIMIT 2 [ RunTime:0.043295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14525448 ORDER BY `minOrder` ASC [ RunTime:0.036049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14196793 LIMIT 5 [ RunTime:0.084793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14196793 ORDER BY `minOrder` ASC [ RunTime:0.055087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14196793 ORDER BY `unit` DESC [ RunTime:0.048760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14196793 LIMIT 2 [ RunTime:0.015450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14196793 ORDER BY `minOrder` ASC [ RunTime:0.017034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14195877 LIMIT 5 [ RunTime:0.031678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14195877 ORDER BY `minOrder` ASC [ RunTime:0.055039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14195877 ORDER BY `unit` DESC [ RunTime:0.088616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14195877 LIMIT 2 [ RunTime:0.082585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14195877 ORDER BY `minOrder` ASC [ RunTime:0.025960s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046649s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64806909 LIMIT 5 [ RunTime:0.045277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64806909 ORDER BY `minOrder` ASC [ RunTime:0.042527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64806909 ORDER BY `unit` DESC [ RunTime:0.013167s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64806909 LIMIT 2 [ RunTime:0.044166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64806909 ORDER BY `minOrder` ASC [ RunTime:0.044448s ]
select * from pdf where partno='1036508' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.033340s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036508' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.011310s ]
SELECT `id` FROM `stock` WHERE `id` <> 64806909 AND `partno` = '1036508' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.055865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18774845 [ RunTime:0.009883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64805951 LIMIT 5 [ RunTime:0.029254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64805951 ORDER BY `minOrder` ASC [ RunTime:0.028437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64805951 ORDER BY `unit` DESC [ RunTime:0.047097s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64805951 LIMIT 2 [ RunTime:0.039935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64805951 ORDER BY `minOrder` ASC [ RunTime:0.032966s ]
select * from pdf where partno='1036505' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.046790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036505' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.035295s ]
SELECT `id` FROM `stock` WHERE `id` <> 64805951 AND `partno` = '1036505' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.101669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223788 [ RunTime:0.056520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64805375 LIMIT 5 [ RunTime:0.039844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64805375 ORDER BY `minOrder` ASC [ RunTime:0.077141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64805375 ORDER BY `unit` DESC [ RunTime:0.019418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64805375 LIMIT 2 [ RunTime:0.039981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64805375 ORDER BY `minOrder` ASC [ RunTime:0.047504s ]
select * from pdf where partno='1036506' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.054790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036506' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.025410s ]
SELECT `id` FROM `stock` WHERE `id` <> 64805375 AND `partno` = '1036506' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.017441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14196793 [ RunTime:0.026819s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64518422 LIMIT 5 [ RunTime:0.075899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518422 ORDER BY `minOrder` ASC [ RunTime:0.071364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64518422 ORDER BY `unit` DESC [ RunTime:0.033340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64518422 LIMIT 2 [ RunTime:0.067962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518422 ORDER BY `minOrder` ASC [ RunTime:0.039779s ]
select * from pdf where partno='103650' and brandshort='Brady Corporation' limit 1 [ RunTime:0.113878s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103650' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.062053s ]
SELECT `id` FROM `stock` WHERE `id` <> 64518422 AND `partno` = '103650' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.049791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14525448 [ RunTime:0.027762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63201337 LIMIT 5 [ RunTime:0.015295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63201337 ORDER BY `minOrder` ASC [ RunTime:0.172725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63201337 ORDER BY `unit` DESC [ RunTime:0.104736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63201337 LIMIT 2 [ RunTime:0.068810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63201337 ORDER BY `minOrder` ASC [ RunTime:0.021544s ]
select * from pdf where partno='1036503' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.100059s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036503' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.054088s ]
SELECT `id` FROM `stock` WHERE `id` <> 63201337 AND `partno` = '1036503' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.097239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14195877 [ RunTime:0.053192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38514523 LIMIT 5 [ RunTime:0.002579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38514523 ORDER BY `minOrder` ASC [ RunTime:0.077995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38514523 ORDER BY `unit` DESC [ RunTime:0.030556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38514523 LIMIT 2 [ RunTime:0.070368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38514523 ORDER BY `minOrder` ASC [ RunTime:0.026201s ]
select * from pdf where partno='1036501' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.060021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036501' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.027398s ]
SELECT `id` FROM `stock` WHERE `id` <> 38514523 AND `partno` = '1036501' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.029857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776460 [ RunTime:0.030227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38513525 LIMIT 5 [ RunTime:0.049805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513525 ORDER BY `minOrder` ASC [ RunTime:0.182543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38513525 ORDER BY `unit` DESC [ RunTime:0.090302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38513525 LIMIT 2 [ RunTime:0.083161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513525 ORDER BY `minOrder` ASC [ RunTime:0.040218s ]
select * from pdf where partno='1036500' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.102415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036500' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.105186s ]
SELECT `id` FROM `stock` WHERE `id` <> 38513525 AND `partno` = '1036500' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.083298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15224112 [ RunTime:0.158933s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079414s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.184473s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057099s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.133325s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091633s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020682s ]
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 '103650%' OR `brand` LIKE '103650%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.143935s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '103650%' OR `brand` LIKE '103650%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.082536s ]