| | |
| | | import com.ruoyi.system.query.InsepectorListQuery; |
| | | import com.ruoyi.system.query.TaskListQuery; |
| | | import com.ruoyi.system.service.*; |
| | | import com.ruoyi.system.utils.TemplateMessageSendUtil; |
| | | import com.ruoyi.system.vo.system.InspectorListVO; |
| | | import com.ruoyi.system.vo.system.TaskListVO; |
| | | import com.ruoyi.web.controller.tool.EmailUtils; |
| | |
| | | private TDictDataService dictDataService; |
| | | @Resource |
| | | private MsgUtils msgUtils; |
| | | @Resource |
| | | private TemplateMessageSendUtil templateMessageSendUtil; |
| | | @Log(title = "审核任务", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "审核任务") |
| | | @PostMapping(value = "/audit") |
| | |
| | | } |
| | | break; |
| | | case 3: |
| | | if (StringUtils.hasLength(sysUser.getOpenId())){ |
| | | templateMessageSendUtil.wxTemplateProblemRectificationRequest(sysUser.getOpenId(), |
| | | location.getLocationName(),dto.getAuditRemark()); |
| | | } |
| | | break; |
| | | } |
| | | }else{ |