diff --git a/EntrustSettle.Api/Controllers/OpenController.cs b/EntrustSettle.Api/Controllers/OpenController.cs index 19149aa..c742167 100644 --- a/EntrustSettle.Api/Controllers/OpenController.cs +++ b/EntrustSettle.Api/Controllers/OpenController.cs @@ -237,6 +237,10 @@ namespace EntrustSettle.Api.Controllers }, Remark = item.remark, }; + if (annex.Type == 3 && string.IsNullOrEmpty(item.fileUrl)) + { + orderStatusModelList.Remark += "(附件为空)"; + } await orderHistoryService.Add(orderStatusModelList); if (!string.IsNullOrEmpty(item.fileUrl)) @@ -476,12 +480,20 @@ namespace EntrustSettle.Api.Controllers // 记录订单状态历史 - var orderStatusModelList = waitBindOrderIdList.Select(x => new OrderHistory() + var orderStatusModelList = waitBindOrderIdList.Select(x => { - Pid = x, - StatusTime = DateTime.Now, - Status = 7, - Remark = feedbackItem.remark, + var history = new OrderHistory() + { + Pid = x, + StatusTime = DateTime.Now, + Status = 7, + Remark = feedbackItem.remark, + }; + if (string.IsNullOrEmpty(feedbackItem.fileUrl)) + { + history.Remark += "(发票附件为空)"; + } + return history; }).ToList(); await orderHistoryService.Add(orderStatusModelList); }