|
|
|
@ -8,15 +8,33 @@
|
|
|
|
|
<result property="contrastId" column="contrast_id" jdbcType="INTEGER"/>
|
|
|
|
|
<result property="pkCorp" column="pk_corp" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="desdocvalue" column="desdocvalue" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue1" column="factorvalue1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue2" column="factorvalue2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue3" column="factorvalue3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue4" column="factorvalue4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue5" column="factorvalue5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue6" column="factorvalue6" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue7" column="factorvalue7" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue8" column="factorvalue8" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorvalue9" column="factorvalue9" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable1" column="factortable1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable2" column="factortable2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable3" column="factortable3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable4" column="factortable4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable5" column="factortable5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable6" column="factortable6" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable7" column="factortable7" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable8" column="factortable8" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factortable9" column="factortable9" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk1" column="factorpk1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk2" column="factorpk2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk3" column="factorpk3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk4" column="factorpk4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk5" column="factorpk5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk6" column="factorpk6" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk7" column="factorpk7" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk8" column="factorpk8" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorpk9" column="factorpk9" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid1" column="factorid1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid2" column="factorid2" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid3" column="factorid3" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid4" column="factorid4" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid5" column="factorid5" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid6" column="factorid6" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid7" column="factorid7" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid8" column="factorid8" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="factorid9" column="factorid9" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="def1" column="def1" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="def2" column="def2" jdbcType="VARCHAR"/>
|
|
|
|
@ -40,15 +58,33 @@
|
|
|
|
|
,contrast_id
|
|
|
|
|
,pk_corp
|
|
|
|
|
,desdocvalue
|
|
|
|
|
,factorvalue1
|
|
|
|
|
,factorvalue2
|
|
|
|
|
,factorvalue3
|
|
|
|
|
,factorvalue4
|
|
|
|
|
,factorvalue5
|
|
|
|
|
,factorvalue6
|
|
|
|
|
,factorvalue7
|
|
|
|
|
,factorvalue8
|
|
|
|
|
,factorvalue9
|
|
|
|
|
,factortable1
|
|
|
|
|
,factortable2
|
|
|
|
|
,factortable3
|
|
|
|
|
,factortable4
|
|
|
|
|
,factortable5
|
|
|
|
|
,factortable6
|
|
|
|
|
,factortable7
|
|
|
|
|
,factortable8
|
|
|
|
|
,factortable9
|
|
|
|
|
,factorpk1
|
|
|
|
|
,factorpk2
|
|
|
|
|
,factorpk3
|
|
|
|
|
,factorpk4
|
|
|
|
|
,factorpk5
|
|
|
|
|
,factorpk6
|
|
|
|
|
,factorpk7
|
|
|
|
|
,factorpk8
|
|
|
|
|
,factorpk9
|
|
|
|
|
,factorid1
|
|
|
|
|
,factorid2
|
|
|
|
|
,factorid3
|
|
|
|
|
,factorid4
|
|
|
|
|
,factorid5
|
|
|
|
|
,factorid6
|
|
|
|
|
,factorid7
|
|
|
|
|
,factorid8
|
|
|
|
|
,factorid9
|
|
|
|
|
,remark
|
|
|
|
|
,def1
|
|
|
|
|
,def2
|
|
|
|
@ -77,15 +113,33 @@
|
|
|
|
|
<if test="contrastId != null">and contrast_id = #{contrastId}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">and desdocvalue = #{desdocvalue}</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">and factorvalue1 = #{factorvalue1}</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">and factorvalue2 = #{factorvalue2}</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">and factorvalue3 = #{factorvalue3}</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">and factorvalue4 = #{factorvalue4}</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">and factorvalue5 = #{factorvalue5}</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">and factorvalue6 = #{factorvalue6}</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">and factorvalue7 = #{factorvalue7}</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">and factorvalue8 = #{factorvalue8}</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">and factorvalue9 = #{factorvalue9}</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">and factortable1 = #{factortable1}</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">and factortable2 = #{factortable2}</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">and factortable3 = #{factortable3}</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">and factortable4 = #{factortable4}</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">and factortable5 = #{factortable5}</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">and factortable6 = #{factortable6}</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">and factortable7 = #{factortable7}</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">and factortable8 = #{factortable8}</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">and factortable9 = #{factortable9}</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">and factorpk1 = #{factorpk1}</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">and factorpk2 = #{factorpk2}</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">and factorpk3 = #{factorpk3}</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">and factorpk4 = #{factorpk4}</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">and factorpk5 = #{factorpk5}</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">and factorpk6 = #{factorpk6}</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">and factorpk7 = #{factorpk7}</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">and factorpk8 = #{factorpk8}</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">and factorpk9 = #{factorpk9}</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">and factorid1 = #{factorid1}</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">and factorid2 = #{factorid2}</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">and factorid3 = #{factorid3}</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">and factorid4 = #{factorid4}</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">and factorid5 = #{factorid5}</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">and factorid6 = #{factorid6}</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">and factorid7 = #{factorid7}</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">and factorid8 = #{factorid8}</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">and factorid9 = #{factorid9}</if>
|
|
|
|
|
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">and def1 = #{def1}</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">and def2 = #{def2}</if>
|
|
|
|
@ -115,15 +169,33 @@
|
|
|
|
|
<if test="contrastId != null">and contrast_id = #{contrastId}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">and desdocvalue = #{desdocvalue}</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">and factorvalue1 = #{factorvalue1}</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">and factorvalue2 = #{factorvalue2}</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">and factorvalue3 = #{factorvalue3}</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">and factorvalue4 = #{factorvalue4}</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">and factorvalue5 = #{factorvalue5}</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">and factorvalue6 = #{factorvalue6}</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">and factorvalue7 = #{factorvalue7}</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">and factorvalue8 = #{factorvalue8}</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">and factorvalue9 = #{factorvalue9}</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">and factortable1 = #{factortable1}</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">and factortable2 = #{factortable2}</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">and factortable3 = #{factortable3}</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">and factortable4 = #{factortable4}</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">and factortable5 = #{factortable5}</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">and factortable6 = #{factortable6}</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">and factortable7 = #{factortable7}</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">and factortable8 = #{factortable8}</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">and factortable9 = #{factortable9}</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">and factorpk1 = #{factorpk1}</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">and factorpk2 = #{factorpk2}</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">and factorpk3 = #{factorpk3}</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">and factorpk4 = #{factorpk4}</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">and factorpk5 = #{factorpk5}</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">and factorpk6 = #{factorpk6}</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">and factorpk7 = #{factorpk7}</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">and factorpk8 = #{factorpk8}</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">and factorpk9 = #{factorpk9}</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">and factorid1 = #{factorid1}</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">and factorid2 = #{factorid2}</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">and factorid3 = #{factorid3}</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">and factorid4 = #{factorid4}</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">and factorid5 = #{factorid5}</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">and factorid6 = #{factorid6}</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">and factorid7 = #{factorid7}</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">and factorid8 = #{factorid8}</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">and factorid9 = #{factorid9}</if>
|
|
|
|
|
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">and def1 = #{def1}</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">and def2 = #{def2}</if>
|
|
|
|
@ -156,33 +228,51 @@
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp like concat('%',#{pkCorp},'%')</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">and desdocvalue like concat('%',#{desdocvalue},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">and factorvalue1 like
|
|
|
|
|
concat('%',#{factorvalue1},'%')
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">and factortable1 like
|
|
|
|
|
concat('%',#{factortable1},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">and factorvalue2 like
|
|
|
|
|
concat('%',#{factorvalue2},'%')
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">and factortable2 like
|
|
|
|
|
concat('%',#{factortable2},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">and factorvalue3 like
|
|
|
|
|
concat('%',#{factorvalue3},'%')
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">and factortable3 like
|
|
|
|
|
concat('%',#{factortable3},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">and factorvalue4 like
|
|
|
|
|
concat('%',#{factorvalue4},'%')
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">and factortable4 like
|
|
|
|
|
concat('%',#{factortable4},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">and factorvalue5 like
|
|
|
|
|
concat('%',#{factorvalue5},'%')
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">and factortable5 like
|
|
|
|
|
concat('%',#{factortable5},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">and factorvalue6 like
|
|
|
|
|
concat('%',#{factorvalue6},'%')
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">and factortable6 like
|
|
|
|
|
concat('%',#{factortable6},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">and factorvalue7 like
|
|
|
|
|
concat('%',#{factorvalue7},'%')
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">and factortable7 like
|
|
|
|
|
concat('%',#{factortable7},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">and factorvalue8 like
|
|
|
|
|
concat('%',#{factorvalue8},'%')
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">and factortable8 like
|
|
|
|
|
concat('%',#{factortable8},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">and factorvalue9 like
|
|
|
|
|
concat('%',#{factorvalue9},'%')
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">and factortable9 like
|
|
|
|
|
concat('%',#{factortable9},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">and factorpk1 like concat('%',#{factorpk1},'%')</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">and factorpk2 like concat('%',#{factorpk2},'%')</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">and factorpk3 like concat('%',#{factorpk3},'%')</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">and factorpk4 like concat('%',#{factorpk4},'%')</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">and factorpk5 like concat('%',#{factorpk5},'%')</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">and factorpk6 like concat('%',#{factorpk6},'%')</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">and factorpk7 like concat('%',#{factorpk7},'%')</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">and factorpk8 like concat('%',#{factorpk8},'%')</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">and factorpk9 like concat('%',#{factorpk9},'%')</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">and factorid1 like concat('%',#{factorid1},'%')</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">and factorid2 like concat('%',#{factorid2},'%')</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">and factorid3 like concat('%',#{factorid3},'%')</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">and factorid4 like concat('%',#{factorid4},'%')</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">and factorid5 like concat('%',#{factorid5},'%')</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">and factorid6 like concat('%',#{factorid6},'%')</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">and factorid7 like concat('%',#{factorid7},'%')</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">and factorid8 like concat('%',#{factorid8},'%')</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">and factorid9 like concat('%',#{factorid9},'%')</if>
|
|
|
|
|
<if test="remark != null and remark != ''">and remark like concat('%',#{remark},'%')</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">and def1 like concat('%',#{def1},'%')</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">and def2 like concat('%',#{def2},'%')</if>
|
|
|
|
@ -214,15 +304,33 @@
|
|
|
|
|
<if test="contrastId != null">or contrast_id = #{contrastId}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">or pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">or desdocvalue = #{desdocvalue}</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">or factorvalue1 = #{factorvalue1}</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">or factorvalue2 = #{factorvalue2}</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">or factorvalue3 = #{factorvalue3}</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">or factorvalue4 = #{factorvalue4}</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">or factorvalue5 = #{factorvalue5}</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">or factorvalue6 = #{factorvalue6}</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">or factorvalue7 = #{factorvalue7}</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">or factorvalue8 = #{factorvalue8}</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">or factorvalue9 = #{factorvalue9}</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">or factortable1 = #{factortable1}</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">or factortable2 = #{factortable2}</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">or factortable3 = #{factortable3}</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">or factortable4 = #{factortable4}</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">or factortable5 = #{factortable5}</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">or factortable6 = #{factortable6}</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">or factortable7 = #{factortable7}</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">or factortable8 = #{factortable8}</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">or factortable9 = #{factortable9}</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">or factorpk1 = #{factorpk1}</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">or factorpk2 = #{factorpk2}</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">or factorpk3 = #{factorpk3}</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">or factorpk4 = #{factorpk4}</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">or factorpk5 = #{factorpk5}</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">or factorpk6 = #{factorpk6}</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">or factorpk7 = #{factorpk7}</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">or factorpk8 = #{factorpk8}</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">or factorpk9 = #{factorpk9}</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">or factorid1 = #{factorid1}</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">or factorid2 = #{factorid2}</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">or factorid3 = #{factorid3}</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">or factorid4 = #{factorid4}</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">or factorid5 = #{factorid5}</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">or factorid6 = #{factorid6}</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">or factorid7 = #{factorid7}</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">or factorid8 = #{factorid8}</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">or factorid9 = #{factorid9}</if>
|
|
|
|
|
<if test="remark != null and remark != ''">or remark = #{remark}</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">or def1 = #{def1}</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">or def2 = #{def2}</if>
|
|
|
|
@ -253,15 +361,33 @@
|
|
|
|
|
<if test="contrastId != null">contrast_id ,</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">pk_corp ,</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">desdocvalue ,</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">factorvalue1 ,</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">factorvalue2 ,</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">factorvalue3 ,</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">factorvalue4 ,</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">factorvalue5 ,</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">factorvalue6 ,</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">factorvalue7 ,</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">factorvalue8 ,</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">factorvalue9 ,</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">factortable1 ,</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">factortable2 ,</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">factortable3 ,</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">factortable4 ,</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">factortable5 ,</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">factortable6 ,</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">factortable7 ,</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">factortable8 ,</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">factortable9 ,</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">factorpk1 ,</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">factorpk2 ,</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">factorpk3 ,</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">factorpk4 ,</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">factorpk5 ,</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">factorpk6 ,</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">factorpk7 ,</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">factorpk8 ,</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">factorpk9 ,</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">factorid1 ,</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">factorid2 ,</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">factorid3 ,</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">factorid4 ,</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">factorid5 ,</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">factorid6 ,</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">factorid7 ,</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">factorid8 ,</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">factorid9 ,</if>
|
|
|
|
|
<if test="remark != null and remark != ''">remark ,</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">def1 ,</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">def2 ,</if>
|
|
|
|
@ -288,15 +414,33 @@
|
|
|
|
|
<if test="contrastId != null">#{contrastId} ,</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">#{pkCorp} ,</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">#{desdocvalue} ,</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">#{factorvalue1} ,</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">#{factorvalue2} ,</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">#{factorvalue3} ,</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">#{factorvalue4} ,</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">#{factorvalue5} ,</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">#{factorvalue6} ,</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">#{factorvalue7} ,</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">#{factorvalue8} ,</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">#{factorvalue9} ,</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">#{factortable1} ,</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">#{factortable2} ,</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">#{factortable3} ,</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">#{factortable4} ,</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">#{factortable5} ,</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">#{factortable6} ,</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">#{factortable7} ,</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">#{factortable8} ,</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">#{factortable9} ,</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">#{factorpk1} ,</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">#{factorpk2} ,</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">#{factorpk3} ,</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">#{factorpk4} ,</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">#{factorpk5} ,</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">#{factorpk6} ,</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">#{factorpk7} ,</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">#{factorpk8} ,</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">#{factorpk9} ,</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">#{factorid1} ,</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">#{factorid2} ,</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">#{factorid3} ,</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">#{factorid4} ,</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">#{factorid5} ,</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">#{factorid6} ,</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">#{factorid7} ,</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">#{factorid8} ,</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">#{factorid9} ,</if>
|
|
|
|
|
<if test="remark != null and remark != ''">#{remark} ,</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">#{def1} ,</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">#{def2} ,</if>
|
|
|
|
@ -309,10 +453,10 @@
|
|
|
|
|
<if test="def9 != null and def9 != ''">#{def9} ,</if>
|
|
|
|
|
<if test="def10 != null and def10 != ''">#{def10} ,</if>
|
|
|
|
|
<if test="create_time != null">#{create_time} ,</if>
|
|
|
|
|
<if test="create_time == null">now() ,</if>
|
|
|
|
|
<if test="create_time != null">now() ,</if>
|
|
|
|
|
<if test="createUser != null and createUser != ''">#{createUser} ,</if>
|
|
|
|
|
<if test="modify_time != null">#{modify_time} ,</if>
|
|
|
|
|
<if test="modify_time == null">now() ,</if>
|
|
|
|
|
<if test="modify_time != null">now() ,</if>
|
|
|
|
|
<if test="modifyUser != null and modifyUser != ''">#{modifyUser} ,</if>
|
|
|
|
|
<if test="sts != null and sts != ''">#{sts} ,</if>
|
|
|
|
|
<if test="sts == null ">'Y',</if>
|
|
|
|
@ -321,38 +465,59 @@
|
|
|
|
|
</insert>
|
|
|
|
|
<!-- 批量新增 -->
|
|
|
|
|
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
|
|
|
|
insert into ae_conf_subject_contrast_b(contrast_id, pk_corp, desdocvalue, factorvalue1, factorvalue2,
|
|
|
|
|
factorvalue3, factorvalue4, factorvalue5, factorvalue6, factorvalue7, factorvalue8, factorvalue9, remark, def1,
|
|
|
|
|
def2, def3, def4, def5, def6, def7, def8, def9, def10, create_time, create_user, modify_time, modify_user, sts,
|
|
|
|
|
sts)
|
|
|
|
|
insert into ae_conf_subject_contrast_b(contrast_id, pk_corp, desdocvalue, factortable1, factortable2,
|
|
|
|
|
factortable3, factortable4, factortable5, factortable6, factortable7, factortable8, factortable9, factorpk1,
|
|
|
|
|
factorpk2, factorpk3, factorpk4, factorpk5, factorpk6, factorpk7, factorpk8, factorpk9, factorid1, factorid2,
|
|
|
|
|
factorid3, factorid4, factorid5, factorid6, factorid7, factorid8, factorid9, remark, def1, def2, def3, def4,
|
|
|
|
|
def5, def6, def7, def8, def9, def10, create_time, create_user, modify_time, modify_user, sts, sts)
|
|
|
|
|
values
|
|
|
|
|
<foreach collection="entities" item="entity" separator=",">
|
|
|
|
|
(#{entity.contrastId},#{entity.pkCorp},#{entity.desdocvalue},#{entity.factorvalue1},#{entity.factorvalue2},#{entity.factorvalue3},#{entity.factorvalue4},#{entity.factorvalue5},#{entity.factorvalue6},#{entity.factorvalue7},#{entity.factorvalue8},#{entity.factorvalue9},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.def10},#{entity.create_time},#{entity.createUser},#{entity.modify_time},#{entity.modifyUser},#{entity.sts},
|
|
|
|
|
(#{entity.contrastId},#{entity.pkCorp},#{entity.desdocvalue},#{entity.factortable1},#{entity.factortable2},#{entity.factortable3},#{entity.factortable4},#{entity.factortable5},#{entity.factortable6},#{entity.factortable7},#{entity.factortable8},#{entity.factortable9},#{entity.factorpk1},#{entity.factorpk2},#{entity.factorpk3},#{entity.factorpk4},#{entity.factorpk5},#{entity.factorpk6},#{entity.factorpk7},#{entity.factorpk8},#{entity.factorpk9},#{entity.factorid1},#{entity.factorid2},#{entity.factorid3},#{entity.factorid4},#{entity.factorid5},#{entity.factorid6},#{entity.factorid7},#{entity.factorid8},#{entity.factorid9},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.def10},now(),#{entity.createUser},now(),#{entity.modifyUser},#{entity.sts},
|
|
|
|
|
'Y')
|
|
|
|
|
</foreach>
|
|
|
|
|
</insert>
|
|
|
|
|
<!-- 批量新增或者修改-->
|
|
|
|
|
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
|
|
|
|
insert into ae_conf_subject_contrast_b(contrast_id, pk_corp, desdocvalue, factorvalue1, factorvalue2,
|
|
|
|
|
factorvalue3, factorvalue4, factorvalue5, factorvalue6, factorvalue7, factorvalue8, factorvalue9, remark, def1,
|
|
|
|
|
def2, def3, def4, def5, def6, def7, def8, def9, def10, create_time, create_user, modify_time, modify_user, sts)
|
|
|
|
|
insert into ae_conf_subject_contrast_b(contrast_id, pk_corp, desdocvalue, factortable1, factortable2,
|
|
|
|
|
factortable3, factortable4, factortable5, factortable6, factortable7, factortable8, factortable9, factorpk1,
|
|
|
|
|
factorpk2, factorpk3, factorpk4, factorpk5, factorpk6, factorpk7, factorpk8, factorpk9, factorid1, factorid2,
|
|
|
|
|
factorid3, factorid4, factorid5, factorid6, factorid7, factorid8, factorid9, remark, def1, def2, def3, def4,
|
|
|
|
|
def5, def6, def7, def8, def9, def10, create_time, create_user, modify_time, modify_user, sts)
|
|
|
|
|
values
|
|
|
|
|
<foreach collection="entities" item="entity" separator=",">
|
|
|
|
|
(#{entity.contrastId},#{entity.pkCorp},#{entity.desdocvalue},#{entity.factorvalue1},#{entity.factorvalue2},#{entity.factorvalue3},#{entity.factorvalue4},#{entity.factorvalue5},#{entity.factorvalue6},#{entity.factorvalue7},#{entity.factorvalue8},#{entity.factorvalue9},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.def10},#{entity.create_time},#{entity.createUser},#{entity.modify_time},#{entity.modifyUser},#{entity.sts})
|
|
|
|
|
(#{entity.contrastId},#{entity.pkCorp},#{entity.desdocvalue},#{entity.factortable1},#{entity.factortable2},#{entity.factortable3},#{entity.factortable4},#{entity.factortable5},#{entity.factortable6},#{entity.factortable7},#{entity.factortable8},#{entity.factortable9},#{entity.factorpk1},#{entity.factorpk2},#{entity.factorpk3},#{entity.factorpk4},#{entity.factorpk5},#{entity.factorpk6},#{entity.factorpk7},#{entity.factorpk8},#{entity.factorpk9},#{entity.factorid1},#{entity.factorid2},#{entity.factorid3},#{entity.factorid4},#{entity.factorid5},#{entity.factorid6},#{entity.factorid7},#{entity.factorid8},#{entity.factorid9},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.def10},now(),#{entity.createUser},now(),#{entity.modifyUser},#{entity.sts})
|
|
|
|
|
</foreach>
|
|
|
|
|
on duplicate key update
|
|
|
|
|
contrast_id = values(contrast_id),
|
|
|
|
|
pk_corp = values(pk_corp),
|
|
|
|
|
desdocvalue = values(desdocvalue),
|
|
|
|
|
factorvalue1 = values(factorvalue1),
|
|
|
|
|
factorvalue2 = values(factorvalue2),
|
|
|
|
|
factorvalue3 = values(factorvalue3),
|
|
|
|
|
factorvalue4 = values(factorvalue4),
|
|
|
|
|
factorvalue5 = values(factorvalue5),
|
|
|
|
|
factorvalue6 = values(factorvalue6),
|
|
|
|
|
factorvalue7 = values(factorvalue7),
|
|
|
|
|
factorvalue8 = values(factorvalue8),
|
|
|
|
|
factorvalue9 = values(factorvalue9),
|
|
|
|
|
factortable1 = values(factortable1),
|
|
|
|
|
factortable2 = values(factortable2),
|
|
|
|
|
factortable3 = values(factortable3),
|
|
|
|
|
factortable4 = values(factortable4),
|
|
|
|
|
factortable5 = values(factortable5),
|
|
|
|
|
factortable6 = values(factortable6),
|
|
|
|
|
factortable7 = values(factortable7),
|
|
|
|
|
factortable8 = values(factortable8),
|
|
|
|
|
factortable9 = values(factortable9),
|
|
|
|
|
factorpk1 = values(factorpk1),
|
|
|
|
|
factorpk2 = values(factorpk2),
|
|
|
|
|
factorpk3 = values(factorpk3),
|
|
|
|
|
factorpk4 = values(factorpk4),
|
|
|
|
|
factorpk5 = values(factorpk5),
|
|
|
|
|
factorpk6 = values(factorpk6),
|
|
|
|
|
factorpk7 = values(factorpk7),
|
|
|
|
|
factorpk8 = values(factorpk8),
|
|
|
|
|
factorpk9 = values(factorpk9),
|
|
|
|
|
factorid1 = values(factorid1),
|
|
|
|
|
factorid2 = values(factorid2),
|
|
|
|
|
factorid3 = values(factorid3),
|
|
|
|
|
factorid4 = values(factorid4),
|
|
|
|
|
factorid5 = values(factorid5),
|
|
|
|
|
factorid6 = values(factorid6),
|
|
|
|
|
factorid7 = values(factorid7),
|
|
|
|
|
factorid8 = values(factorid8),
|
|
|
|
|
factorid9 = values(factorid9),
|
|
|
|
|
remark = values(remark),
|
|
|
|
|
def1 = values(def1),
|
|
|
|
|
def2 = values(def2),
|
|
|
|
@ -378,15 +543,33 @@
|
|
|
|
|
<if test="contrastId != null">contrast_id = #{contrastId},</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">pk_corp = #{pkCorp},</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">desdocvalue = #{desdocvalue},</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">factorvalue1 = #{factorvalue1},</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">factorvalue2 = #{factorvalue2},</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">factorvalue3 = #{factorvalue3},</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">factorvalue4 = #{factorvalue4},</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">factorvalue5 = #{factorvalue5},</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">factorvalue6 = #{factorvalue6},</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">factorvalue7 = #{factorvalue7},</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">factorvalue8 = #{factorvalue8},</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">factorvalue9 = #{factorvalue9},</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">factortable1 = #{factortable1},</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">factortable2 = #{factortable2},</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">factortable3 = #{factortable3},</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">factortable4 = #{factortable4},</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">factortable5 = #{factortable5},</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">factortable6 = #{factortable6},</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">factortable7 = #{factortable7},</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">factortable8 = #{factortable8},</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">factortable9 = #{factortable9},</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">factorpk1 = #{factorpk1},</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">factorpk2 = #{factorpk2},</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">factorpk3 = #{factorpk3},</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">factorpk4 = #{factorpk4},</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">factorpk5 = #{factorpk5},</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">factorpk6 = #{factorpk6},</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">factorpk7 = #{factorpk7},</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">factorpk8 = #{factorpk8},</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">factorpk9 = #{factorpk9},</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">factorid1 = #{factorid1},</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">factorid2 = #{factorid2},</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">factorid3 = #{factorid3},</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">factorid4 = #{factorid4},</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">factorid5 = #{factorid5},</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">factorid6 = #{factorid6},</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">factorid7 = #{factorid7},</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">factorid8 = #{factorid8},</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">factorid9 = #{factorid9},</if>
|
|
|
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">def1 = #{def1},</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">def2 = #{def2},</if>
|
|
|
|
@ -418,21 +601,39 @@
|
|
|
|
|
<!-- 多条件逻辑删除 -->
|
|
|
|
|
<update id="entity_logicDelete_Multi_Condition"
|
|
|
|
|
parameterType="com.hzya.frame.voucher.ae.comf.subject.entity.AeConfSubjectContrastBEntity">
|
|
|
|
|
update ae_conf_subject_contrast_b set sts= 'N' ,modify_time = now()
|
|
|
|
|
update ae_conf_subject_contrast_b set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
|
|
|
|
<trim prefix="where" prefixOverrides="and">
|
|
|
|
|
<if test="id != null">and id = #{id}</if>
|
|
|
|
|
<if test="contrastId != null">and contrast_id = #{contrastId}</if>
|
|
|
|
|
<if test="pkCorp != null and pkCorp != ''">and pk_corp = #{pkCorp}</if>
|
|
|
|
|
<if test="desdocvalue != null and desdocvalue != ''">and desdocvalue = #{desdocvalue}</if>
|
|
|
|
|
<if test="factorvalue1 != null and factorvalue1 != ''">and factorvalue1 = #{factorvalue1}</if>
|
|
|
|
|
<if test="factorvalue2 != null and factorvalue2 != ''">and factorvalue2 = #{factorvalue2}</if>
|
|
|
|
|
<if test="factorvalue3 != null and factorvalue3 != ''">and factorvalue3 = #{factorvalue3}</if>
|
|
|
|
|
<if test="factorvalue4 != null and factorvalue4 != ''">and factorvalue4 = #{factorvalue4}</if>
|
|
|
|
|
<if test="factorvalue5 != null and factorvalue5 != ''">and factorvalue5 = #{factorvalue5}</if>
|
|
|
|
|
<if test="factorvalue6 != null and factorvalue6 != ''">and factorvalue6 = #{factorvalue6}</if>
|
|
|
|
|
<if test="factorvalue7 != null and factorvalue7 != ''">and factorvalue7 = #{factorvalue7}</if>
|
|
|
|
|
<if test="factorvalue8 != null and factorvalue8 != ''">and factorvalue8 = #{factorvalue8}</if>
|
|
|
|
|
<if test="factorvalue9 != null and factorvalue9 != ''">and factorvalue9 = #{factorvalue9}</if>
|
|
|
|
|
<if test="factortable1 != null and factortable1 != ''">and factortable1 = #{factortable1}</if>
|
|
|
|
|
<if test="factortable2 != null and factortable2 != ''">and factortable2 = #{factortable2}</if>
|
|
|
|
|
<if test="factortable3 != null and factortable3 != ''">and factortable3 = #{factortable3}</if>
|
|
|
|
|
<if test="factortable4 != null and factortable4 != ''">and factortable4 = #{factortable4}</if>
|
|
|
|
|
<if test="factortable5 != null and factortable5 != ''">and factortable5 = #{factortable5}</if>
|
|
|
|
|
<if test="factortable6 != null and factortable6 != ''">and factortable6 = #{factortable6}</if>
|
|
|
|
|
<if test="factortable7 != null and factortable7 != ''">and factortable7 = #{factortable7}</if>
|
|
|
|
|
<if test="factortable8 != null and factortable8 != ''">and factortable8 = #{factortable8}</if>
|
|
|
|
|
<if test="factortable9 != null and factortable9 != ''">and factortable9 = #{factortable9}</if>
|
|
|
|
|
<if test="factorpk1 != null and factorpk1 != ''">and factorpk1 = #{factorpk1}</if>
|
|
|
|
|
<if test="factorpk2 != null and factorpk2 != ''">and factorpk2 = #{factorpk2}</if>
|
|
|
|
|
<if test="factorpk3 != null and factorpk3 != ''">and factorpk3 = #{factorpk3}</if>
|
|
|
|
|
<if test="factorpk4 != null and factorpk4 != ''">and factorpk4 = #{factorpk4}</if>
|
|
|
|
|
<if test="factorpk5 != null and factorpk5 != ''">and factorpk5 = #{factorpk5}</if>
|
|
|
|
|
<if test="factorpk6 != null and factorpk6 != ''">and factorpk6 = #{factorpk6}</if>
|
|
|
|
|
<if test="factorpk7 != null and factorpk7 != ''">and factorpk7 = #{factorpk7}</if>
|
|
|
|
|
<if test="factorpk8 != null and factorpk8 != ''">and factorpk8 = #{factorpk8}</if>
|
|
|
|
|
<if test="factorpk9 != null and factorpk9 != ''">and factorpk9 = #{factorpk9}</if>
|
|
|
|
|
<if test="factorid1 != null and factorid1 != ''">and factorid1 = #{factorid1}</if>
|
|
|
|
|
<if test="factorid2 != null and factorid2 != ''">and factorid2 = #{factorid2}</if>
|
|
|
|
|
<if test="factorid3 != null and factorid3 != ''">and factorid3 = #{factorid3}</if>
|
|
|
|
|
<if test="factorid4 != null and factorid4 != ''">and factorid4 = #{factorid4}</if>
|
|
|
|
|
<if test="factorid5 != null and factorid5 != ''">and factorid5 = #{factorid5}</if>
|
|
|
|
|
<if test="factorid6 != null and factorid6 != ''">and factorid6 = #{factorid6}</if>
|
|
|
|
|
<if test="factorid7 != null and factorid7 != ''">and factorid7 = #{factorid7}</if>
|
|
|
|
|
<if test="factorid8 != null and factorid8 != ''">and factorid8 = #{factorid8}</if>
|
|
|
|
|
<if test="factorid9 != null and factorid9 != ''">and factorid9 = #{factorid9}</if>
|
|
|
|
|
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
|
|
|
|
<if test="def1 != null and def1 != ''">and def1 = #{def1}</if>
|
|
|
|
|
<if test="def2 != null and def2 != ''">and def2 = #{def2}</if>
|
|
|
|
|