| | |
| | | |
| | | |
| | | @Override |
| | | public Boolean saveBailReporting(TaskBailReportingEventDTO taskBailReportingEvent) { |
| | | Long aLong = taskService.saveTask(3, DictConstant.BAIL_PENDING_TRIAL, 1, "", AuthUtil.getUserId(),taskBailReportingEvent.getHouseCode()); |
| | | public Boolean saveBailReporting(TaskBailReportingEventDTO bailReporting) { |
| | | Long aLong = taskService.saveTask(3, DictConstant.BAIL_PENDING_TRIAL, 1, "", AuthUtil.getUserId(),bailReporting.getHouseCode(),bailReporting.getReportType()); |
| | | if (aLong > 0) { |
| | | taskBailReportingEvent.setTaskId(aLong); |
| | | taskBailReportingEvent.setCheckUserId(AuthUtil.getUserId()); |
| | | return baseMapper.insert(taskBailReportingEvent) > 0 ? true : false; |
| | | bailReporting.setTaskId(aLong); |
| | | bailReporting.setCheckUserId(AuthUtil.getUserId()); |
| | | return baseMapper.insert(bailReporting) > 0 ? true : false; |
| | | } |
| | | return false; |
| | | } |