| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springblade.common.constant.DictConstant; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | |
| | | if (aLong > 0) { |
| | | taskLabelReportingEvent.setConfirmFlag(taskLabelReportingEvent.getStatus().toString()); |
| | | taskLabelReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskLabelReportingEvent.setConfirmTime(new Date()); |
| | | if (null!=taskLabelReportingEvent.getStatus() |
| | | && taskLabelReportingEvent.getStatus()!=4) { |
| | | taskLabelReportingEvent.setConfirmFlag(taskLabelReportingEvent.getStatus().toString()); |
| | | taskLabelReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskLabelReportingEvent.setConfirmTime(new Date()); |
| | | } |
| | | Boolean b = baseMapper.updateById(taskLabelReportingEvent) > 0; |
| | | if (b) { |
| | | return b; |