SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001084s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002399s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001052s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000382s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 432 LIMIT 1 [ RunTime:0.000568s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 432 [ RunTime:0.000231s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002191s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 432 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001902s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('6873','9623','5217','9184','12367','5706','9910','1628','8063','2840','4613','9182','2696','5707','10110','16758','16647','16614','15739','15628') ORDER BY FIELD(s.id, 6873,9623,5217,9184,12367,5706,9910,1628,8063,2840,4613,9182,2696,5707,10110,16758,16647,16614,15739,15628) [ RunTime:0.000676s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12367 LIMIT 4 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12367 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12367 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31826MUA+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5706 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5706 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5706 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='TSIC 306 TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 306 TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9910 LIMIT 4 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9910 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9910 LIMIT 2 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT31-DIS-P2.5KS' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1628 LIMIT 4 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1628 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1628 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700A-E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8063 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8063 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8063 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2840 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2840 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2840 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700AT-E/TT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4613 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4613 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4613 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9182 LIMIT 4 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.000474s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9182 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9182 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
select * from pdf where partno='KTY82/210,215' and brandshort='NXP' limit 1 [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY82/210,215' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000483s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2696 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2696 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2696 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM335AZ' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5707 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5707 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5707 LIMIT 2 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0K1.202.3FW.A.007' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10110 LIMIT 4 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10110 ORDER BY `unit` DESC [ RunTime:0.000450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10110 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31865AAP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16758 LIMIT 4 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16758 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16758 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16647 LIMIT 4 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16647 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16647 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16614 LIMIT 4 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16614 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16614 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='TSIC 506F TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.000474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 506F TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15739 LIMIT 4 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15739 ORDER BY `unit` DESC [ RunTime:0.000343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15739 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15628 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15628 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15628 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000346s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 432 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000429s ]