|
@@ -247,7 +247,7 @@ public class ExpenseSheetServiceImpl extends ServiceImpl<ExpenseSheetMapper, Exp
|
|
for (User item : targetUserList) {
|
|
for (User item : targetUserList) {
|
|
Information information=new Information();
|
|
Information information=new Information();
|
|
information.setUserId(item.getId());
|
|
information.setUserId(item.getId());
|
|
- information.setTime(LocalDateTime.now());
|
|
|
|
|
|
+ information.setTime(new Date());
|
|
information.setMsg("费用报销待审核");
|
|
information.setMsg("费用报销待审核");
|
|
information.setType(3);
|
|
information.setType(3);
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
@@ -342,7 +342,7 @@ public class ExpenseSheetServiceImpl extends ServiceImpl<ExpenseSheetMapper, Exp
|
|
for (User item : targetUserList) {
|
|
for (User item : targetUserList) {
|
|
Information information=new Information();
|
|
Information information=new Information();
|
|
information.setUserId(item.getId());
|
|
information.setUserId(item.getId());
|
|
- information.setTime(LocalDateTime.now());
|
|
|
|
|
|
+ information.setTime(new Date());
|
|
information.setMsg("费用报销待审核");
|
|
information.setMsg("费用报销待审核");
|
|
information.setType(3);
|
|
information.setType(3);
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
@@ -394,7 +394,7 @@ public class ExpenseSheetServiceImpl extends ServiceImpl<ExpenseSheetMapper, Exp
|
|
for (User item : targetUserList) {
|
|
for (User item : targetUserList) {
|
|
Information information=new Information();
|
|
Information information=new Information();
|
|
information.setUserId(item.getId());
|
|
information.setUserId(item.getId());
|
|
- information.setTime(LocalDateTime.now());
|
|
|
|
|
|
+ information.setTime(new Date());
|
|
information.setMsg("费用报销待审核");
|
|
information.setMsg("费用报销待审核");
|
|
information.setType(3);
|
|
information.setType(3);
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
@@ -676,7 +676,7 @@ public class ExpenseSheetServiceImpl extends ServiceImpl<ExpenseSheetMapper, Exp
|
|
for (User item : targetUserList) {
|
|
for (User item : targetUserList) {
|
|
Information information=new Information();
|
|
Information information=new Information();
|
|
information.setUserId(item.getId());
|
|
information.setUserId(item.getId());
|
|
- information.setTime(LocalDateTime.now());
|
|
|
|
|
|
+ information.setTime(new Date());
|
|
information.setMsg("费用报销待审核");
|
|
information.setMsg("费用报销待审核");
|
|
information.setType(3);
|
|
information.setType(3);
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
information.setContent(sheet.getCreateDate()+"");
|
|
@@ -789,7 +789,7 @@ public class ExpenseSheetServiceImpl extends ServiceImpl<ExpenseSheetMapper, Exp
|
|
//系统内消息
|
|
//系统内消息
|
|
Information information=new Information();
|
|
Information information=new Information();
|
|
information.setUserId(owner.getId());
|
|
information.setUserId(owner.getId());
|
|
- information.setTime(LocalDateTime.now());
|
|
|
|
|
|
+ information.setTime(new Date());
|
|
information.setMsg("您"+(sheet.getCreateDate() == null?"":dateTimeFormatter.format(sheet.getCreateDate())) + "费用报销申请审核"+(sheet.getStatus() == 0?"已通过":"已驳回")+", 审核人:"
|
|
information.setMsg("您"+(sheet.getCreateDate() == null?"":dateTimeFormatter.format(sheet.getCreateDate())) + "费用报销申请审核"+(sheet.getStatus() == 0?"已通过":"已驳回")+", 审核人:"
|
|
+(auditor.getCorpwxUserid() != null ? ("$userName="+auditor.getCorpwxUserid()+"$"):auditor.getName()));
|
|
+(auditor.getCorpwxUserid() != null ? ("$userName="+auditor.getCorpwxUserid()+"$"):auditor.getName()));
|
|
information.setType(3);//费用报销模块
|
|
information.setType(3);//费用报销模块
|