SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002144s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004316s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16835090 LIMIT 5 [ RunTime:0.001871s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16835090 ORDER BY `minOrder` ASC [ RunTime:0.000835s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002084s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16835090 ORDER BY `unit` DESC [ RunTime:0.000624s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16835090 LIMIT 2 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16835090 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16814829 LIMIT 5 [ RunTime:0.000991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16814829 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16814829 ORDER BY `unit` DESC [ RunTime:0.000523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16814829 LIMIT 2 [ RunTime:0.000957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16814829 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26418 LIMIT 5 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26418 ORDER BY `minOrder` ASC [ RunTime:0.001142s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26418 ORDER BY `unit` DESC [ RunTime:0.000886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26418 LIMIT 2 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26418 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
select * from pdf where partno='CRCW06035K90FKEAC' and brandshort='Vishay' limit 1 [ RunTime:0.000904s ]
select foldpath,foldpath2,filename from pdf_file where id=1917858 limit 1 [ RunTime:0.000729s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001944s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06035K90FKEAC' OR `brand` LIKE 'Vishay%' ) ) LIMIT 1 [ RunTime:0.012095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25244 LIMIT 5 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25244 ORDER BY `minOrder` ASC [ RunTime:0.000937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25244 ORDER BY `unit` DESC [ RunTime:0.000704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25244 LIMIT 2 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25244 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='CRCW06035K90FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.000585s ]
select foldpath,foldpath2,filename from pdf_file where id=1130647 limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06035K90FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18048480 LIMIT 5 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18048480 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18048480 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18048480 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18048480 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000737s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33010847 LIMIT 5 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33010847 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33010847 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33010847 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33010847 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='CRCW06035K90FKEAC' and brandshort='Vishay Dale' limit 1 [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06035K90FKEAC' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.000306s ]
SELECT `id` FROM `stock` WHERE `id` <> 33010847 AND `partno` = 'CRCW06035K90FKEAC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16835090 [ RunTime:0.000275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32931419 LIMIT 5 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32931419 ORDER BY `minOrder` ASC [ RunTime:0.000660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32931419 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32931419 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32931419 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='CRCW06035K90FKEA' and brandshort='Vishay Dale' limit 1 [ RunTime:0.000352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06035K90FKEA' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.000306s ]
SELECT `id` FROM `stock` WHERE `id` <> 32931419 AND `partno` = 'CRCW06035K90FKEA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16814829 [ RunTime:0.000275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34083781 LIMIT 5 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34083781 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34083781 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34083781 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34083781 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='CRCW06035K90FKEAHP' and brandshort='Vishay Dale' limit 1 [ RunTime:0.000488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06035K90FKEAHP' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.000299s ]
SELECT `id` FROM `stock` WHERE `id` <> 34083781 AND `partno` = 'CRCW06035K90FKEAHP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18048480 [ RunTime:0.000273s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000511s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000492s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000448s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000451s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000443s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000477s ]
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 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000508s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CRCW06035K90FKEA%' OR `brand` LIKE 'CRCW06035K90FKEA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000481s ]