yxm
2024-07-01 fc2adc3521931c2f7bc5b2f3a3d94ebf407828d6
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sjztmd/service/impl/TbFileStorageLocationServiceImpl.java
@@ -59,9 +59,6 @@
      // 修改
      int i = addOrUpdateByGuid(detail,tbFileStorageLocation);
      if (i>0){
         if (!edit) {
            tbAttResBaseService.updateFinalState(tbFileStorageLocation.getResGuid(), 0);
         }
         return true;
      }
      return false;
@@ -114,6 +111,7 @@
         tbFileStorageLocation.setGuid(oldAbAttResBase.getGuid());
         // 更新
         i = baseMapper.updateById(tbFileStorageLocation);
         tbAttResBaseService.updateFinalState(tbFileStorageLocation.getResGuid(), tbFileStorageLocation.getCheckState());
      }else {
         tbFileStorageLocation.setCreateTime(new Date());
         i = baseMapper.insert(tbFileStorageLocation);