|
@@ -254,7 +254,7 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
detail.setOutId(outStoreForm.getId());
|
|
detail.setOutId(outStoreForm.getId());
|
|
detail.setRealNum(detail.getNum());
|
|
detail.setRealNum(detail.getNum());
|
|
detail.setOutNo(outStoreForm.getOutNo());
|
|
detail.setOutNo(outStoreForm.getOutNo());
|
|
- detail.setIsOut(outStoreForm.getIsOut());
|
|
|
|
|
|
+ detail.setOutFlag(outStoreForm.getOutFlag());
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
storeDetail.setId(IdGeneratorUtils.getObjectId());
|
|
storeDetail.setId(IdGeneratorUtils.getObjectId());
|
|
@@ -479,7 +479,7 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
}
|
|
}
|
|
//detail.setStoreId(model.getStoreId());
|
|
//detail.setStoreId(model.getStoreId());
|
|
detail.setOutNo(model.getOutNo());
|
|
detail.setOutNo(model.getOutNo());
|
|
- detail.setIsOut(model.getIsOut());
|
|
|
|
|
|
+ detail.setOutFlag(model.getOutFlag());
|
|
detail.setRealNum(detail.getNum());
|
|
detail.setRealNum(detail.getNum());
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
BeanConverterUtil.copyObjectProperties(detail, storeDetail);
|
|
@@ -487,7 +487,7 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
addDetailList.add(storeDetail);
|
|
addDetailList.add(storeDetail);
|
|
} else {// 修改数量的
|
|
} else {// 修改数量的
|
|
detail.setTotalPrice(new BigDecimal(0));
|
|
detail.setTotalPrice(new BigDecimal(0));
|
|
- detail.setIsOut(model.getIsOut());
|
|
|
|
|
|
+ detail.setOutFlag(model.getOutFlag());
|
|
detail.setRealNum(detail.getNum());
|
|
detail.setRealNum(detail.getNum());
|
|
totalPrice = totalPrice.add(detail.getTotalPrice());
|
|
totalPrice = totalPrice.add(detail.getTotalPrice());
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|
|
OutStoreDetail storeDetail = new OutStoreDetail();
|