-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
houyi
committed
Oct 15, 2014
1 parent
91d2832
commit cd1ab26
Showing
10 changed files
with
101 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### set log levels ### | ||
log4j.rootLogger = INFO,console | ||
log4j.logger.org.hibernate.type=TRACE | ||
log4j.logger.com.itec.bdp=DEBUG | ||
#console | ||
log4j.appender.console = org.apache.log4j.ConsoleAppender | ||
log4j.appender.console.Target = System.out | ||
log4j.appender.console.layout = org.apache.log4j.PatternLayout | ||
log4j.appender.console.layout.ConversionPattern = %-d{HH:mm:ss} [%t:%r] - [%p] %m%n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.lottery.action; | ||
|
||
import com.lottery.service.LotteryAllService; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
|
||
import java.awt.event.ActionEvent; | ||
import java.awt.event.ActionListener; | ||
|
||
/** | ||
* Created by houyi on 2014/10/15. | ||
*/ | ||
public class InitDataAction implements ActionListener { | ||
@Autowired | ||
private LotteryAllService lotteryAllService; | ||
|
||
@Override | ||
public void actionPerformed(ActionEvent e) { | ||
lotteryAllService.initLotteryData(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
public class LotteryAnyService { | ||
@Autowired | ||
private LotteryAnyDao lotteryAnyDao; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters