|
@@ -88,6 +88,7 @@ public class NoticeWebsitLogic {
|
|
|
noticeWebsitRecord.setAdminWebsitName(adminWebsit.getName());
|
|
|
noticeWebsitRecord.setCompanyWechatId(adminUser.getCompanyWechatId());
|
|
|
noticeWebsitRecord.setCompanyWechatName(adminUser.getCompanyName());
|
|
|
+ noticeWebsitRecord.setIssueTime(noticeBean.getIssueTime());
|
|
|
|
|
|
|
|
|
noticeWebsitRecords.add(noticeWebsitRecord);
|
|
@@ -127,7 +128,13 @@ public class NoticeWebsitLogic {
|
|
|
public void ofOrSend(String id, String status) {
|
|
|
NoticeWebsit noticeWebsit = noticeWebsitService.getById(id);
|
|
|
noticeWebsit.setStatus(status);
|
|
|
+ if (status.equals("SEND"))
|
|
|
+ noticeWebsit.setIssueTime(new Date());
|
|
|
noticeWebsit.updateById();
|
|
|
+
|
|
|
+ noticeWebsitRecordService.lambdaUpdate()
|
|
|
+ .eq(NoticeWebsitRecord::getNoticeWebsitId,id)
|
|
|
+ .set(NoticeWebsitRecord::getIssueTime,new Date()).update();
|
|
|
}
|
|
|
|
|
|
public IPage<NoticeWebsitRecordVO> listWebsit(Page page, ZfireParamBean zfireParam) {
|