소스 검색

修改用户数据,没有时新增判定新增

anderx 1 년 전
부모
커밋
5315ccc216
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/java/com/goafanti/customer/service/impl/UserArchivesServiceImpl.java

+ 3 - 0
src/main/java/com/goafanti/customer/service/impl/UserArchivesServiceImpl.java

@@ -149,6 +149,9 @@ public class UserArchivesServiceImpl extends BaseMybatisDao< UserArchivesMapper>
         if (userArchives.getUtilityModelCount() !=null){
         if (userArchives.getUtilityModelCount() !=null){
             count+= userArchives.getUtilityModelCount();
             count+= userArchives.getUtilityModelCount();
         }
         }
+        if (userArchives.getSoftwareWorksCount() !=null){
+            count+= userArchives.getSoftwareWorksCount();
+        }
         if (userArchives.getOtherCount()!=null){
         if (userArchives.getOtherCount()!=null){
             count+= userArchives.getOtherCount();
             count+= userArchives.getOtherCount();
         }
         }