SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002880s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018323s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20072511 LIMIT 5 [ RunTime:0.017773s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20072511 ORDER BY `minOrder` ASC [ RunTime:0.004453s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20072511 ORDER BY `unit` DESC [ RunTime:0.007571s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001899s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20072511 LIMIT 2 [ RunTime:0.020049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20072511 ORDER BY `minOrder` ASC [ RunTime:0.000524s ]
select * from pdf where partno='RJHSE706AA1' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.012715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20072510 LIMIT 5 [ RunTime:0.026041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20072510 ORDER BY `minOrder` ASC [ RunTime:0.029893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20072510 ORDER BY `unit` DESC [ RunTime:0.016176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20072510 LIMIT 2 [ RunTime:0.031399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20072510 ORDER BY `minOrder` ASC [ RunTime:0.016029s ]
select * from pdf where partno='RJHSE706A' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.001582s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028216s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60423567 LIMIT 5 [ RunTime:0.036032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60423567 ORDER BY `minOrder` ASC [ RunTime:0.076713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60423567 ORDER BY `unit` DESC [ RunTime:0.024679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60423567 LIMIT 2 [ RunTime:0.043903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60423567 ORDER BY `minOrder` ASC [ RunTime:0.001775s ]
select * from pdf where partno='RJHSE706AA4' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.012490s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RJHSE706AA4' OR `brand` LIKE 'Amphenol ICC (Commercial Products)%' ) ) LIMIT 1 [ RunTime:0.037835s ]
SELECT `id` FROM `stock` WHERE `id` <> 60423567 AND `partno` = 'RJHSE706AA4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.069985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60420831 LIMIT 5 [ RunTime:0.055351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60420831 ORDER BY `minOrder` ASC [ RunTime:0.021646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60420831 ORDER BY `unit` DESC [ RunTime:0.037467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60420831 LIMIT 2 [ RunTime:0.040409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60420831 ORDER BY `minOrder` ASC [ RunTime:0.015189s ]
select * from pdf where partno='RJHSE706AA1' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.004218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RJHSE706AA1' OR `brand` LIKE 'Amphenol ICC (Commercial Products)%' ) ) LIMIT 1 [ RunTime:0.009448s ]
SELECT `id` FROM `stock` WHERE `id` <> 60420831 AND `partno` = 'RJHSE706AA1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.009830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20072511 [ RunTime:0.006839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60420830 LIMIT 5 [ RunTime:0.032868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60420830 ORDER BY `minOrder` ASC [ RunTime:0.068363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60420830 ORDER BY `unit` DESC [ RunTime:0.027175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60420830 LIMIT 2 [ RunTime:0.030034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60420830 ORDER BY `minOrder` ASC [ RunTime:0.060022s ]
select * from pdf where partno='RJHSE706A' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.047636s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RJHSE706A' OR `brand` LIKE 'Amphenol ICC (Commercial Products)%' ) ) LIMIT 1 [ RunTime:0.000558s ]
SELECT `id` FROM `stock` WHERE `id` <> 60420830 AND `partno` = 'RJHSE706A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.005320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20072510 [ RunTime:0.006331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53603441 LIMIT 5 [ RunTime:0.016601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53603441 ORDER BY `minOrder` ASC [ RunTime:0.000559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53603441 ORDER BY `unit` DESC [ RunTime:0.026509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53603441 LIMIT 2 [ RunTime:0.014124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53603441 ORDER BY `minOrder` ASC [ RunTime:0.001725s ]
select * from pdf where partno='RJHSE706A04' and brandshort='Amphenol ICC Commercial Products' limit 1 [ RunTime:0.007921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RJHSE706A04' OR `brand` LIKE 'Amphenol ICC (Commercial Products)%' ) ) LIMIT 1 [ RunTime:0.000535s ]
SELECT `id` FROM `stock` WHERE `id` <> 53603441 AND `partno` = 'RJHSE706A04' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.000508s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026685s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011847s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008499s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006371s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014664s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010236s ]
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 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044512s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'RJHSE706A%' OR `brand` LIKE 'RJHSE706A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023180s ]