|
|
@@ -143,7 +143,7 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
|
|
|
//判断更新与保存动作
|
|
|
if (StringUtils.isEmpty(pi_id) || "0".equals(pi_id.toString())){
|
|
|
prodInOut.setCompanyId(companyId);
|
|
|
- setCreateInfo(prodInOut);
|
|
|
+ //setCreateInfo(prodInOut);
|
|
|
//插入操作
|
|
|
getMapper().insertSelective(prodInOut);
|
|
|
pi_id = prodInOut.getId();
|
|
|
@@ -170,7 +170,7 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
|
|
|
messageLogService.save(baseDTO);
|
|
|
return baseDTO;
|
|
|
}else{
|
|
|
- setUpdateInfo(prodInOut);
|
|
|
+ //setUpdateInfo(prodInOut);
|
|
|
}
|
|
|
//更新操作
|
|
|
getMapper().updateByPrimaryKeySelective(prodInOut);
|
|
|
@@ -517,7 +517,7 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
|
|
|
}
|
|
|
prodInOut.setPi_statuscode(Status.CLOSE.name());
|
|
|
prodInOut.setPi_status(Status.CLOSE.getDisplay());
|
|
|
- setUpdateInfo(prodInOut);
|
|
|
+ //setUpdateInfo(prodInOut);
|
|
|
getMapper().updateByPrimaryKeySelective(prodInOut);
|
|
|
docBaseDTO = getBaseDTOById(id,prodInOut.getPi_class(),prodInOut.getPi_inoutno());
|
|
|
//日志
|
|
|
@@ -552,7 +552,7 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
|
|
|
}
|
|
|
prodInOut.setPi_statuscode(Status.OPEN.name());
|
|
|
prodInOut.setPi_status(Status.OPEN.getDisplay());
|
|
|
- setUpdateInfo(prodInOut);
|
|
|
+ //setUpdateInfo(prodInOut);
|
|
|
getMapper().updateByPrimaryKeySelective(prodInOut);
|
|
|
docBaseDTO = getBaseDTOById(id,prodInOut.getPi_class(),prodInOut.getPi_inoutno());
|
|
|
//日志
|