| | |
| | | @Dict(dicCode = "mdcMsgType") |
| | | private String msgType; |
| | | /** |
| | | * 消息来源 |
| | | */ |
| | | @Excel(name = "消息来源", width = 15) |
| | | @ApiModelProperty(value = "消息来源") |
| | | private String msgSource; |
| | | /** |
| | | * 标题 |
| | | */ |
| | | @Excel(name = "标题", width = 15) |
| | |
| | | <if test="mdcMessageApproval.msgStatus != null and mdcMessageApproval.msgStatus != ''"> |
| | | AND msg_status = #{mdcMessageApproval.msgStatus} |
| | | </if> |
| | | <if test="mdcMessageApproval.msgType != null and mdcMessageApproval.msgType != ''"> |
| | | AND msg_type = #{mdcMessageApproval.msgType} |
| | | </if> |
| | | <if test="mdcMessageApproval.msgSource != null and mdcMessageApproval.msgSource != ''"> |
| | | AND msg_source = #{mdcMessageApproval.msgSource} |
| | | </if> |
| | | </where> |
| | | ORDER BY create_time DESC |
| | | </select> |
| | |
| | | List<String> superNameList = superList.stream().map(SysUser::getRealname).collect(Collectors.toList()); |
| | | mdcMessageApproval.setApproverNames(String.join(",", superNameList)); |
| | | } |
| | | mdcMessageApproval.setMsgSource("手动上报"); |
| | | mdcMessageApproval.setMsgStatus(MdcConstant.MSG_STATUS_0); |
| | | return result; |
| | | } |