Pārlūkot izejas kodu

1、流程附件修改问题

dongpo 3 nedēļas atpakaļ
vecāks
revīzija
f1a00c2b0e
12 mainītis faili ar 24 papildinājumiem un 0 dzēšanām
  1. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/business/OaBusinessServiceImpl.java
  2. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/conversion/OaConversionServiceImpl.java
  3. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/entry/OaEntryServiceImpl.java
  4. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/expense/OaExpenseServiceImpl.java
  5. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/leave/OaLeaveServiceImpl.java
  6. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/out/OaOutServiceImpl.java
  7. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/purchase/OaPurchaseServiceImpl.java
  8. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/receive/OaReceiveServiceImpl.java
  9. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/renew/OaRenewServiceImpl.java
  10. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/stamp/OaStampServiceImpl.java
  11. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/turnover/OaTurnoverServiceImpl.java
  12. 2 0
      yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/universal/OaUniversalServiceImpl.java

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/business/OaBusinessServiceImpl.java

@@ -128,6 +128,7 @@ public class OaBusinessServiceImpl implements OaBusinessService {
         if (oaBusiness.getId() != null) {
             OaBusinessDO oaBusinessDO = validateOaBusinessExists(oaBusiness.getId());
             validateOperator(loginUserId, Long.valueOf(oaBusinessDO.getCreator()));
+            oaBusiness.setBusinessId(oaBusinessDO.getBusinessId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -197,6 +198,7 @@ public class OaBusinessServiceImpl implements OaBusinessService {
         if (oaBusiness.getId() != null) {
             OaBusinessDO oaBusinessDO = validateOaBusinessExists(oaBusiness.getId());
             validateOperator(loginUserId, Long.valueOf(oaBusinessDO.getCreator()));
+            oaBusiness.setBusinessId(oaBusinessDO.getBusinessId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/conversion/OaConversionServiceImpl.java

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

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/entry/OaEntryServiceImpl.java

@@ -132,6 +132,7 @@ public class OaEntryServiceImpl implements OaEntryService {
         if (oaEntry.getId() != null) {
             OaEntryDO oaEntryDO = validateOaEntryExists(oaEntry.getId());
             validateOperator(loginUserId, Long.valueOf(oaEntryDO.getCreator()));
+            oaEntry.setEntryId(oaEntryDO.getEntryId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -189,6 +190,7 @@ public class OaEntryServiceImpl implements OaEntryService {
         if (oaEntry.getId() != null) {
             OaEntryDO oaEntryDO = validateOaEntryExists(oaEntry.getId());
             validateOperator(loginUserId, Long.valueOf(oaEntryDO.getCreator()));
+            oaEntry.setEntryId(oaEntryDO.getEntryId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/expense/OaExpenseServiceImpl.java

@@ -148,6 +148,7 @@ public class OaExpenseServiceImpl implements OaExpenseService {
         if (oaExpense.getId() != null) {
             OaExpenseDO oaExpenseDO = validateOaExpenseExists(oaExpense.getId());
             validateOperator(loginUserId, Long.valueOf(oaExpenseDO.getCreator()));
+            oaExpense.setExpenseUuid(oaExpenseDO.getExpenseUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -220,6 +221,7 @@ public class OaExpenseServiceImpl implements OaExpenseService {
         if (oaExpense.getId() != null) {
             OaExpenseDO oaExpenseDO = validateOaExpenseExists(oaExpense.getId());
             validateOperator(loginUserId, Long.valueOf(oaExpenseDO.getCreator()));
+            oaExpense.setExpenseUuid(oaExpenseDO.getExpenseUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/leave/OaLeaveServiceImpl.java

@@ -135,6 +135,7 @@ public class OaLeaveServiceImpl implements OaLeaveService {
         if (oaLeave.getId() != null) {
             OaLeaveDO oaLeaveDO = validateOaLeaveExists(oaLeave.getId());
             validateOperator(loginUserId, Long.valueOf(oaLeaveDO.getCreator()));
+            oaLeave.setLeaveId(oaLeaveDO.getLeaveId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -215,6 +216,7 @@ public class OaLeaveServiceImpl implements OaLeaveService {
         if (oaLeave.getId() != null) {
             OaLeaveDO oaLeaveDO = validateOaLeaveExists(oaLeave.getId());
             validateOperator(loginUserId, Long.valueOf(oaLeaveDO.getCreator()));
+            oaLeave.setLeaveId(oaLeaveDO.getLeaveId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/out/OaOutServiceImpl.java

@@ -127,6 +127,7 @@ public class OaOutServiceImpl implements OaOutService {
         if (oaOut.getId() != null) {
             OaOutDO oaOutDO = validateOaOutExists(oaOut.getId());
             validateOperator(loginUserId, Long.valueOf(oaOutDO.getCreator()));
+            oaOut.setOutId(oaOutDO.getOutId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -192,6 +193,7 @@ public class OaOutServiceImpl implements OaOutService {
         if (oaOut.getId() != null) {
             OaOutDO oaOutDO = validateOaOutExists(oaOut.getId());
             validateOperator(loginUserId, Long.valueOf(oaOutDO.getCreator()));
+            oaOut.setOutId(oaOutDO.getOutId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/purchase/OaPurchaseServiceImpl.java

@@ -125,6 +125,7 @@ public class OaPurchaseServiceImpl implements OaPurchaseService {
         if (oaPurchase.getId() != null) {
             OaPurchaseDO oaPurchaseDO = validateOaPurchaseExists(oaPurchase.getId());
             validateOperator(loginUserId, Long.valueOf(oaPurchaseDO.getCreator()));
+            oaPurchase.setPurchaseUuid(oaPurchaseDO.getPurchaseUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -197,6 +198,7 @@ public class OaPurchaseServiceImpl implements OaPurchaseService {
         if (oaPurchase.getId() != null) {
             OaPurchaseDO oaPurchaseDO = validateOaPurchaseExists(oaPurchase.getId());
             validateOperator(loginUserId, Long.valueOf(oaPurchaseDO.getCreator()));
+            oaPurchase.setPurchaseUuid(oaPurchaseDO.getPurchaseUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/receive/OaReceiveServiceImpl.java

@@ -127,6 +127,7 @@ public class OaReceiveServiceImpl implements OaReceiveService {
         if (oaReceive.getId() != null) {
             OaReceiveDO oaReceiveDO = validateOaReceiveExists(oaReceive.getId());
             validateOperator(loginUserId, Long.valueOf(oaReceiveDO.getCreator()));
+            oaReceive.setReceiveUuid(oaReceiveDO.getReceiveUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -204,6 +205,7 @@ public class OaReceiveServiceImpl implements OaReceiveService {
         if (oaReceive.getId() != null) {
             OaReceiveDO oaReceiveDO = validateOaReceiveExists(oaReceive.getId());
             validateOperator(loginUserId, Long.valueOf(oaReceiveDO.getCreator()));
+            oaReceive.setReceiveUuid(oaReceiveDO.getReceiveUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/renew/OaRenewServiceImpl.java

@@ -139,6 +139,7 @@ public class OaRenewServiceImpl implements OaRenewService {
         if (oaRenew.getId() != null) {
             OaRenewDO oaRenewDO = validateOaRenewExists(oaRenew.getId());
             validateOperator(loginUserId, Long.valueOf(oaRenewDO.getCreator()));
+            oaRenew.setRenewId(oaRenewDO.getRenewId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -228,6 +229,7 @@ public class OaRenewServiceImpl implements OaRenewService {
         if (oaRenew.getId() != null) {
             OaRenewDO oaRenewDO = validateOaRenewExists(oaRenew.getId());
             validateOperator(loginUserId, Long.valueOf(oaRenewDO.getCreator()));
+            oaRenew.setRenewId(oaRenewDO.getRenewId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/stamp/OaStampServiceImpl.java

@@ -128,6 +128,7 @@ public class OaStampServiceImpl implements OaStampService {
         if (oaStamp.getId() != null) {
             OaStampDO oaStampDO = validateOaStampExists(oaStamp.getId());
             validateOperator(loginUserId, Long.valueOf(oaStampDO.getCreator()));
+            oaStamp.setStampUuid(oaStampDO.getStampUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -199,6 +200,7 @@ public class OaStampServiceImpl implements OaStampService {
         if (oaStamp.getId() != null) {
             OaStampDO oaStampDO = validateOaStampExists(oaStamp.getId());
             validateOperator(loginUserId, Long.valueOf(oaStampDO.getCreator()));
+            oaStamp.setStampUuid(oaStampDO.getStampUuid());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/turnover/OaTurnoverServiceImpl.java

@@ -139,6 +139,7 @@ public class OaTurnoverServiceImpl implements OaTurnoverService {
         if (oaTurnover.getId() != null) {
             OaTurnoverDO oaTurnoverDO = validateOaTurnoverExists(oaTurnover.getId());
             validateOperator(loginUserId, Long.valueOf(oaTurnoverDO.getCreator()));
+            oaTurnover.setTurnoverId(oaTurnoverDO.getTurnoverId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -213,6 +214,7 @@ public class OaTurnoverServiceImpl implements OaTurnoverService {
         if (oaTurnover.getId() != null) {
             OaTurnoverDO oaTurnoverDO = validateOaTurnoverExists(oaTurnover.getId());
             validateOperator(loginUserId, Long.valueOf(oaTurnoverDO.getCreator()));
+            oaTurnover.setTurnoverId(oaTurnoverDO.getTurnoverId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();

+ 2 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/oa/universal/OaUniversalServiceImpl.java

@@ -117,6 +117,7 @@ public class OaUniversalServiceImpl implements OaUniversalService {
         if (oaUniversal.getId() != null) {
             OaUniversalDO oaUniversalDO = validateOaUniversalExists(oaUniversal.getId());
             validateOperator(loginUserId, Long.valueOf(oaUniversalDO.getCreator()));
+            oaUniversal.setUniversalId(oaUniversalDO.getUniversalId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();
@@ -176,6 +177,7 @@ public class OaUniversalServiceImpl implements OaUniversalService {
         if (oaUniversal.getId() != null) {
             OaUniversalDO oaUniversalDO = validateOaUniversalExists(oaUniversal.getId());
             validateOperator(loginUserId, Long.valueOf(oaUniversalDO.getCreator()));
+            oaUniversal.setUniversalId(oaUniversalDO.getUniversalId());
         } else {
             // 创建单据uuid
             String uuid = IdUtil.fastSimpleUUID();