20261109 #20

Merged
zzh merged 9 commits from test into master 2026-11-09 10:07:44 +08:00
3 changed files with 17 additions and 10 deletions
Showing only changes of commit d83d290ccb - Show all commits

View File

@ -42,7 +42,8 @@ public class ApprovalNotifier(
$"审批单 {instance.InstanceNo} 待你处理。\n" +
$"操作:{instance.OperationCode}\n" +
$"申请人:{instance.ApplicantUserName ?? instance.ApplicantUserGuid}\n" +
$"请到「系统管理 / 审批待办」处理。";
$"请到「系统管理 / 审批待办」处理。\n" +
$"[OMS_APPROVAL:id={instance.Id}&tab=todo]";
await noticeRepository.InsertAsync(new Notice
{
@ -84,7 +85,8 @@ public class ApprovalNotifier(
$"审批单 {instance.InstanceNo} 已{resultText}。\n" +
$"操作:{instance.OperationCode}\n" +
(string.IsNullOrWhiteSpace(comment) ? string.Empty : $"意见:{comment.Trim()}\n") +
$"可在「系统管理 / 审批待办 → 我发起的」查看详情。";
$"可在「系统管理 / 审批待办 → 我发起的」查看详情。\n" +
$"[OMS_APPROVAL:id={instance.Id}&tab=submitted]";
await noticeRepository.InsertAsync(new Notice
{

View File

@ -466,11 +466,11 @@ public partial class SalesProductService
PayloadJson = OmsDocHelper.SerializeJson(payload),
Summary = new
{
salesProductId,
product.ProductCode,
product.ProductName,
contentHash,
description
productCode = product.ProductCode,
productName = product.ProductName,
description,
hasAiReport = !string.IsNullOrWhiteSpace(aiAnalysisReport),
applicantUserName = publishUser
}
});

View File

@ -82,15 +82,20 @@ public class RechargeService : ApplicationService
customerName = customer.CustomerName,
serialNumber = savedEntity.SerialNumber,
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
{
savedEntity.Id,
customer.CustomerCode,
customer.CustomerName,
savedEntity.SerialNumber,
savedEntity.RechargeAmount
savedEntity.RechargeAmount,
payTypeName = GetPayTypeName(savedEntity.PayType)
}
});