|
@@ -193,7 +193,7 @@ func (this *BusinessTrip) ApplyAdd() {
|
|
|
//系统消息
|
|
|
sourceType := 10
|
|
|
content := sysUser.RealName + " " + req.Province + req.City + req.Reason + "出差申请"
|
|
|
- go services.AddCompanyApprovalMessage(sysUserId, approveItem.AdminId, 0, int(applyId), 1, sourceType, 2, "", content, content, "", "")
|
|
|
+ go services.AddCompanyApprovalMessage(sysUserId, approveItem.AdminId, 0, int(applyId), 1, sourceType, 1, "", content, content, "", "")
|
|
|
}
|
|
|
|
|
|
//模板消息
|
|
@@ -419,7 +419,7 @@ func (this *BusinessTrip) ApplyEdit() {
|
|
|
//系统消息
|
|
|
sourceType := 10
|
|
|
content := sysUser.RealName + " " + req.Province + req.City + req.Reason + "出差申请"
|
|
|
- go services.AddCompanyApprovalMessage(sysUserId, approveItem.AdminId, 0, req.BusinessApplyId, 1, sourceType, 2, "", content, content, "", "")
|
|
|
+ go services.AddCompanyApprovalMessage(sysUserId, approveItem.AdminId, 0, req.BusinessApplyId, 1, sourceType, 1, "", content, content, "", "")
|
|
|
}
|
|
|
|
|
|
//模板消息
|