785834757 2 жил өмнө
parent
commit
64f5612a1f

+ 5 - 5
src/main/java/com/ydtech/modules/fnc/service/impl/InsFeeAuditServiceImpl.java

@@ -224,11 +224,11 @@ public class InsFeeAuditServiceImpl extends ServiceImpl<InsFeeAuditMapper, InsFe
                         sysDeptAccountService.updateById(levelSysDeptAccount);
                     } else {
                         // 如果机构信息为空,新建机构信息并记录历史
-                        SysDeptAccount sysDeptAccount = new SysDeptAccount();
-                        sysDeptAccount.setDeptId(levelDeptId);
-                        sysDeptAccount.setManagementFee(sumManagementFee);
-                        sysDeptAccount.setCreateTime(new Date());
-                        sysDeptAccountService.save(sysDeptAccount);
+                        levelSysDeptAccount = new SysDeptAccount();
+                        levelSysDeptAccount.setDeptId(levelDeptId);
+                        levelSysDeptAccount.setManagementFee(sumManagementFee);
+                        levelSysDeptAccount.setCreateTime(new Date());
+                        sysDeptAccountService.save(levelSysDeptAccount);
                     }
                     // 记录历史信息
                     // 拼接备注