Commit 9fb41d9d authored by hongguangwu's avatar hongguangwu

MVP1.7.17-续保周期

parent ad6a7554
......@@ -180,5 +180,13 @@ public class TAutoInsurRuleInfo extends BaseEntity {
@ExcelProperty("项目ID")
@Schema(description = "项目ID")
private String deptId;
/**
* 续保周期——专门为续保使用的
*/
@ExcelAttribute(name = "续保周期")
@Length(max = 2, message = "续保周期不能超过2个字符")
@ExcelProperty("续保周期")
@Schema(description = "续保周期")
private String renewalPeriod;
}
......@@ -47,6 +47,7 @@
<result property="updateTime" column="UPDATE_TIME"/>
<result property="deptNo" column="DEPT_NO"/>
<result property="deptId" column="DEPT_ID"/>
<result property="renewalPeriod" column="RENEWAL_PERIOD"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
......@@ -71,7 +72,8 @@
a.UPDATE_BY,
a.UPDATE_TIME,
a.DEPT_NO,
a.DEPT_ID
a.DEPT_ID,
a.RENEWAL_PERIOD
</sql>
<sql id="tAutoInsurRuleInfo_where">
<if test="tAutoInsurRuleInfo != null">
......@@ -144,6 +146,9 @@
<if test="tAutoInsurRuleInfo.deptId != null and tAutoInsurRuleInfo.deptId.trim() != ''">
AND a.DEPT_ID = #{tAutoEmpRuleInfo.deptId}
</if>
<if test="tAutoInsurRuleInfo.renewalPeriod != null and tAutoInsurRuleInfo.renewalPeriod.trim() != ''">
AND a.RENEWAL_PERIOD = #{tAutoEmpRuleInfo.renewalPeriod}
</if>
</if>
</sql>
<!--tAutoInsurRuleInfo简单分页查询-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment