附件为空提示

master
zhangxiaofeng 2 weeks ago
parent 6a565dcda6
commit bd48b6dce4

@ -237,6 +237,10 @@ namespace EntrustSettle.Api.Controllers
}, },
Remark = item.remark, Remark = item.remark,
}; };
if (annex.Type == 3 && string.IsNullOrEmpty(item.fileUrl))
{
orderStatusModelList.Remark += "(附件为空)";
}
await orderHistoryService.Add(orderStatusModelList); await orderHistoryService.Add(orderStatusModelList);
if (!string.IsNullOrEmpty(item.fileUrl)) 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, var history = new OrderHistory()
StatusTime = DateTime.Now, {
Status = 7, Pid = x,
Remark = feedbackItem.remark, StatusTime = DateTime.Now,
Status = 7,
Remark = feedbackItem.remark,
};
if (string.IsNullOrEmpty(feedbackItem.fileUrl))
{
history.Remark += "(发票附件为空)";
}
return history;
}).ToList(); }).ToList();
await orderHistoryService.Add(orderStatusModelList); await orderHistoryService.Add(orderStatusModelList);
} }

Loading…
Cancel
Save