SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001540s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017148s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14843516 LIMIT 5 [ RunTime:0.006802s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14843516 ORDER BY `minOrder` ASC [ RunTime:0.039042s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14843516 ORDER BY `unit` DESC [ RunTime:0.013269s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.020565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14843516 LIMIT 2 [ RunTime:0.009384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14843516 ORDER BY `minOrder` ASC [ RunTime:0.004681s ]
select * from pdf where partno='V275LA20AP' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.007021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 5 [ RunTime:0.018323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.032709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.019803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.038767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.003013s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.056856s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.016844s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002506s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.019196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14841446 LIMIT 5 [ RunTime:0.032343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14841446 ORDER BY `minOrder` ASC [ RunTime:0.016701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14841446 ORDER BY `unit` DESC [ RunTime:0.041863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14841446 LIMIT 2 [ RunTime:0.007468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14841446 ORDER BY `minOrder` ASC [ RunTime:0.010822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14836233 LIMIT 5 [ RunTime:0.026392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14836233 ORDER BY `minOrder` ASC [ RunTime:0.052784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14836233 ORDER BY `unit` DESC [ RunTime:0.022913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14836233 LIMIT 2 [ RunTime:0.034077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14836233 ORDER BY `minOrder` ASC [ RunTime:0.006681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13936850 LIMIT 5 [ RunTime:0.033117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936850 ORDER BY `minOrder` ASC [ RunTime:0.032459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13936850 ORDER BY `unit` DESC [ RunTime:0.039195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13936850 LIMIT 2 [ RunTime:0.042859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13936850 ORDER BY `minOrder` ASC [ RunTime:0.015910s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024742s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41794569 LIMIT 5 [ RunTime:0.005908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41794569 ORDER BY `minOrder` ASC [ RunTime:0.051757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41794569 ORDER BY `unit` DESC [ RunTime:0.047577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41794569 LIMIT 2 [ RunTime:0.037347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41794569 ORDER BY `minOrder` ASC [ RunTime:0.004790s ]
select * from pdf where partno='V275LA20AP' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.005862s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.011875s ]
SELECT `id` FROM `stock` WHERE `id` <> 41794569 AND `partno` = 'V275LA20AP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse inc.%' ) [ RunTime:0.032869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14843516 [ RunTime:0.023304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41806113 LIMIT 5 [ RunTime:0.043281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41806113 ORDER BY `minOrder` ASC [ RunTime:0.030664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41806113 ORDER BY `unit` DESC [ RunTime:0.038975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41806113 LIMIT 2 [ RunTime:0.016455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41806113 ORDER BY `minOrder` ASC [ RunTime:0.003023s ]
select * from pdf where partno='V275LA20APX2855' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.031291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20APX2855' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.022700s ]
SELECT `id` FROM `stock` WHERE `id` <> 41806113 AND `partno` = 'V275LA20APX2855' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse inc.%' ) [ RunTime:0.024859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14841446 [ RunTime:0.005534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41838972 LIMIT 5 [ RunTime:0.005601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41838972 ORDER BY `minOrder` ASC [ RunTime:0.022648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41838972 ORDER BY `unit` DESC [ RunTime:0.019842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41838972 LIMIT 2 [ RunTime:0.003188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41838972 ORDER BY `minOrder` ASC [ RunTime:0.006819s ]
select * from pdf where partno='V275LA20A' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.000688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20A' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.000552s ]
SELECT `id` FROM `stock` WHERE `id` <> 41838972 AND `partno` = 'V275LA20A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse inc.%' ) [ RunTime:0.001071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13936850 [ RunTime:0.004698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41836513 LIMIT 5 [ RunTime:0.019907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41836513 ORDER BY `minOrder` ASC [ RunTime:0.011961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41836513 ORDER BY `unit` DESC [ RunTime:0.007918s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41836513 LIMIT 2 [ RunTime:0.032799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41836513 ORDER BY `minOrder` ASC [ RunTime:0.007191s ]
select * from pdf where partno='V275LA20APX1347' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.009734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20APX1347' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.025223s ]
SELECT `id` FROM `stock` WHERE `id` <> 41836513 AND `partno` = 'V275LA20APX1347' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse inc.%' ) [ RunTime:0.013897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14836233 [ RunTime:0.013178s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019905s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036973s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020104s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012960s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002398s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011088s ]
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 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008736s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V275LA20A%' OR `brand` LIKE 'V275LA20A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004352s ]