Kaynağa Gözat

一期,客户概览页中"有效保单累计保费"只计算有效保单的,不用计算终止保单的

luGuangChen 2 yıl önce
ebeveyn
işleme
84845bbc6c

+ 4 - 0
dgtis-modules/dgtis-modules-data/src/main/java/com/dgtis/data/api/CustomerApiController.java

@@ -638,6 +638,8 @@ public class CustomerApiController {
                         String norenewal = _source.getString("norenewal")==null?"":_source.getString("norenewal").trim();//续保次数
                         String payendyear = _source.getString("payendyear")==null?"":_source.getString("payendyear").trim();//缴费年期
                         Date pmdate = _source.getDate("pmdate");//终保日期
+                        /*
+                        2022/5/13 陆光晨 一期测试环境测试时测试老师要求不计算终止状态的保单,因为页面上显示的是“有效保单累计保费”所以只统计有效的就好
                         if(norenewal.equals(payendyear) && currentDateTime.compareTo(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,pmdate))>0){
                             if(_source.containsKey("sumprem")){
                                 sumprem+=_source.getDouble("sumprem");
@@ -645,6 +647,8 @@ public class CustomerApiController {
                             }
                         }
 
+                         */
+
                         Integer agrmntage = _source.getInteger("agrmntage");
                         //短期险
                         if(agrmntage<180){