|
|
|
@ -198,7 +198,8 @@ namespace djy.Service.Ams
|
|
|
|
|
hblist = dto.HouseDto.Select(x => x.HBLNo.Trim()).ToList();
|
|
|
|
|
var mlist = DbBus.Get(DbList.AMSCenter).Select<AMS_Master>().Where(x => x.IsDel != true && x.MBLNO == dto.MBLNO.Trim() && x.GID != dto.GID && x.MBLNO != "").ToOne();
|
|
|
|
|
var hlist = DbBus.Get(DbList.AMSCenter).Select<AMS_House>().Where(x => x.IsDel != true && hblist.Contains(x.HBLNo) && x.PID != dto.GID && x.HBLNo != "").ToOne();
|
|
|
|
|
if (mlist != null || hlist != null)
|
|
|
|
|
//if (mlist != null || hlist != null)
|
|
|
|
|
if (hlist != null) // 日期 AMS去掉主单号重复校验,因为可能存在同一个单号分多次发送的问题
|
|
|
|
|
{
|
|
|
|
|
return "-1";
|
|
|
|
|
}
|
|
|
|
|