|
|
|
@ -101,6 +101,7 @@ public class IoGenInvService {
|
|
|
|
|
BeanUtils.copyProperties(codeEntity, invProductDetailEntity);
|
|
|
|
|
invProductDetailEntity.setRelId(codeEntity.getRelId());
|
|
|
|
|
invProductDetailEntity.setUpdateTime(new Date());
|
|
|
|
|
invProductDetailEntity.setId(null);
|
|
|
|
|
invProductDetailEntity.setPurchaseType(ConstantStatus.PRUCHASE_COMMON);
|
|
|
|
|
if (invProductDetailEntity.getMainAction().equals(ConstantType.TYPE_PUT)) {
|
|
|
|
|
invProductDetailEntity.setInCount(invProductDetailEntity.getReCount());
|
|
|
|
@ -171,6 +172,7 @@ public class IoGenInvService {
|
|
|
|
|
BeanUtils.copyProperties(codeEntity, invProductDetailEntity);
|
|
|
|
|
invProductDetailEntity.setRelId(codeEntity.getRelId());
|
|
|
|
|
invProductDetailEntity.setUpdateTime(new Date());
|
|
|
|
|
invProductDetailEntity.setId(null);
|
|
|
|
|
invProductDetailEntity.setPurchaseType(ConstantStatus.PRUCHASE_COMMON);
|
|
|
|
|
if (invProductDetailEntity.getMainAction().equals(ConstantType.TYPE_PUT)) {
|
|
|
|
|
invProductDetailEntity.setInCount(invProductDetailEntity.getReCount());
|
|
|
|
@ -252,6 +254,7 @@ public class IoGenInvService {
|
|
|
|
|
BeanUtils.copyProperties(codeEntity, invProductDetailEntity);
|
|
|
|
|
invProductDetailEntity.setRelId(codeEntity.getRelId());
|
|
|
|
|
invProductDetailEntity.setUpdateTime(new Date());
|
|
|
|
|
invProductDetailEntity.setId(null);
|
|
|
|
|
invProductDetailEntity.setPurchaseType(ConstantStatus.PRUCHASE_COMMON);
|
|
|
|
|
if (invProductDetailEntity.getMainAction().equals(ConstantType.TYPE_PUT)) {
|
|
|
|
|
invProductDetailEntity.setInCount(invProductDetailEntity.getReCount());
|
|
|
|
|