海运达又改接口了!

master
zhangxiaofeng 5 months ago
parent fe17d0008e
commit 69f52de4d3

@ -182,8 +182,9 @@ namespace EntrustSettle.Api.Controllers
//Path = relativePath
//Type
};
// 海运达规定:海运达返回的账单会以“[反馈账单]”为开头同时billApplyFlag = 1
if (item.billApplyFlag == 1 && item.remark?.StartsWith("[反馈账单]") == true)
//if (item.billApplyFlag == 1 && item.remark?.StartsWith("[反馈账单]") == true)
// 海运达规定海运达返回的账单remark==“账单“
if (item.remark == "账单")
{
annex.Type = 3;
isHasBill = true;

@ -1054,7 +1054,7 @@ namespace EntrustSettle.Api.Controllers
}
var annexList = await orderAnnexService.Db.Queryable<OrderAnnex, Annex>((o, a) => o.AnnexId == a.Id)
.Where((o, a) => o.OrderId == id)
.Where((o, a) => a.Type == (int)FileTypeEnum. || a.Type == (int)FileTypeEnum. || a.Type == (int)FileTypeEnum.)
.Where((o, a) => a.Type == (int)FileTypeEnum. || a.Type == (int)FileTypeEnum. || a.Type == (int)FileTypeEnum. || a.Type == (int)FileTypeEnum.)
.OrderByDescending((o, a) => a.CreateTime)
.Select((o, a) => new AnnexDto()
{

Loading…
Cancel
Save