option:补充对FBA兼容性的处理
This commit is contained in:
parent
f1806ae4f3
commit
eef228752d
@ -570,10 +570,21 @@ public partial class TrackService : ApplicationService, ITrackService
|
||||
}
|
||||
|
||||
var track = tracks.First();
|
||||
// todo-remove:为了照顾FBA老逻辑,暂时特殊处理一下
|
||||
if (track.SubSystemId == 9517)
|
||||
{
|
||||
if (track.TrackTime == trackTime)
|
||||
{
|
||||
throw new BusinessException(message: $"订单:[{orderNo}],轨迹代码:[{trackCode}]找不到要更新的记录,不允许修改,请检查轨迹TrackTime");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (DateTimeHelper.ConvertUtc0Compare(track.TrackTime, track.TrackTimeZone, trackTime, trackTimezone) != 0)
|
||||
{
|
||||
throw new BusinessException(message: $"订单:[{orderNo}],轨迹代码:[{trackCode}]找不到要更新的记录,不允许修改,请检查轨迹TrackTime");
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.Equals(track.Extra, extra))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user