Ver código fonte

fix: EmployeeSelector 独立选中 + scope.modify 失败不阻断 + local DB 全字段同步

alphah 2 semanas atrás
pai
commit
0a26c81ef2

+ 1 - 2
backend/app/plugin/module_payment/expense/institution/service.py

@@ -557,8 +557,7 @@ class InstitutionService:
                 )
                 log.info(f"适用范围已单独同步: adapter_type={scope_info.get('adapter_type')}")
             except Exception as e:
-                log.warning(f"适用范围同步失败(不影响基础修改): {e}")
-                raise CustomException(msg=f"编辑费控制度失败: 适用范围修改失败: {e}")
+                log.warning(f"适用范围同步失败(不影响基础修改,本地DB将更新为最新值): {e}")
 
         applicable_scope = raw_data.get("applicable_scope", "")