Browse Source

fix 承保规则中设置费用时费用规则不显示问题

liub 1 tháng trước cách đây
mục cha
commit
9cd9fbf663

+ 3 - 0
commons/src/main/java/com/jzg/commons/entity/dto/PtlAgreementCostAdd.java

@@ -2,6 +2,7 @@ package com.jzg.commons.entity.dto;
 
 
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.jzg.commons.entity.po.PtlAgreementUndwrtRulesDictLabal;
 import io.swagger.v3.oas.annotations.media.Schema;
 import jakarta.validation.constraints.NotBlank;
 import jakarta.validation.constraints.NotNull;
@@ -86,6 +87,8 @@ public class PtlAgreementCostAdd {
         @Schema(description = "操作符")
         private String operator;
 
+        @Schema(description = "协议承保规则字典")
+        private List<PtlAgreementUndwrtRulesDictLabal> dictLabal;
 
     }
 

+ 1 - 1
tenant/organization/src/main/java/com/jzg/organization/service/impl/PtlAgreementUndwrtRulesServiceImpl.java

@@ -107,8 +107,8 @@ public class PtlAgreementUndwrtRulesServiceImpl extends ServiceImpl<PtlAgreement
                             vo.setIsValid(1);  // 已失效
                         }
                     }));
-                    rulesVo.setCostVoList(allCostVos);
                 }
+                rulesVo.setCostVoList(allCostVos);
             }
         }
         return rulesVos;