SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001616s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008819s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281396 LIMIT 5 [ RunTime:0.003191s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19281396 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19281396 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19281396 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19281396 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19283301 LIMIT 5 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19283301 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19283301 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19283301 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19283301 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17149955 LIMIT 5 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17149955 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17149955 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17149955 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17149955 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='84137011N' and brandshort='Crouzet' limit 1 [ RunTime:0.000580s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32180177 LIMIT 5 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32180177 ORDER BY `minOrder` ASC [ RunTime:0.000844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32180177 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32180177 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32180177 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='84137011' and brandshort='crydom' limit 1 [ RunTime:0.000526s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '84137011' OR `brand` LIKE 'crydom%' ) ) LIMIT 1 [ RunTime:0.000602s ]
SELECT `id` FROM `stock` WHERE `id` <> 32180177 AND `partno` = '84137011' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crydom%' ) [ RunTime:0.000811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281396 [ RunTime:0.000357s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65146390 LIMIT 5 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65146390 ORDER BY `minOrder` ASC [ RunTime:0.003669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65146390 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65146390 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65146390 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='84137011' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.000633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '84137011' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT `id` FROM `stock` WHERE `id` <> 65146390 AND `partno` = '84137011' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19281396 [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65145849 LIMIT 5 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65145849 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65145849 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65145849 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65145849 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
select * from pdf where partno='84137011N' and brandshort='Crouzet' limit 1 [ RunTime:0.000534s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '84137011N' OR `brand` LIKE 'Crouzet%' ) ) LIMIT 1 [ RunTime:0.000470s ]
SELECT `id` FROM `stock` WHERE `id` <> 65145849 AND `partno` = '84137011N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crouzet%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17149955 [ RunTime:0.000361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65146400 LIMIT 5 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65146400 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65146400 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65146400 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65146400 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='84137011H' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.000598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '84137011H' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT `id` FROM `stock` WHERE `id` <> 65146400 AND `partno` = '84137011H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000487s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19283301 [ RunTime:0.000351s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000806s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000746s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000595s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000560s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000562s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000571s ]
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 '84137011%' OR `brand` LIKE '84137011%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000648s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '84137011%' OR `brand` LIKE '84137011%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000596s ]