| | |
| | | import com.ruoyi.system.model.*; |
| | | import com.ruoyi.system.query.InsepectorListQuery; |
| | | import com.ruoyi.system.service.*; |
| | | import com.ruoyi.system.utils.TemplateMessageSendUtil; |
| | | import com.ruoyi.system.vo.system.AppealDetailVO; |
| | | import com.ruoyi.system.vo.system.AppealListVO; |
| | | import com.ruoyi.web.controller.tool.EmailUtils; |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.validation.Valid; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Arrays; |
| | | import java.util.Collections; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | @Resource |
| | | private MsgUtils msgUtils; |
| | | @Resource |
| | | private TemplateMessageSendUtil templateMessageSendUtil; |
| | | @Resource |
| | | private TNoticeSetService noticeSetService; |
| | | @Resource |
| | | private TDictDataService dictDataService; |
| | |
| | | } |
| | | break; |
| | | case 3: |
| | | if (StringUtils.hasLength(sysUser.getOpenId())){ |
| | | Date date = new Date(); |
| | | |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm"); |
| | | String format = simpleDateFormat.format(date); |
| | | templateMessageSendUtil.wxTemplateAppealResultRequest(sysUser.getOpenId(), |
| | | location.getLocationName(),"通过",format,dto.getAuditRemark()); |
| | | } |
| | | break; |
| | | } |
| | | } |
| | |
| | | } |
| | | break; |
| | | case 3: |
| | | if (StringUtils.hasLength(sysUser.getOpenId())){ |
| | | Date date = new Date(); |
| | | |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm"); |
| | | String format = simpleDateFormat.format(date); |
| | | templateMessageSendUtil.wxTemplateAppealResultRequest(sysUser.getOpenId(), |
| | | location.getLocationName(),"驳回",format,dto.getAuditRemark()); |
| | | } |
| | | break; |
| | | } |
| | | } |