Commit 41e3309d by kangxiaoshan

操作日志

parent 168e9b9a
...@@ -36,19 +36,19 @@ public class UserLogController ...@@ -36,19 +36,19 @@ public class UserLogController
@RequestMapping(value = "change/del/info", method = RequestMethod.GET) @RequestMapping(value = "change/del/info", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResultModel getChangeDelData(@PathVariable String platform, @CurrentAccount User loginAccount, public ResultModel getChangeDelData( @CurrentAccount User loginAccount,
HttpServletRequest request, HttpServletRequest request,
String contranctCode,String startDate,String endDate) { String contranctCode,String startDate,String endDate) {
return ResultModel.OK(service.getChangeDelData(platform,loginAccount,contranctCode,startDate,endDate)); return ResultModel.OK(service.getChangeDelData(loginAccount,contranctCode,startDate,endDate));
} }
@RequestMapping(value = "change/del/detail", method = RequestMethod.GET) @RequestMapping(value = "change/del/detail", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResultModel getChangeDelDetail( @PathVariable String platform,@CurrentAccount User loginAccount, public ResultModel getChangeDelDetail( @CurrentAccount User loginAccount,
String pid) { String pid) {
return ResultModel.OK(service.getChangeDelDetailData(platform,loginAccount,pid)); return ResultModel.OK(service.getChangeDelDetailData(loginAccount,pid));
} }
} }
...@@ -65,7 +65,7 @@ public interface ContractService { ...@@ -65,7 +65,7 @@ public interface ContractService {
Object changesDel(String platform, String id, String type, String ip, User loginAccount); Object changesDel(String platform, String id, String type, String ip, User loginAccount);
List<ChangeDelInfo> getChangeDelData(String platform, User loginAccount, String contranctCode, String startDate, String endDate); List<ChangeDelInfo> getChangeDelData(User loginAccount, String contranctCode, String startDate, String endDate);
List<ChangeDelDetail> getChangeDelDetailData(String platform, User loginAccount, String pid); List<ChangeDelDetail> getChangeDelDetailData(User loginAccount, String pid);
} }
\ No newline at end of file
...@@ -1380,7 +1380,7 @@ public class ContractServiceImpl implements ContractService { ...@@ -1380,7 +1380,7 @@ public class ContractServiceImpl implements ContractService {
} }
@Override @Override
public List<ChangeDelInfo> getChangeDelData(String platform, User loginAccount, String contranctCode, String startDate, String endDate) { public List<ChangeDelInfo> getChangeDelData(User loginAccount, String contranctCode, String startDate, String endDate) {
List<ChangeDelInfo> datas = changeDelInfoRepository.findOnStartDate(startDate,endDate); List<ChangeDelInfo> datas = changeDelInfoRepository.findOnStartDate(startDate,endDate);
return datas; return datas;
...@@ -1388,7 +1388,7 @@ public class ContractServiceImpl implements ContractService { ...@@ -1388,7 +1388,7 @@ public class ContractServiceImpl implements ContractService {
@Override @Override
public List<ChangeDelDetail> getChangeDelDetailData(String platform, User loginAccount, String pid) { public List<ChangeDelDetail> getChangeDelDetailData(User loginAccount, String pid) {
List<ChangeDelDetail> datas = changeDelDetailRepository.findByPid(pid); List<ChangeDelDetail> datas = changeDelDetailRepository.findByPid(pid);
return datas; return datas;
......
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