Commit 9a6560be by ddx

add log

parent 91c4b15b
......@@ -109,6 +109,7 @@ public class JxSampleController {
public String jxAnalysisHourly(String username, String startDate, String endDate) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income hourly request:{}", username + "=" +startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......@@ -130,6 +131,7 @@ public class JxSampleController {
public String jxAnalysisDailyGroup(String startDate, String endDate) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income daily group request:{}", startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
analysisCriteria.setStartDateTime(startDate);
analysisCriteria.setEndDateTime(endDate);
......@@ -150,6 +152,7 @@ public class JxSampleController {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
log.info("query income daily request:{}", username + "=" + startDate + "=" + endDate);
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
analysisCriteria.setStartDateTime(startDate);
......@@ -170,6 +173,7 @@ public class JxSampleController {
public String jxAnalysisWeekly(String username, String startDate, String endDate) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income analysis weekly request:{}", username + "=" +startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......@@ -191,6 +195,7 @@ public class JxSampleController {
public String jxAnalysisMonthly(String username, String startDate, String endDate) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income analysis monthly request:{}", username + "=" +startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......@@ -236,7 +241,7 @@ public class JxSampleController {
public String jxAnalysisAreaGroup(String username, String startDate, String endDate, int topCount) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income area group request:{}", username + "=" +startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......@@ -267,6 +272,7 @@ public class JxSampleController {
public String jxAnalysisAreaGroupMap(String username, String startDate, String endDate) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query jx area group map request:{}", username + "=" +startDate + "=" + endDate);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......@@ -301,6 +307,7 @@ public class JxSampleController {
public String jxAnalysisQueryIncomeSuccess(String username, String areaCode) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income success request:{}", username + "=" +areaCode);
String usernamePlain = this.getUserPlain(username);
log.info("areaCode:{}", areaCode);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
......@@ -356,6 +363,7 @@ public class JxSampleController {
public String jxAnalysisExceptionStat(String username, String areaCode, String startDate, String endDate, String startDateTime, String endDateTime) {
try {
Stopwatch stopwatch = Stopwatch.createStarted();
log.info("query income exception stat request:{}", username + "=" +areaCode + "=" +startDate + "=" +endDate + "=" +startDateTime + "=" +endDateTime);
AnalysisCriteria analysisCriteria = new AnalysisCriteria();
String usernamePlain = this.getUserPlain(username);
analysisCriteria.setUsername(usernamePlain);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment