SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002708s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043613s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.023438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16502105 LIMIT 5 [ RunTime:0.040108s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16502105 ORDER BY `minOrder` ASC [ RunTime:0.068815s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16502105 ORDER BY `unit` DESC [ RunTime:0.037949s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16502105 LIMIT 2 [ RunTime:0.042468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16502105 ORDER BY `minOrder` ASC [ RunTime:0.075888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14500968 LIMIT 5 [ RunTime:0.045745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14500968 ORDER BY `minOrder` ASC [ RunTime:0.061704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14500968 ORDER BY `unit` DESC [ RunTime:0.073827s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14500968 LIMIT 2 [ RunTime:0.066641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14500968 ORDER BY `minOrder` ASC [ RunTime:0.021480s ]
select * from pdf where partno='UTP28SP15VL' and brandshort='Panduit Corp' limit 1 [ RunTime:0.038044s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082416s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55577650 LIMIT 5 [ RunTime:0.080868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55577650 ORDER BY `minOrder` ASC [ RunTime:0.043141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55577650 ORDER BY `unit` DESC [ RunTime:0.033973s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55577650 LIMIT 2 [ RunTime:0.154467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55577650 ORDER BY `minOrder` ASC [ RunTime:0.083535s ]
select * from pdf where partno='UTP28SP15VL' and brandshort='Panduit Corp' limit 1 [ RunTime:0.025618s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP28SP15VL' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.034508s ]
SELECT `id` FROM `stock` WHERE `id` <> 55577650 AND `partno` = 'UTP28SP15VL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panduit corp%' ) [ RunTime:0.126347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14500968 [ RunTime:0.114010s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.107747s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068823s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069326s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.111154s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047665s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046178s ]
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 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028517s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UTP28SP15VL%' OR `brand` LIKE 'UTP28SP15VL%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.087956s ]