fix:新增/修改轨迹 修复校验中的bool逻辑错误
This commit is contained in:
parent
9f4872b432
commit
355c7d02cd
@ -467,7 +467,7 @@ public partial class TrackService : ApplicationService, ITrackService
|
||||
throw new BusinessException(message: "【预计签收时间】和【签收地时区】必须同时输入");
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(compareFields) && string.IsNullOrWhiteSpace(extra))
|
||||
if (!string.IsNullOrWhiteSpace(compareFields) && string.IsNullOrWhiteSpace(extra))
|
||||
{
|
||||
throw new BusinessException(message: "当输入了【轨迹对比字段】则轨迹扩展是必须的的");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user