|
@@ -132,6 +132,7 @@ public class OaConversionServiceImpl implements OaConversionService {
|
|
if (oaConversion.getId() != null) {
|
|
if (oaConversion.getId() != null) {
|
|
OaConversionDO oaConversionDO = validateOaConversionExists(oaConversion.getId());
|
|
OaConversionDO oaConversionDO = validateOaConversionExists(oaConversion.getId());
|
|
validateOperator(loginUserId, Long.valueOf(oaConversionDO.getCreator()));
|
|
validateOperator(loginUserId, Long.valueOf(oaConversionDO.getCreator()));
|
|
|
|
+ oaConversion.setConversionId(oaConversionDO.getConversionId());
|
|
} else {
|
|
} else {
|
|
// 创建单据uuid
|
|
// 创建单据uuid
|
|
String uuid = IdUtil.fastSimpleUUID();
|
|
String uuid = IdUtil.fastSimpleUUID();
|
|
@@ -213,6 +214,7 @@ public class OaConversionServiceImpl implements OaConversionService {
|
|
if (oaConversion.getId() != null) {
|
|
if (oaConversion.getId() != null) {
|
|
OaConversionDO oaConversionDO = validateOaConversionExists(oaConversion.getId());
|
|
OaConversionDO oaConversionDO = validateOaConversionExists(oaConversion.getId());
|
|
validateOperator(loginUserId, Long.valueOf(oaConversionDO.getCreator()));
|
|
validateOperator(loginUserId, Long.valueOf(oaConversionDO.getCreator()));
|
|
|
|
+ oaConversion.setConversionId(oaConversionDO.getConversionId());
|
|
} else {
|
|
} else {
|
|
// 创建单据uuid
|
|
// 创建单据uuid
|
|
String uuid = IdUtil.fastSimpleUUID();
|
|
String uuid = IdUtil.fastSimpleUUID();
|