|
@@ -2,6 +2,7 @@ package org.jeecg.ctop.finance.agent.controller;
|
|
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
import org.jeecg.common.api.vo.Result;
|
|
import org.jeecg.common.api.vo.Result;
|
|
import org.jeecg.ctop.finance.agent.service.AgentManagementService;
|
|
import org.jeecg.ctop.finance.agent.service.AgentManagementService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -22,8 +23,8 @@ public class AgentManagementController {
|
|
AgentManagementService agentManagementService;
|
|
AgentManagementService agentManagementService;
|
|
|
|
|
|
@RequestMapping("/queryAccountTransactionDetails")
|
|
@RequestMapping("/queryAccountTransactionDetails")
|
|
- public void getList() {
|
|
|
|
- Result recharge = agentManagementService.synchronousAccountTransactionDetails("2021-05-01","2021-05-01");
|
|
|
|
|
|
+ public void getList(@Param("starDate")String startDate,@Param("endDate")String endDate) {
|
|
|
|
+ Result recharge = agentManagementService.synchronousAccountTransactionDetails(startDate,endDate);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -34,8 +35,8 @@ public class AgentManagementController {
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/synchronousAccountTransactionDay")
|
|
@RequestMapping("/synchronousAccountTransactionDay")
|
|
- public void synchronousAccountTransactionDay() {
|
|
|
|
- Result recharge = agentManagementService.synchronousAccountTransactionDay("2021-05-01","2021-05-01");
|
|
|
|
|
|
+ public void synchronousAccountTransactionDay(@Param("starDate")String startDate,@Param("endDate")String endDate) {
|
|
|
|
+ Result recharge = agentManagementService.synchronousAccountTransactionDay(startDate,endDate);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -49,19 +50,19 @@ public class AgentManagementController {
|
|
String date6="2021-07-31";
|
|
String date6="2021-07-31";
|
|
String date7="2021-08-01";
|
|
String date7="2021-08-01";
|
|
String date8="2021-08-31";
|
|
String date8="2021-08-31";
|
|
- //5月份
|
|
|
|
agentManagementService.synchronousAccount();
|
|
agentManagementService.synchronousAccount();
|
|
- //agentManagementService.synchronousAccountTransactionDetails(date1,date2);
|
|
|
|
- // agentManagementService.synchronousAccountTransactionDay(date1,date2);
|
|
|
|
|
|
+ //5月份
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDetails(date1,date2);
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDay(date1,date2);
|
|
//6月份
|
|
//6月份
|
|
- //agentManagementService.synchronousAccountTransactionDetails(date3,date4);
|
|
|
|
- agentManagementService.synchronousAccountTransactionDay(date3,date4);
|
|
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDetails(date3,date4);
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDay(date3,date4);
|
|
//7月份
|
|
//7月份
|
|
- // agentManagementService.synchronousAccountTransactionDetails(date5,date6);
|
|
|
|
- // agentManagementService.synchronousAccountTransactionDay(date5,date6);
|
|
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDetails(date5,date6);
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDay(date5,date6);
|
|
//8月份
|
|
//8月份
|
|
- // agentManagementService.synchronousAccountTransactionDetails(date7,date8);
|
|
|
|
- // agentManagementService.synchronousAccountTransactionDay(date7,date8);
|
|
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDetails(date7,date8);
|
|
|
|
+ agentManagementService.synchronousAccountTransactionDay(date7,date8);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|