| | |
| | | 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; |
| | |
| | | default: |
| | | name = ""; |
| | | } |
| | | Long aLong = taskService.saveTask(1, name, 1, "", AuthUtil.getUserId(),taskLabelReportingEvent.getHouseCode(),taskLabelReportingEvent.getReportType()); |
| | | Long aLong = taskService.saveTask(1, name, 1, "", AuthUtil.getUserId(), |
| | | taskLabelReportingEvent.getHouseCode(),taskLabelReportingEvent.getReportType(),0); |
| | | if (aLong > 0) { |
| | | // 通过houseCode 获取场所id |
| | | QueryWrapper<PlaceEntity> queryWrapper = new QueryWrapper<>(); |
| | |
| | | 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; |