Преглед на файлове

增加例外设置字段

xueyiming преди 9 месеца
родител
ревизия
3bc065e111
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

+ 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);
         }