소스 검색

例外计划创建时间设置

xueyiming 6 달 전
부모
커밋
ed126ecdf2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

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

@@ -229,6 +229,8 @@ public class CoreServiceImpl implements CoreService {
                 targetPlanAccount.setStatus(0);
                 targetPlanAccount.setIsSpecialSetting(1);
                 targetPlanAccount.setId(null);
+                targetPlanAccount.setCreateTime(new Date());
+                targetPlanAccount.setUpdateTime(new Date());
                 planAccountService.addPlanAccount(targetPlanAccount);
             } else {
                 PlanAccount planAccount = specialPlanAccount.get(0);