| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 取保候审任务 服务实现类 |
| | |
| | | Integer integer = StringUtils.isBlank(taskBailReportingEvent.getConfirmFlag()) ? null : Integer.valueOf(taskBailReportingEvent.getConfirmFlag()); |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), taskBailReportingEvent.getTaskId(), integer); |
| | | if (aLong > 0) { |
| | | taskBailReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskBailReportingEvent.setConfirmTime(new Date()); |
| | | return baseMapper.updateById(taskBailReportingEvent) > 0 ? true : false; |
| | | } |
| | | return false; |