|
|
@@ -596,10 +596,16 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
/// <returns></returns>
|
|
|
public static string TaskAssignment_Create_ToUser(TaskAssignment_Create_ToUserModel dto)
|
|
|
{
|
|
|
- string result = string.Format(@" `任务分配通知`
|
|
|
|
|
|
->团组:<font color='info'>{0}</font>
|
|
|
+ //团组名称=“未选择”时 不显示 团名称行
|
|
|
+ string groupLabel = string.Empty;
|
|
|
+ if (dto != null && dto.GroupName != "未选择") {
|
|
|
+ groupLabel = @$">团组:<font color='info'>{dto.GroupName}</font>
|
|
|
+";
|
|
|
+ }
|
|
|
|
|
|
+ string result = string.Format(@" `任务分配通知`
|
|
|
+{0}
|
|
|
<font color='info'>{1}</font>
|
|
|
|
|
|
>操作人员:{2}
|
|
|
@@ -607,7 +613,7 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
|
|
|
[详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/)
|
|
|
|
|
|
- ", dto.GroupName, dto.Title, dto.CreateUser, dto.RefreshDate);
|
|
|
+ ", groupLabel, dto.Title, dto.CreateUser, dto.RefreshDate);
|
|
|
|
|
|
return result;
|
|
|
}
|