|
@ -184,7 +184,6 @@ public class ADJ_SERVICE : BASE_SERVICE |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException($"导入数据为空","400"); |
|
|
throw new UserFriendlyException($"导入数据为空","400"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
foreach (var itm in p_list) |
|
|
foreach (var itm in p_list) |
|
|
{ |
|
|
{ |
|
|
itm.KeyCode = itm.PN + itm.LU.Replace(" ", "").Trim(); |
|
|
itm.KeyCode = itm.PN + itm.LU.Replace(" ", "").Trim(); |
|
@ -216,7 +215,6 @@ public class ADJ_SERVICE : BASE_SERVICE |
|
|
//foreach (var p in errors1)
|
|
|
//foreach (var p in errors1)
|
|
|
//{
|
|
|
//{
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在{p.PN}数据,不能导入调整表" });
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在{p.PN}数据,不能导入调整表" });
|
|
|
|
|
|
|
|
|
//}
|
|
|
//}
|
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.ZhiGongJianHBPO: |
|
|
case EnumBusinessType.ZhiGongJianHBPO: |
|
@ -224,7 +222,6 @@ public class ADJ_SERVICE : BASE_SERVICE |
|
|
//foreach (var p in errors2)
|
|
|
//foreach (var p in errors2)
|
|
|
//{
|
|
|
//{
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" });
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" });
|
|
|
|
|
|
|
|
|
//}
|
|
|
//}
|
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.BeiJian: |
|
|
case EnumBusinessType.BeiJian: |
|
@ -254,7 +251,6 @@ public class ADJ_SERVICE : BASE_SERVICE |
|
|
//foreach (var p in errors6)
|
|
|
//foreach (var p in errors6)
|
|
|
//{
|
|
|
//{
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" });
|
|
|
// errorList.Add(new ERR_EXP_DTO() { Message = $"不能结算数据中存在发货单{p.PN}数据,不能导入调整表" });
|
|
|
|
|
|
|
|
|
//}
|
|
|
//}
|
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|