SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001553s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098322s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054949 LIMIT 5 [ RunTime:0.071185s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.041019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12054949 ORDER BY `minOrder` ASC [ RunTime:0.051139s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12054949 ORDER BY `unit` DESC [ RunTime:0.035753s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12054949 LIMIT 2 [ RunTime:0.029430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12054949 ORDER BY `minOrder` ASC [ RunTime:0.109915s ]
select * from pdf where partno='TSCDJJN100PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.124767s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072430s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.196320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63229182 LIMIT 5 [ RunTime:0.079365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63229182 ORDER BY `minOrder` ASC [ RunTime:0.107472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63229182 ORDER BY `unit` DESC [ RunTime:0.149346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63229182 LIMIT 2 [ RunTime:0.153964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63229182 ORDER BY `minOrder` ASC [ RunTime:0.033270s ]
select * from pdf where partno='TSCDJJN100PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.016877s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSCDJJN100PDUCV' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.090958s ]
SELECT `id` FROM `stock` WHERE `id` <> 63229182 AND `partno` = 'TSCDJJN100PDUCV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.102719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054949 [ RunTime:0.051356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63236515 LIMIT 5 [ RunTime:0.063663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63236515 ORDER BY `minOrder` ASC [ RunTime:0.122367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63236515 ORDER BY `unit` DESC [ RunTime:0.155704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63236515 LIMIT 2 [ RunTime:0.105897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63236515 ORDER BY `minOrder` ASC [ RunTime:0.031446s ]
select * from pdf where partno='TSCDJJN100PDUCV' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.051242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSCDJJN100PDUCV' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.087600s ]
SELECT `id` FROM `stock` WHERE `id` <> 63236515 AND `partno` = 'TSCDJJN100PDUCV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.109695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12054949 [ RunTime:0.047357s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108902s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051359s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098758s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.206304s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.240311s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040722s ]
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 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096718s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TSCDJJN100PDUCV%' OR `brand` LIKE 'TSCDJJN100PDUCV%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.100887s ]