anderx лет назад: 2
Родитель
Сommit
414cce6491
1 измененных файлов с 80 добавлено и 64 удалено
  1. 80 64
      src/main/java/com/goafanti/admin/bo/ConsultantStatisticsBo.java

+ 80 - 64
src/main/java/com/goafanti/admin/bo/ConsultantStatisticsBo.java

@@ -19,135 +19,151 @@ public class ConsultantStatisticsBo {
     private Integer countChange;
     private Integer orderPayment;
 
-    public Integer getRangeProjectCount() {
-        return rangeProjectCount;
+    public String getAid() {
+        return aid;
     }
 
-    public void setRangeProjectCount(Integer rangeProjectCount) {
-        this.rangeProjectCount = rangeProjectCount;
+    public void setAid(String aid) {
+        this.aid = aid;
     }
 
-    public Integer getRangeInProgress() {
-        return rangeInProgress;
+    public Integer getProjectCount() {
+        if (projectCount == null) return 0;
+        return projectCount;
     }
 
-    public void setRangeInProgress(Integer rangeInProgress) {
-        this.rangeInProgress = rangeInProgress;
+    public void setProjectCount(Integer projectCount) {
+        this.projectCount = projectCount;
     }
 
-    public Integer getRangeComplete() {
-        return rangeComplete;
+    public Integer getInProgress() {
+        if (inProgress == null) return 0;
+        return inProgress;
     }
 
-    public void setRangeComplete(Integer rangeComplete) {
-        this.rangeComplete = rangeComplete;
+    public void setInProgress(Integer inProgress) {
+        this.inProgress = inProgress;
     }
 
-    public Integer getRangeStop() {
-        return rangeStop;
+    public Integer getComplete() {
+        if (complete == null) return 0;
+        return complete;
     }
 
-    public void setRangeStop(Integer rangeStop) {
-        this.rangeStop = rangeStop;
+    public void setComplete(Integer complete) {
+        this.complete = complete;
     }
 
-    public Integer getRangeCountPublicRelease() {
-        return rangeCountPublicRelease;
+    public Integer getStop() {
+        if (stop == null) return 0;
+        return stop;
     }
 
-    public void setRangeCountPublicRelease(Integer rangeCountPublicRelease) {
-        this.rangeCountPublicRelease = rangeCountPublicRelease;
+    public void setStop(Integer stop) {
+        this.stop = stop;
     }
 
-    public Integer getRangeCountAssist() {
-        return rangeCountAssist;
+    public Integer getCountPublicRelease() {
+        if (countPublicRelease == null) return 0;
+        return countPublicRelease;
     }
 
-    public void setRangeCountAssist(Integer rangeCountAssist) {
-        this.rangeCountAssist = rangeCountAssist;
+    public void setCountPublicRelease(Integer countPublicRelease) {
+        this.countPublicRelease = countPublicRelease;
     }
 
-    public Integer getRangeNotStarted() {
-        return rangeNotStarted;
+    public Integer getCountAssist() {
+        if (countAssist == null) return 0;
+        return countAssist;
     }
 
-    public void setRangeNotStarted(Integer rangeNotStarted) {
-        this.rangeNotStarted = rangeNotStarted;
+    public void setCountAssist(Integer countAssist) {
+        this.countAssist = countAssist;
     }
 
-    public Integer getProjectCount() {
-        return projectCount;
+    public Integer getNotStarted() {
+        if (notStarted == null) return 0;
+        return notStarted;
     }
 
-    public void setProjectCount(Integer projectCount) {
-        this.projectCount = projectCount;
+    public void setNotStarted(Integer notStarted) {
+        this.notStarted = notStarted;
     }
 
-    public String getAid() {
-        return aid;
+    public Integer getRangeProjectCount() {
+        if (rangeProjectCount == null) return 0;
+        return rangeProjectCount;
     }
 
-    public void setAid(String aid) {
-        this.aid = aid;
+    public void setRangeProjectCount(Integer rangeProjectCount) {
+        this.rangeProjectCount = rangeProjectCount;
     }
 
-    public Integer getInProgress() {
-        return inProgress;
+    public Integer getRangeInProgress() {
+        if (rangeInProgress == null) return 0;
+        return rangeInProgress;
     }
 
-    public void setInProgress(Integer inProgress) {
-        this.inProgress = inProgress;
+    public void setRangeInProgress(Integer rangeInProgress) {
+        this.rangeInProgress = rangeInProgress;
     }
 
-    public Integer getComplete() {
-        return complete;
+    public Integer getRangeComplete() {
+        if (rangeComplete == null) return 0;
+        return rangeComplete;
     }
 
-    public void setComplete(Integer complete) {
-        this.complete = complete;
+    public void setRangeComplete(Integer rangeComplete) {
+        this.rangeComplete = rangeComplete;
     }
 
-    public Integer getStop() {
-        return stop;
+    public Integer getRangeStop() {
+        if (rangeStop == null) return 0;
+        return rangeStop;
     }
 
-    public void setStop(Integer stop) {
-        this.stop = stop;
+    public void setRangeStop(Integer rangeStop) {
+        this.rangeStop = rangeStop;
     }
 
-    public Integer getCountPublicRelease() {
-        return countPublicRelease;
+    public Integer getRangeCountPublicRelease() {
+        if (rangeCountPublicRelease == null) return 0;
+        return rangeCountPublicRelease;
     }
 
-    public void setCountPublicRelease(Integer countPublicRelease) {
-        this.countPublicRelease = countPublicRelease;
+    public void setRangeCountPublicRelease(Integer rangeCountPublicRelease) {
+        this.rangeCountPublicRelease = rangeCountPublicRelease;
     }
 
-    public Integer getCountAssist() {
-        return countAssist;
+    public Integer getRangeCountAssist() {
+        if (rangeCountAssist == null) return 0;
+        return rangeCountAssist;
     }
 
-    public void setCountAssist(Integer countAssist) {
-        this.countAssist = countAssist;
+    public void setRangeCountAssist(Integer rangeCountAssist) {
+        this.rangeCountAssist = rangeCountAssist;
     }
 
-    public Integer getCountChange() {
-        return countChange;
+    public Integer getRangeNotStarted() {
+        if (rangeNotStarted == null) return 0;
+        return rangeNotStarted;
     }
 
-    public void setCountChange(Integer countChange) {
-        this.countChange = countChange;
+    public void setRangeNotStarted(Integer rangeNotStarted) {
+        this.rangeNotStarted = rangeNotStarted;
     }
 
-    public Integer getNotStarted() {
-        return notStarted;
+    public Integer getCountChange() {
+        if (countChange == null) return 0;
+        return countChange;
     }
 
-    public void setNotStarted(Integer notStarted) {
-        this.notStarted = notStarted;
+    public void setCountChange(Integer countChange) {
+        this.countChange = countChange;
     }
 
     public Integer getOrderPayment() {
+        if (orderPayment == null) return 0;
         return orderPayment;
     }