|
@@ -192,6 +192,7 @@ public class InsurancePolicyController {
|
|
List<Map> mapList = new ArrayList<>();
|
|
List<Map> mapList = new ArrayList<>();
|
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
+ SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
Date now = new Date();
|
|
Date now = new Date();
|
|
|
|
|
|
@@ -206,6 +207,13 @@ public class InsurancePolicyController {
|
|
//电子投保单下载地址
|
|
//电子投保单下载地址
|
|
map.put("insurancePolicyFile", policy.getInsurancePolicyFile());
|
|
map.put("insurancePolicyFile", policy.getInsurancePolicyFile());
|
|
|
|
|
|
|
|
+ map.put("policyNo",policy.getPolicyNo());
|
|
|
|
+ map.put("createTime", sdf2.format(policy.getCreateTime()));
|
|
|
|
+
|
|
|
|
+ if (policy.getFinishTime()!=null) {
|
|
|
|
+ map.put("finishTime", sdf2.format(policy.getFinishTime()));
|
|
|
|
+ }
|
|
|
|
+
|
|
try {
|
|
try {
|
|
map.put("status", PolicyStatus.valueOf(Integer.valueOf(policy.getStatus())).getText());
|
|
map.put("status", PolicyStatus.valueOf(Integer.valueOf(policy.getStatus())).getText());
|
|
}
|
|
}
|