临时提交
This commit is contained in:
@@ -28,5 +28,14 @@ public class FeishuMsgVo {
|
||||
|
||||
private String assignee; //评估人 适用范围:责任人提交通知发起人(设计符合性,pre-homo符合性,验证符合性)
|
||||
|
||||
private String RegulationNo; //编号
|
||||
|
||||
private String documentTitle; //文档标题
|
||||
|
||||
private String NewTypeExecutionDate; //新车型实施日期
|
||||
|
||||
private String NewVehicleExecutionDate; //在产车实施日期
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
+17
@@ -13,6 +13,7 @@ import com.jero.modules.document.enums.FieldTypeEnum;
|
||||
import com.jero.modules.document.mapper.BussDocumentLibraryEOMapper;
|
||||
import com.jero.modules.document.service.impl.BussDocumentLibraryEOServiceImpl;
|
||||
import com.jero.modules.feishu.service.IFeishuService;
|
||||
import com.jero.modules.feishu.vo.FeishuMsgVo;
|
||||
import com.jero.modules.system.entity.SysAnnouncement;
|
||||
import com.jero.modules.system.entity.SysCategory;
|
||||
import com.jero.modules.system.entity.SysDictItem;
|
||||
@@ -453,6 +454,22 @@ public class LawsWarnService {
|
||||
}
|
||||
});
|
||||
String contentTemp = sysUser.getUsername() + " has pushed " + StringUtils.join(list, ",") + ", Please be reminded to check it out.";
|
||||
|
||||
//XXX向您分享了法规预警信息。
|
||||
//XXX shared Regulation Early Warning infomation with you.
|
||||
String contentInfoFei = sysUser.getUsername() +" shared Regulation Early Warning infomation with you..";
|
||||
String contentInfoFeiCn = sysUser.getUsername() +"向您分享了法规预警信息";
|
||||
FeishuMsgVo feishuMsgVo = new FeishuMsgVo();
|
||||
feishuMsgVo.setTitle(MessageTypeEnum.READ.getNameCn()+"/"+MessageTypeEnum.READ.getName());
|
||||
feishuMsgVo.setUrl(encode);
|
||||
feishuMsgVo.setContentEn(contentInfoFei);
|
||||
feishuMsgVo.setContent(contentInfoFeiCn);
|
||||
// feishuMsgVo.setRegulationNo();
|
||||
// feishuMsgVo.setDocumentTitle();
|
||||
// feishuMsgVo.setNewTypeExecutionDate();
|
||||
// feishuMsgVo.setNewVehicleExecutionDate();
|
||||
|
||||
// iFeishuService.batchSendMessage(thirdIdList.toArray(new String[]{}), contentTemp, MessageTypeEnum.PUSH.getName(), encode);
|
||||
iFeishuService.batchSendMessage(thirdIdList.toArray(new String[]{}), contentTemp, MessageTypeEnum.PUSH.getName(), encode);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user