Commit 38e4aa51 authored by hongguangwu's avatar hongguangwu

MVP1.7.16-法大大

parent b616cbb4
......@@ -128,4 +128,9 @@ public class TFascTemplateDetail extends BaseEntity {
@Schema(description = "对应皖信合同类型")
private String contractType;
// 合同类型是否配置 空(空值),“是”(1),“否”(0)
@TableField(exist = false)
@Schema(description = "合同类型是否配置")
private String haveContractType;
}
......@@ -116,6 +116,17 @@
<if test="tFascTemplateDetail.updateBy != null and tFascTemplateDetail.updateBy.trim() != ''">
AND a.UPDATE_BY = #{tFascTemplateDetail.updateBy}
</if>
/* 合同类型是否配置 空(空值),“是”(1),“否”(0) */
<if test="tFascTemplateDetail.haveContractType != null and tFascTemplateDetail.haveContractType.trim() != ''">
<if test="tFascTemplateDetail.haveContractType == '1'">
AND b.contract_type is not null
</if>
<if test="tFascTemplateDetail.haveContractType == '0'">
AND b.contract_type is null
</if>
</if>
<if test="tFascTemplateDetail.updateTime != null">
AND a.UPDATE_TIME = #{tFascTemplateDetail.updateTime}
</if>
......
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