Kaynağa Gözat

增加例外设置字段

xueyiming 5 ay önce
ebeveyn
işleme
3bc065e111

+ 1 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

@@ -863,6 +863,7 @@ public class CoreServiceImpl implements CoreService {
             Optional<PlanAccount> firstAccount = planAccountList.stream().min((a1, a2) -> -a1.getPublishNum().compareTo(a2.getPublishNum()));
             PlanAccount targetPlanAccount = firstAccount.get();
             updateAccountSetting(accountSpecialSetting, targetPlanAccount);
+            targetPlanAccount.setIsSpecialSetting(1);
             targetPlanAccount.setId(null);
             planAccountService.saveOrUpdatePlanAccount(targetPlanAccount);
         }