附件为空提示

master
zhangxiaofeng 2 weeks ago
parent 6a565dcda6
commit bd48b6dce4

@ -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);
}

Loading…
Cancel
Save