SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002070s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003957s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19630986 LIMIT 5 [ RunTime:0.001159s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19630986 ORDER BY `minOrder` ASC [ RunTime:0.004203s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19630986 ORDER BY `unit` DESC [ RunTime:0.008999s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19630986 LIMIT 2 [ RunTime:0.027206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19630986 ORDER BY `minOrder` ASC [ RunTime:0.026849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19508337 LIMIT 5 [ RunTime:0.023250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508337 ORDER BY `minOrder` ASC [ RunTime:0.012618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19508337 ORDER BY `unit` DESC [ RunTime:0.016412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19508337 LIMIT 2 [ RunTime:0.021032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508337 ORDER BY `minOrder` ASC [ RunTime:0.022801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18980958 LIMIT 5 [ RunTime:0.015068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18980958 ORDER BY `minOrder` ASC [ RunTime:0.007320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18980958 ORDER BY `unit` DESC [ RunTime:0.013235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18980958 LIMIT 2 [ RunTime:0.035004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18980958 ORDER BY `minOrder` ASC [ RunTime:0.009223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776409 LIMIT 5 [ RunTime:0.043514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776409 ORDER BY `minOrder` ASC [ RunTime:0.016593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18776409 ORDER BY `unit` DESC [ RunTime:0.044034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18776409 LIMIT 2 [ RunTime:0.025453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776409 ORDER BY `minOrder` ASC [ RunTime:0.005986s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021121s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64804688 LIMIT 5 [ RunTime:0.010769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64804688 ORDER BY `minOrder` ASC [ RunTime:0.044355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64804688 ORDER BY `unit` DESC [ RunTime:0.026274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64804688 LIMIT 2 [ RunTime:0.064343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64804688 ORDER BY `minOrder` ASC [ RunTime:0.025934s ]
select * from pdf where partno='1036510' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.065390s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002480s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036510' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.032370s ]
SELECT `id` FROM `stock` WHERE `id` <> 64804688 AND `partno` = '1036510' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.049898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18980958 [ RunTime:0.050067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63489618 LIMIT 5 [ RunTime:0.059565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63489618 ORDER BY `minOrder` ASC [ RunTime:0.042441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63489618 ORDER BY `unit` DESC [ RunTime:0.015226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63489618 LIMIT 2 [ RunTime:0.012731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63489618 ORDER BY `minOrder` ASC [ RunTime:0.001996s ]
select * from pdf where partno='103651' and brandshort='Brady Corporation' limit 1 [ RunTime:0.019272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103651' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.015247s ]
SELECT `id` FROM `stock` WHERE `id` <> 63489618 AND `partno` = '103651' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.005211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19508337 [ RunTime:0.007120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60520445 LIMIT 5 [ RunTime:0.017652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60520445 ORDER BY `minOrder` ASC [ RunTime:0.010236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60520445 ORDER BY `unit` DESC [ RunTime:0.016510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60520445 LIMIT 2 [ RunTime:0.005830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60520445 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
select * from pdf where partno='1036510000' and brandshort='Weidmüller' limit 1 [ RunTime:0.021730s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036510000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.012434s ]
SELECT `id` FROM `stock` WHERE `id` <> 60520445 AND `partno` = '1036510000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.006256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19630986 [ RunTime:0.010877s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38514453 LIMIT 5 [ RunTime:0.005113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38514453 ORDER BY `minOrder` ASC [ RunTime:0.008794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38514453 ORDER BY `unit` DESC [ RunTime:0.012531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38514453 LIMIT 2 [ RunTime:0.010020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38514453 ORDER BY `minOrder` ASC [ RunTime:0.000753s ]
select * from pdf where partno='1036513' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.002207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1036513' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001825s ]
SELECT `id` FROM `stock` WHERE `id` <> 38514453 AND `partno` = '1036513' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776409 [ RunTime:0.003401s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004490s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005590s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012922s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015791s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005526s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001925s ]
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 '103651%' OR `brand` LIKE '103651%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001307s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '103651%' OR `brand` LIKE '103651%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005839s ]