SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002087s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021701s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16813140 LIMIT 5 [ RunTime:0.025163s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813140 ORDER BY `minOrder` ASC [ RunTime:0.024351s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16813140 ORDER BY `unit` DESC [ RunTime:0.021212s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.048116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16813140 LIMIT 2 [ RunTime:0.077376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813140 ORDER BY `minOrder` ASC [ RunTime:0.063899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26359 LIMIT 5 [ RunTime:0.041396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26359 ORDER BY `minOrder` ASC [ RunTime:0.022227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26359 ORDER BY `unit` DESC [ RunTime:0.072129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26359 LIMIT 2 [ RunTime:0.080731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26359 ORDER BY `minOrder` ASC [ RunTime:0.035525s ]
select * from pdf where partno='CRCW060363K4FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.121496s ]
select foldpath,foldpath2,filename from pdf_file where id=1115380 limit 1 [ RunTime:0.033072s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060363K4FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.075937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18169120 LIMIT 5 [ RunTime:0.059038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18169120 ORDER BY `minOrder` ASC [ RunTime:0.076708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18169120 ORDER BY `unit` DESC [ RunTime:0.123731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18169120 LIMIT 2 [ RunTime:0.111889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18169120 ORDER BY `minOrder` ASC [ RunTime:0.057396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14097360 LIMIT 5 [ RunTime:0.082820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14097360 ORDER BY `minOrder` ASC [ RunTime:0.053255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14097360 ORDER BY `unit` DESC [ RunTime:0.024171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14097360 LIMIT 2 [ RunTime:0.052940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14097360 ORDER BY `minOrder` ASC [ RunTime:0.015689s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021866s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32951963 LIMIT 5 [ RunTime:0.028430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32951963 ORDER BY `minOrder` ASC [ RunTime:0.060405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32951963 ORDER BY `unit` DESC [ RunTime:0.028328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32951963 LIMIT 2 [ RunTime:0.034700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32951963 ORDER BY `minOrder` ASC [ RunTime:0.015610s ]
select * from pdf where partno='CRCW060363K4FKEA' and brandshort='Vishay Dale' limit 1 [ RunTime:0.027815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060363K4FKEA' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.021789s ]
SELECT `id` FROM `stock` WHERE `id` <> 32951963 AND `partno` = 'CRCW060363K4FKEA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.033007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16813140 [ RunTime:0.046005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34083788 LIMIT 5 [ RunTime:0.015138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34083788 ORDER BY `minOrder` ASC [ RunTime:0.022536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34083788 ORDER BY `unit` DESC [ RunTime:0.005196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34083788 LIMIT 2 [ RunTime:0.012319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34083788 ORDER BY `minOrder` ASC [ RunTime:0.013586s ]
select * from pdf where partno='CRCW060363K4FKEAHP' and brandshort='Vishay Dale' limit 1 [ RunTime:0.002570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060363K4FKEAHP' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.023364s ]
SELECT `id` FROM `stock` WHERE `id` <> 34083788 AND `partno` = 'CRCW060363K4FKEAHP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.052825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14097360 [ RunTime:0.020361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33645302 LIMIT 5 [ RunTime:0.028814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33645302 ORDER BY `minOrder` ASC [ RunTime:0.032539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33645302 ORDER BY `unit` DESC [ RunTime:0.015467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33645302 LIMIT 2 [ RunTime:0.027114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33645302 ORDER BY `minOrder` ASC [ RunTime:0.005074s ]
select * from pdf where partno='CRCW060363K4FKEAC' and brandshort='Vishay Dale' limit 1 [ RunTime:0.036825s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060363K4FKEAC' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.009837s ]
SELECT `id` FROM `stock` WHERE `id` <> 33645302 AND `partno` = 'CRCW060363K4FKEAC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.024466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18169120 [ RunTime:0.037616s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028428s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034731s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006747s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012332s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007092s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011526s ]
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 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010555s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CRCW060363K4FKEA%' OR `brand` LIKE 'CRCW060363K4FKEA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001922s ]