20261109 #20
@ -42,7 +42,8 @@ public class ApprovalNotifier(
|
|||||||
$"审批单 {instance.InstanceNo} 待你处理。\n" +
|
$"审批单 {instance.InstanceNo} 待你处理。\n" +
|
||||||
$"操作:{instance.OperationCode}\n" +
|
$"操作:{instance.OperationCode}\n" +
|
||||||
$"申请人:{instance.ApplicantUserName ?? instance.ApplicantUserGuid}\n" +
|
$"申请人:{instance.ApplicantUserName ?? instance.ApplicantUserGuid}\n" +
|
||||||
$"请到「系统管理 / 审批待办」处理。";
|
$"请到「系统管理 / 审批待办」处理。\n" +
|
||||||
|
$"[OMS_APPROVAL:id={instance.Id}&tab=todo]";
|
||||||
|
|
||||||
await noticeRepository.InsertAsync(new Notice
|
await noticeRepository.InsertAsync(new Notice
|
||||||
{
|
{
|
||||||
@ -84,7 +85,8 @@ public class ApprovalNotifier(
|
|||||||
$"审批单 {instance.InstanceNo} 已{resultText}。\n" +
|
$"审批单 {instance.InstanceNo} 已{resultText}。\n" +
|
||||||
$"操作:{instance.OperationCode}\n" +
|
$"操作:{instance.OperationCode}\n" +
|
||||||
(string.IsNullOrWhiteSpace(comment) ? string.Empty : $"意见:{comment.Trim()}\n") +
|
(string.IsNullOrWhiteSpace(comment) ? string.Empty : $"意见:{comment.Trim()}\n") +
|
||||||
$"可在「系统管理 / 审批待办 → 我发起的」查看详情。";
|
$"可在「系统管理 / 审批待办 → 我发起的」查看详情。\n" +
|
||||||
|
$"[OMS_APPROVAL:id={instance.Id}&tab=submitted]";
|
||||||
|
|
||||||
await noticeRepository.InsertAsync(new Notice
|
await noticeRepository.InsertAsync(new Notice
|
||||||
{
|
{
|
||||||
|
|||||||
@ -466,11 +466,11 @@ public partial class SalesProductService
|
|||||||
PayloadJson = OmsDocHelper.SerializeJson(payload),
|
PayloadJson = OmsDocHelper.SerializeJson(payload),
|
||||||
Summary = new
|
Summary = new
|
||||||
{
|
{
|
||||||
salesProductId,
|
productCode = product.ProductCode,
|
||||||
product.ProductCode,
|
productName = product.ProductName,
|
||||||
product.ProductName,
|
description,
|
||||||
contentHash,
|
hasAiReport = !string.IsNullOrWhiteSpace(aiAnalysisReport),
|
||||||
description
|
applicantUserName = publishUser
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -82,15 +82,20 @@ public class RechargeService : ApplicationService
|
|||||||
customerName = customer.CustomerName,
|
customerName = customer.CustomerName,
|
||||||
serialNumber = savedEntity.SerialNumber,
|
serialNumber = savedEntity.SerialNumber,
|
||||||
rechargeAmount = savedEntity.RechargeAmount,
|
rechargeAmount = savedEntity.RechargeAmount,
|
||||||
payType = (int)savedEntity.PayType
|
payType = (int)savedEntity.PayType,
|
||||||
|
payTypeName = GetPayTypeName(savedEntity.PayType),
|
||||||
|
remark = savedEntity.Remark,
|
||||||
|
// 审批人查看用公网 URL;相对路径便于前端二次 resolve
|
||||||
|
rechargeScreenshot = FileStorage.GetPublicUrl(savedEntity.RechargeScreenshot),
|
||||||
|
rechargeScreenshotPath = savedEntity.RechargeScreenshot
|
||||||
}),
|
}),
|
||||||
Summary = new
|
Summary = new
|
||||||
{
|
{
|
||||||
savedEntity.Id,
|
|
||||||
customer.CustomerCode,
|
customer.CustomerCode,
|
||||||
customer.CustomerName,
|
customer.CustomerName,
|
||||||
savedEntity.SerialNumber,
|
savedEntity.SerialNumber,
|
||||||
savedEntity.RechargeAmount
|
savedEntity.RechargeAmount,
|
||||||
|
payTypeName = GetPayTypeName(savedEntity.PayType)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user