SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004087s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042711s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002862s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044724s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60320400 LIMIT 5 [ RunTime:0.061856s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.029814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60320400 ORDER BY `minOrder` ASC [ RunTime:0.023763s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.013908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60320400 ORDER BY `unit` DESC [ RunTime:0.014367s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60320400 LIMIT 2 [ RunTime:0.008951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60320400 ORDER BY `minOrder` ASC [ RunTime:0.036884s ]
select * from pdf where partno='306827' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.056211s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '306827' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.018937s ]
SELECT `id` FROM `stock` WHERE `id` <> 60320400 AND `partno` = '306827' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.025632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 46477778 LIMIT 5 [ RunTime:0.084742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 46477778 ORDER BY `minOrder` ASC [ RunTime:0.110074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 46477778 ORDER BY `unit` DESC [ RunTime:0.056226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 46477778 LIMIT 2 [ RunTime:0.035484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 46477778 ORDER BY `minOrder` ASC [ RunTime:0.070522s ]
select * from pdf where partno='306827' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.068564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '306827' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.085682s ]
SELECT `id` FROM `stock` WHERE `id` <> 46477778 AND `partno` = '306827' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.119771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33404276 [ RunTime:0.044988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33404276 LIMIT 5 [ RunTime:0.096459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33404276 ORDER BY `minOrder` ASC [ RunTime:0.029089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33404276 ORDER BY `unit` DESC [ RunTime:0.037943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33404276 LIMIT 2 [ RunTime:0.012429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33404276 ORDER BY `minOrder` ASC [ RunTime:0.107312s ]
select * from pdf where partno='306827' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.033953s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '306827' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.034368s ]
SELECT `id` FROM `stock` WHERE `id` <> 33404276 AND `partno` = '306827' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.145412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 46477778 [ RunTime:0.056539s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070082s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049652s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088620s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029065s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072112s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059137s ]
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 '306827%' OR `brand` LIKE '306827%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052371s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '306827%' OR `brand` LIKE '306827%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.031578s ]