|
|
@@ -117,10 +117,12 @@ namespace Learun.Application.WebApi |
|
|
|
Purchase_Logistic_ApplyEntity entity = parameter.strEntity.ToObject<Purchase_Logistic_ApplyEntity>(); |
|
|
|
List<Purchase_Logistic_ApplydetailsEntity> detailList = parameter.DetailList.ToObject<List<Purchase_Logistic_ApplydetailsEntity>>(); |
|
|
|
//var code = entity.EnCode; |
|
|
|
|
|
|
|
if (detailList.Count == 0) |
|
|
|
if (detailList != null) |
|
|
|
{ |
|
|
|
return Fail("请添加明细"); |
|
|
|
if (detailList.Count == 0) |
|
|
|
{ |
|
|
|
return Fail("请添加明细"); |
|
|
|
} |
|
|
|
} |
|
|
|
string id=purchaselogisticIBLL.SaveEntity(parameter.keyValue, entity, detailList); |
|
|
|
var json = new |
|
|
|