xml更改
This commit is contained in:
parent
31a90feed7
commit
4d6f96bb62
|
@ -212,12 +212,12 @@
|
|||
<if test="phone1 != null and phone1 != ''"> and phone1 = #{phone1} </if>
|
||||
<if test="phone2 != null and phone2 != ''"> and phone2 = #{phone2} </if>
|
||||
<if test="phone3 != null and phone3 != ''"> and phone3 = #{phone3} </if>
|
||||
<if test="pkareacl != null and pkareacl != ''"> and pk_areacl = #{pkareacl} </if>
|
||||
<if test="pkcorp != null and pkcorp != ''"> and pk_corp = #{pkcorp} </if>
|
||||
<if test="pkcorp1 != null and pkcorp1 != ''"> and pk_corp1 = #{pkcorp1} </if>
|
||||
<if test="pkcubasdoc != null and pkcubasdoc != ''"> and pk_cubasdoc = #{pkcubasdoc} </if>
|
||||
<if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> and pk_cubasdoc1 = #{pkcubasdoc1} </if>
|
||||
<if test="pkpricegroup != null and pkpricegroup != ''"> and pk_pricegroup = #{pkpricegroup} </if>
|
||||
<if test="pkAreacl != null and pkAreacl != ''"> and pk_areacl = #{pkAreacl} </if>
|
||||
<if test="pkCorp != null and pkCorp != ''"> and pk_corp = #{pkCorp} </if>
|
||||
<if test="pkCorp1 != null and pkCorp1 != ''"> and pk_corp1 = #{pkCorp1} </if>
|
||||
<if test="pkCubasdoc != null and pkCubasdoc != ''"> and pk_cubasdoc = #{pkCubasdoc} </if>
|
||||
<if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> and pk_cubasdoc1 = #{pkCubasdoc1} </if>
|
||||
<if test="pkPricegroup != null and pkPricegroup != ''"> and pk_pricegroup = #{pkPricegroup} </if>
|
||||
<if test="registerfund != null and registerfund != ''"> and registerfund = #{registerfund} </if>
|
||||
<if test="saleaddr != null and saleaddr != ''"> and saleaddr = #{saleaddr} </if>
|
||||
<if test="sealflag != null and sealflag != ''"> and sealflag = #{sealflag} </if>
|
||||
|
@ -232,10 +232,10 @@
|
|||
</trim>
|
||||
<if test=" sort == ''.toString() "> order by sorts asc</if>
|
||||
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||
</select>
|
||||
</select>
|
||||
|
||||
<!-- 查询符合条件的数量 -->
|
||||
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
<!-- 查询符合条件的数量 -->
|
||||
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
select count(1) from bd_cubasdoc
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="accdefault != null and accdefault != ''"> and accdefault = #{accdefault} </if>
|
||||
|
@ -295,12 +295,12 @@
|
|||
<if test="phone1 != null and phone1 != ''"> and phone1 = #{phone1} </if>
|
||||
<if test="phone2 != null and phone2 != ''"> and phone2 = #{phone2} </if>
|
||||
<if test="phone3 != null and phone3 != ''"> and phone3 = #{phone3} </if>
|
||||
<if test="pkareacl != null and pkareacl != ''"> and pk_areacl = #{pkareacl} </if>
|
||||
<if test="pkcorp != null and pkcorp != ''"> and pk_corp = #{pkcorp} </if>
|
||||
<if test="pkcorp1 != null and pkcorp1 != ''"> and pk_corp1 = #{pkcorp1} </if>
|
||||
<if test="pkcubasdoc != null and pkcubasdoc != ''"> and pk_cubasdoc = #{pkcubasdoc} </if>
|
||||
<if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> and pk_cubasdoc1 = #{pkcubasdoc1} </if>
|
||||
<if test="pkpricegroup != null and pkpricegroup != ''"> and pk_pricegroup = #{pkpricegroup} </if>
|
||||
<if test="pkAreacl != null and pkAreacl != ''"> and pk_areacl = #{pkAreacl} </if>
|
||||
<if test="pkCorp != null and pkCorp != ''"> and pk_corp = #{pkCorp} </if>
|
||||
<if test="pkCorp1 != null and pkCorp1 != ''"> and pk_corp1 = #{pkCorp1} </if>
|
||||
<if test="pkCubasdoc != null and pkCubasdoc != ''"> and pk_cubasdoc = #{pkCubasdoc} </if>
|
||||
<if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> and pk_cubasdoc1 = #{pkCubasdoc1} </if>
|
||||
<if test="pkPricegroup != null and pkPricegroup != ''"> and pk_pricegroup = #{pkPricegroup} </if>
|
||||
<if test="registerfund != null and registerfund != ''"> and registerfund = #{registerfund} </if>
|
||||
<if test="saleaddr != null and saleaddr != ''"> and saleaddr = #{saleaddr} </if>
|
||||
<if test="sealflag != null and sealflag != ''"> and sealflag = #{sealflag} </if>
|
||||
|
@ -315,7 +315,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 分页查询列表 采用like格式 -->
|
||||
<select id="entity_list_like" resultMap="get-BdCubasdocEntity-result" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
<select id="entity_list_like" resultMap="get-BdCubasdocEntity-result" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
select
|
||||
<include refid="BdCubasdocEntity_Base_Column_List" />
|
||||
from bd_cubasdoc
|
||||
|
@ -377,12 +377,12 @@
|
|||
<if test="phone1 != null and phone1 != ''"> and phone1 like concat('%',#{phone1},'%') </if>
|
||||
<if test="phone2 != null and phone2 != ''"> and phone2 like concat('%',#{phone2},'%') </if>
|
||||
<if test="phone3 != null and phone3 != ''"> and phone3 like concat('%',#{phone3},'%') </if>
|
||||
<if test="pkareacl != null and pkareacl != ''"> and pk_areacl like concat('%',#{pkareacl},'%') </if>
|
||||
<if test="pkcorp != null and pkcorp != ''"> and pk_corp like concat('%',#{pkcorp},'%') </if>
|
||||
<if test="pkcorp1 != null and pkcorp1 != ''"> and pk_corp1 like concat('%',#{pkcorp1},'%') </if>
|
||||
<if test="pkcubasdoc != null and pkcubasdoc != ''"> and pk_cubasdoc like concat('%',#{pkcubasdoc},'%') </if>
|
||||
<if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> and pk_cubasdoc1 like concat('%',#{pkcubasdoc1},'%') </if>
|
||||
<if test="pkpricegroup != null and pkpricegroup != ''"> and pk_pricegroup like concat('%',#{pkpricegroup},'%') </if>
|
||||
<if test="pkAreacl != null and pkAreacl != ''"> and pk_areacl like concat('%',#{pkAreacl},'%') </if>
|
||||
<if test="pkCorp != null and pkCorp != ''"> and pk_corp like concat('%',#{pkCorp},'%') </if>
|
||||
<if test="pkCorp1 != null and pkCorp1 != ''"> and pk_corp1 like concat('%',#{pkCorp1},'%') </if>
|
||||
<if test="pkCubasdoc != null and pkCubasdoc != ''"> and pk_cubasdoc like concat('%',#{pkCubasdoc},'%') </if>
|
||||
<if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> and pk_cubasdoc1 like concat('%',#{pkCubasdoc1},'%') </if>
|
||||
<if test="pkPricegroup != null and pkPricegroup != ''"> and pk_pricegroup like concat('%',#{pkPricegroup},'%') </if>
|
||||
<if test="registerfund != null and registerfund != ''"> and registerfund like concat('%',#{registerfund},'%') </if>
|
||||
<if test="saleaddr != null and saleaddr != ''"> and saleaddr like concat('%',#{saleaddr},'%') </if>
|
||||
<if test="sealflag != null and sealflag != ''"> and sealflag like concat('%',#{sealflag},'%') </if>
|
||||
|
@ -394,10 +394,10 @@
|
|||
</trim>
|
||||
<if test=" sort == ''.toString() "> order by sorts asc</if>
|
||||
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||
</select>
|
||||
</select>
|
||||
|
||||
<!-- 查询列表 字段采用or格式 -->
|
||||
<select id="BdCubasdocentity_list_or" resultMap="get-BdCubasdocEntity-result" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
<!-- 查询列表 字段采用or格式 -->
|
||||
<select id="BdCubasdocentity_list_or" resultMap="get-BdCubasdocEntity-result" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity">
|
||||
select
|
||||
<include refid="BdCubasdocEntity_Base_Column_List" />
|
||||
from bd_cubasdoc
|
||||
|
@ -459,12 +459,12 @@
|
|||
<if test="phone1 != null and phone1 != ''"> or phone1 = #{phone1} </if>
|
||||
<if test="phone2 != null and phone2 != ''"> or phone2 = #{phone2} </if>
|
||||
<if test="phone3 != null and phone3 != ''"> or phone3 = #{phone3} </if>
|
||||
<if test="pkareacl != null and pkareacl != ''"> or pk_areacl = #{pkareacl} </if>
|
||||
<if test="pkcorp != null and pkcorp != ''"> or pk_corp = #{pkcorp} </if>
|
||||
<if test="pkcorp1 != null and pkcorp1 != ''"> or pk_corp1 = #{pkcorp1} </if>
|
||||
<if test="pkcubasdoc != null and pkcubasdoc != ''"> or pk_cubasdoc = #{pkcubasdoc} </if>
|
||||
<if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> or pk_cubasdoc1 = #{pkcubasdoc1} </if>
|
||||
<if test="pkpricegroup != null and pkpricegroup != ''"> or pk_pricegroup = #{pkpricegroup} </if>
|
||||
<if test="pkAreacl != null and pkAreacl != ''"> or pk_areacl = #{pkAreacl} </if>
|
||||
<if test="pkCorp != null and pkCorp != ''"> or pk_corp = #{pkCorp} </if>
|
||||
<if test="pkCorp1 != null and pkCorp1 != ''"> or pk_corp1 = #{pkCorp1} </if>
|
||||
<if test="pkCubasdoc != null and pkCubasdoc != ''"> or pk_cubasdoc = #{pkCubasdoc} </if>
|
||||
<if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> or pk_cubasdoc1 = #{pkCubasdoc1} </if>
|
||||
<if test="pkPricegroup != null and pkPricegroup != ''"> or pk_pricegroup = #{pkPricegroup} </if>
|
||||
<if test="registerfund != null and registerfund != ''"> or registerfund = #{registerfund} </if>
|
||||
<if test="saleaddr != null and saleaddr != ''"> or saleaddr = #{saleaddr} </if>
|
||||
<if test="sealflag != null and sealflag != ''"> or sealflag = #{sealflag} </if>
|
||||
|
@ -476,415 +476,415 @@
|
|||
</trim>
|
||||
<if test=" sort == ''.toString() "> order by sorts asc</if>
|
||||
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||
</select>
|
||||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<!--<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" keyProperty="pkcubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(-->
|
||||
<!-- <trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> accdefault , </if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> billtemplet , </if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> bp1 , </if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> bp2 , </if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> bp3 , </if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> conaddr , </if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> correspondunit , </if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> createtime , </if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> creator , </if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> creditmny , </if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> custcode , </if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> custname , </if>-->
|
||||
<!-- <if test="custprop != null"> custprop , </if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> custshortname , </if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> def1 , </if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> def10 , </if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> def11 , </if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> def12 , </if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> def13 , </if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> def14 , </if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> def15 , </if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> def16 , </if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> def17 , </if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> def18 , </if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> def19 , </if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> def2 , </if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> def20 , </if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> def3 , </if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> def4 , </if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> def5 , </if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> def6 , </if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> def7 , </if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> def8 , </if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> def9 , </if>-->
|
||||
<!-- <if test="dr != null"> dr , </if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> drpnodeflag , </if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> ecotypesincevfive , </if>-->
|
||||
<!-- <if test="email != null and email != ''"> email , </if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> engname , </if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> fax1 , </if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> fax2 , </if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> freecustflag , </if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> isconnflag , </if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> legalbody , </if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> linkman1 , </if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> linkman2 , </if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> linkman3 , </if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> memo , </if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> mnecode , </if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> mobilephone1 , </if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> mobilephone2 , </if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> mobilephone3 , </if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> modifier , </if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> modifytime , </if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> phone1 , </if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> phone2 , </if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> phone3 , </if>-->
|
||||
<!-- <if test="pkareacl != null and pkareacl != ''"> pk_areacl , </if>-->
|
||||
<!-- <if test="pkcorp != null and pkcorp != ''"> pk_corp , </if>-->
|
||||
<!-- <if test="pkcorp1 != null and pkcorp1 != ''"> pk_corp1 , </if>-->
|
||||
<!-- <if test="pkcubasdoc != null and pkcubasdoc != ''"> pk_cubasdoc , </if>-->
|
||||
<!-- <if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> pk_cubasdoc1 , </if>-->
|
||||
<!-- <if test="pkpricegroup != null and pkpricegroup != ''"> pk_pricegroup , </if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> registerfund , </if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> saleaddr , </if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> sealflag , </if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> taxpayerid , </if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> trade , </if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> ts , </if>-->
|
||||
<!-- <if test="url != null and url != ''"> url , </if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> zipcode , </if>-->
|
||||
<!-- <if test="sorts == null ">sorts,</if>-->
|
||||
<!-- <if test="sts == null ">sts,</if>-->
|
||||
<!-- </trim>-->
|
||||
<!-- )values(-->
|
||||
<!-- <trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> #{accdefault} ,</if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> #{billtemplet} ,</if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> #{bp1} ,</if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> #{bp2} ,</if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> #{bp3} ,</if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> #{conaddr} ,</if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> #{correspondunit} ,</if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> #{createtime} ,</if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> #{creator} ,</if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> #{creditmny} ,</if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> #{custcode} ,</if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> #{custname} ,</if>-->
|
||||
<!-- <if test="custprop != null"> #{custprop} ,</if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> #{custshortname} ,</if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> #{def1} ,</if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> #{def10} ,</if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> #{def11} ,</if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> #{def12} ,</if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> #{def13} ,</if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> #{def14} ,</if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> #{def15} ,</if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> #{def16} ,</if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> #{def17} ,</if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> #{def18} ,</if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> #{def19} ,</if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> #{def2} ,</if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> #{def20} ,</if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> #{def3} ,</if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> #{def4} ,</if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> #{def5} ,</if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> #{def6} ,</if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> #{def7} ,</if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> #{def8} ,</if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> #{def9} ,</if>-->
|
||||
<!-- <if test="dr != null"> #{dr} ,</if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> #{drpnodeflag} ,</if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> #{ecotypesincevfive} ,</if>-->
|
||||
<!-- <if test="email != null and email != ''"> #{email} ,</if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> #{engname} ,</if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> #{fax1} ,</if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> #{fax2} ,</if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> #{freecustflag} ,</if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> #{isconnflag} ,</if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> #{legalbody} ,</if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> #{linkman1} ,</if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> #{linkman2} ,</if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> #{linkman3} ,</if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> #{memo} ,</if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> #{mnecode} ,</if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> #{mobilephone1} ,</if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> #{mobilephone2} ,</if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> #{mobilephone3} ,</if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> #{modifier} ,</if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> #{modifytime} ,</if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> #{phone1} ,</if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> #{phone2} ,</if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> #{phone3} ,</if>-->
|
||||
<!-- <if test="pkareacl != null and pkareacl != ''"> #{pkareacl} ,</if>-->
|
||||
<!-- <if test="pkcorp != null and pkcorp != ''"> #{pkcorp} ,</if>-->
|
||||
<!-- <if test="pkcorp1 != null and pkcorp1 != ''"> #{pkcorp1} ,</if>-->
|
||||
<!-- <if test="pkcubasdoc != null and pkcubasdoc != ''"> #{pkcubasdoc} ,</if>-->
|
||||
<!-- <if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> #{pkcubasdoc1} ,</if>-->
|
||||
<!-- <if test="pkpricegroup != null and pkpricegroup != ''"> #{pkpricegroup} ,</if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> #{registerfund} ,</if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> #{saleaddr} ,</if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> #{sealflag} ,</if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> #{taxpayerid} ,</if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> #{trade} ,</if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> #{ts} ,</if>-->
|
||||
<!-- <if test="url != null and url != ''"> #{url} ,</if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> #{zipcode} ,</if>-->
|
||||
<!-- <if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from bd_cubasdoc a WHERE a.sts = 'Y' ),</if>-->
|
||||
<!-- <if test="sts == null ">'Y',</if>-->
|
||||
<!-- </trim>-->
|
||||
<!-- ) -->
|
||||
<!--</insert>-->
|
||||
<!-- 批量新增 -->
|
||||
<!--<insert id="entityInsertBatch" keyProperty="pkcubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(accdefault, billtemplet, bp1, bp2, bp3, conaddr, correspondunit, createtime, creator, creditmny, custcode, custname, custprop, custshortname, def1, def10, def11, def12, def13, def14, def15, def16, def17, def18, def19, def2, def20, def3, def4, def5, def6, def7, def8, def9, dr, drpnodeflag, ecotypesincevfive, email, engname, fax1, fax2, freecustflag, isconnflag, legalbody, linkman1, linkman2, linkman3, memo, mnecode, mobilephone1, mobilephone2, mobilephone3, modifier, modifytime, phone1, phone2, phone3, pk_areacl, pk_corp, pk_corp1, pk_cubasdoc1, pk_pricegroup, registerfund, saleaddr, sealflag, taxpayerid, trade, ts, url, zipcode, sts) -->
|
||||
<!-- values-->
|
||||
<!-- <foreach collection="entities" item="entity" separator=",">-->
|
||||
<!-- (#{entity.accdefault},#{entity.billtemplet},#{entity.bp1},#{entity.bp2},#{entity.bp3},#{entity.conaddr},#{entity.correspondunit},#{entity.createtime},#{entity.creator},#{entity.creditmny},#{entity.custcode},#{entity.custname},#{entity.custprop},#{entity.custshortname},#{entity.def1},#{entity.def10},#{entity.def11},#{entity.def12},#{entity.def13},#{entity.def14},#{entity.def15},#{entity.def16},#{entity.def17},#{entity.def18},#{entity.def19},#{entity.def2},#{entity.def20},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.dr},#{entity.drpnodeflag},#{entity.ecotypesincevfive},#{entity.email},#{entity.engname},#{entity.fax1},#{entity.fax2},#{entity.freecustflag},#{entity.isconnflag},#{entity.legalbody},#{entity.linkman1},#{entity.linkman2},#{entity.linkman3},#{entity.memo},#{entity.mnecode},#{entity.mobilephone1},#{entity.mobilephone2},#{entity.mobilephone3},#{entity.modifier},#{entity.modifytime},#{entity.phone1},#{entity.phone2},#{entity.phone3},#{entity.pkareacl},#{entity.pkcorp},#{entity.pkcorp1},#{entity.pkcubasdoc1},#{entity.pkpricegroup},#{entity.registerfund},#{entity.saleaddr},#{entity.sealflag},#{entity.taxpayerid},#{entity.trade},#{entity.ts},#{entity.url},#{entity.zipcode}, 'Y')-->
|
||||
<!-- </foreach>-->
|
||||
<!--</insert>-->
|
||||
<!-- 批量新增或者修改-->
|
||||
<!--<insert id="entityInsertOrUpdateBatch" keyProperty="pkcubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(accdefault, billtemplet, bp1, bp2, bp3, conaddr, correspondunit, createtime, creator, creditmny, custcode, custname, custprop, custshortname, def1, def10, def11, def12, def13, def14, def15, def16, def17, def18, def19, def2, def20, def3, def4, def5, def6, def7, def8, def9, dr, drpnodeflag, ecotypesincevfive, email, engname, fax1, fax2, freecustflag, isconnflag, legalbody, linkman1, linkman2, linkman3, memo, mnecode, mobilephone1, mobilephone2, mobilephone3, modifier, modifytime, phone1, phone2, phone3, pk_areacl, pk_corp, pk_corp1, pk_cubasdoc1, pk_pricegroup, registerfund, saleaddr, sealflag, taxpayerid, trade, ts, url, zipcode)-->
|
||||
<!-- values-->
|
||||
<!-- <foreach collection="entities" item="entity" separator=",">-->
|
||||
<!-- (#{entity.accdefault},#{entity.billtemplet},#{entity.bp1},#{entity.bp2},#{entity.bp3},#{entity.conaddr},#{entity.correspondunit},#{entity.createtime},#{entity.creator},#{entity.creditmny},#{entity.custcode},#{entity.custname},#{entity.custprop},#{entity.custshortname},#{entity.def1},#{entity.def10},#{entity.def11},#{entity.def12},#{entity.def13},#{entity.def14},#{entity.def15},#{entity.def16},#{entity.def17},#{entity.def18},#{entity.def19},#{entity.def2},#{entity.def20},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.dr},#{entity.drpnodeflag},#{entity.ecotypesincevfive},#{entity.email},#{entity.engname},#{entity.fax1},#{entity.fax2},#{entity.freecustflag},#{entity.isconnflag},#{entity.legalbody},#{entity.linkman1},#{entity.linkman2},#{entity.linkman3},#{entity.memo},#{entity.mnecode},#{entity.mobilephone1},#{entity.mobilephone2},#{entity.mobilephone3},#{entity.modifier},#{entity.modifytime},#{entity.phone1},#{entity.phone2},#{entity.phone3},#{entity.pkareacl},#{entity.pkcorp},#{entity.pkcorp1},#{entity.pkcubasdoc1},#{entity.pkpricegroup},#{entity.registerfund},#{entity.saleaddr},#{entity.sealflag},#{entity.taxpayerid},#{entity.trade},#{entity.ts},#{entity.url},#{entity.zipcode})-->
|
||||
<!-- </foreach>-->
|
||||
<!-- on duplicate key update-->
|
||||
<!-- accdefault = values(accdefault),-->
|
||||
<!-- billtemplet = values(billtemplet),-->
|
||||
<!-- bp1 = values(bp1),-->
|
||||
<!-- bp2 = values(bp2),-->
|
||||
<!-- bp3 = values(bp3),-->
|
||||
<!-- conaddr = values(conaddr),-->
|
||||
<!-- correspondunit = values(correspondunit),-->
|
||||
<!-- createtime = values(createtime),-->
|
||||
<!-- creator = values(creator),-->
|
||||
<!-- creditmny = values(creditmny),-->
|
||||
<!-- custcode = values(custcode),-->
|
||||
<!-- custname = values(custname),-->
|
||||
<!-- custprop = values(custprop),-->
|
||||
<!-- custshortname = values(custshortname),-->
|
||||
<!-- def1 = values(def1),-->
|
||||
<!-- def10 = values(def10),-->
|
||||
<!-- def11 = values(def11),-->
|
||||
<!-- def12 = values(def12),-->
|
||||
<!-- def13 = values(def13),-->
|
||||
<!-- def14 = values(def14),-->
|
||||
<!-- def15 = values(def15),-->
|
||||
<!-- def16 = values(def16),-->
|
||||
<!-- def17 = values(def17),-->
|
||||
<!-- def18 = values(def18),-->
|
||||
<!-- def19 = values(def19),-->
|
||||
<!-- def2 = values(def2),-->
|
||||
<!-- def20 = values(def20),-->
|
||||
<!-- def3 = values(def3),-->
|
||||
<!-- def4 = values(def4),-->
|
||||
<!-- def5 = values(def5),-->
|
||||
<!-- def6 = values(def6),-->
|
||||
<!-- def7 = values(def7),-->
|
||||
<!-- def8 = values(def8),-->
|
||||
<!-- def9 = values(def9),-->
|
||||
<!-- dr = values(dr),-->
|
||||
<!-- drpnodeflag = values(drpnodeflag),-->
|
||||
<!-- ecotypesincevfive = values(ecotypesincevfive),-->
|
||||
<!-- email = values(email),-->
|
||||
<!-- engname = values(engname),-->
|
||||
<!-- fax1 = values(fax1),-->
|
||||
<!-- fax2 = values(fax2),-->
|
||||
<!-- freecustflag = values(freecustflag),-->
|
||||
<!-- isconnflag = values(isconnflag),-->
|
||||
<!-- legalbody = values(legalbody),-->
|
||||
<!-- linkman1 = values(linkman1),-->
|
||||
<!-- linkman2 = values(linkman2),-->
|
||||
<!-- linkman3 = values(linkman3),-->
|
||||
<!-- memo = values(memo),-->
|
||||
<!-- mnecode = values(mnecode),-->
|
||||
<!-- mobilephone1 = values(mobilephone1),-->
|
||||
<!-- mobilephone2 = values(mobilephone2),-->
|
||||
<!-- mobilephone3 = values(mobilephone3),-->
|
||||
<!-- modifier = values(modifier),-->
|
||||
<!-- modifytime = values(modifytime),-->
|
||||
<!-- phone1 = values(phone1),-->
|
||||
<!-- phone2 = values(phone2),-->
|
||||
<!-- phone3 = values(phone3),-->
|
||||
<!-- pk_areacl = values(pk_areacl),-->
|
||||
<!-- pk_corp = values(pk_corp),-->
|
||||
<!-- pk_corp1 = values(pk_corp1),-->
|
||||
<!-- pk_cubasdoc1 = values(pk_cubasdoc1),-->
|
||||
<!-- pk_pricegroup = values(pk_pricegroup),-->
|
||||
<!-- registerfund = values(registerfund),-->
|
||||
<!-- saleaddr = values(saleaddr),-->
|
||||
<!-- sealflag = values(sealflag),-->
|
||||
<!-- taxpayerid = values(taxpayerid),-->
|
||||
<!-- trade = values(trade),-->
|
||||
<!-- ts = values(ts),-->
|
||||
<!-- url = values(url),-->
|
||||
<!-- zipcode = values(zipcode)</insert>-->
|
||||
<!--通过主键修改方法-->
|
||||
<!--<update id="entity_update" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set-->
|
||||
<!--<trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> accdefault = #{accdefault},</if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> billtemplet = #{billtemplet},</if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> bp1 = #{bp1},</if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> bp2 = #{bp2},</if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> bp3 = #{bp3},</if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> conaddr = #{conaddr},</if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> correspondunit = #{correspondunit},</if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> createtime = #{createtime},</if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> creator = #{creator},</if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> creditmny = #{creditmny},</if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> custcode = #{custcode},</if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> custname = #{custname},</if>-->
|
||||
<!-- <if test="custprop != null"> custprop = #{custprop},</if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> custshortname = #{custshortname},</if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> def1 = #{def1},</if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> def10 = #{def10},</if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> def11 = #{def11},</if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> def12 = #{def12},</if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> def13 = #{def13},</if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> def14 = #{def14},</if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> def15 = #{def15},</if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> def16 = #{def16},</if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> def17 = #{def17},</if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> def18 = #{def18},</if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> def19 = #{def19},</if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> def2 = #{def2},</if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> def20 = #{def20},</if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> def3 = #{def3},</if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> def4 = #{def4},</if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> def5 = #{def5},</if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> def6 = #{def6},</if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> def7 = #{def7},</if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> def8 = #{def8},</if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> def9 = #{def9},</if>-->
|
||||
<!-- <if test="dr != null"> dr = #{dr},</if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> drpnodeflag = #{drpnodeflag},</if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> ecotypesincevfive = #{ecotypesincevfive},</if>-->
|
||||
<!-- <if test="email != null and email != ''"> email = #{email},</if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> engname = #{engname},</if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> fax1 = #{fax1},</if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> fax2 = #{fax2},</if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> freecustflag = #{freecustflag},</if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> isconnflag = #{isconnflag},</if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> legalbody = #{legalbody},</if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> linkman1 = #{linkman1},</if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> linkman2 = #{linkman2},</if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> linkman3 = #{linkman3},</if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> memo = #{memo},</if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> mnecode = #{mnecode},</if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> mobilephone1 = #{mobilephone1},</if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> mobilephone2 = #{mobilephone2},</if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> mobilephone3 = #{mobilephone3},</if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> modifier = #{modifier},</if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> modifytime = #{modifytime},</if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> phone1 = #{phone1},</if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> phone2 = #{phone2},</if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> phone3 = #{phone3},</if>-->
|
||||
<!-- <if test="pkareacl != null and pkareacl != ''"> pk_areacl = #{pkareacl},</if>-->
|
||||
<!-- <if test="pkcorp != null and pkcorp != ''"> pk_corp = #{pkcorp},</if>-->
|
||||
<!-- <if test="pkcorp1 != null and pkcorp1 != ''"> pk_corp1 = #{pkcorp1},</if>-->
|
||||
<!-- <if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> pk_cubasdoc1 = #{pkcubasdoc1},</if>-->
|
||||
<!-- <if test="pkpricegroup != null and pkpricegroup != ''"> pk_pricegroup = #{pkpricegroup},</if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> registerfund = #{registerfund},</if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> saleaddr = #{saleaddr},</if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> sealflag = #{sealflag},</if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> taxpayerid = #{taxpayerid},</if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> trade = #{trade},</if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> ts = #{ts},</if>-->
|
||||
<!-- <if test="url != null and url != ''"> url = #{url},</if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> zipcode = #{zipcode},</if>-->
|
||||
<!--</trim>-->
|
||||
<!--where pk_cubasdoc = #{pkcubasdoc}-->
|
||||
<!--</update>-->
|
||||
<!-- 逻辑删除 -->
|
||||
<!--<update id="entity_logicDelete" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set sts= 'N'-->
|
||||
<!--where pk_cubasdoc = #{pkcubasdoc}-->
|
||||
<!--</update>-->
|
||||
<!-- 多条件逻辑删除 -->
|
||||
<!--<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set sts= 'N' -->
|
||||
<!-- <trim prefix="where" prefixOverrides="and"> -->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> and accdefault = #{accdefault} </if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> and billtemplet = #{billtemplet} </if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> and bp1 = #{bp1} </if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> and bp2 = #{bp2} </if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> and bp3 = #{bp3} </if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> and conaddr = #{conaddr} </if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> and correspondunit = #{correspondunit} </if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> and createtime = #{createtime} </if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> and creator = #{creator} </if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> and creditmny = #{creditmny} </if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> and custcode = #{custcode} </if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> and custname = #{custname} </if>-->
|
||||
<!-- <if test="custprop != null"> and custprop = #{custprop} </if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> and custshortname = #{custshortname} </if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> and def10 = #{def10} </if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> and def11 = #{def11} </if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> and def12 = #{def12} </if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> and def13 = #{def13} </if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> and def14 = #{def14} </if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> and def15 = #{def15} </if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> and def16 = #{def16} </if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> and def17 = #{def17} </if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> and def18 = #{def18} </if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> and def19 = #{def19} </if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> and def20 = #{def20} </if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> and def3 = #{def3} </if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> and def4 = #{def4} </if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> and def5 = #{def5} </if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> and def6 = #{def6} </if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> and def7 = #{def7} </if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> and def8 = #{def8} </if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> and def9 = #{def9} </if>-->
|
||||
<!-- <if test="dr != null"> and dr = #{dr} </if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> and drpnodeflag = #{drpnodeflag} </if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> and ecotypesincevfive = #{ecotypesincevfive} </if>-->
|
||||
<!-- <if test="email != null and email != ''"> and email = #{email} </if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> and engname = #{engname} </if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> and fax1 = #{fax1} </if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> and fax2 = #{fax2} </if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> and freecustflag = #{freecustflag} </if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> and isconnflag = #{isconnflag} </if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> and legalbody = #{legalbody} </if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> and linkman1 = #{linkman1} </if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> and linkman2 = #{linkman2} </if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> and linkman3 = #{linkman3} </if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> and memo = #{memo} </if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> and mnecode = #{mnecode} </if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> and mobilephone1 = #{mobilephone1} </if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> and mobilephone2 = #{mobilephone2} </if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> and mobilephone3 = #{mobilephone3} </if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> and modifier = #{modifier} </if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> and modifytime = #{modifytime} </if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> and phone1 = #{phone1} </if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> and phone2 = #{phone2} </if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> and phone3 = #{phone3} </if>-->
|
||||
<!-- <if test="pkareacl != null and pkareacl != ''"> and pk_areacl = #{pkareacl} </if>-->
|
||||
<!-- <if test="pkcorp != null and pkcorp != ''"> and pk_corp = #{pkcorp} </if>-->
|
||||
<!-- <if test="pkcorp1 != null and pkcorp1 != ''"> and pk_corp1 = #{pkcorp1} </if>-->
|
||||
<!-- <if test="pkcubasdoc != null and pkcubasdoc != ''"> and pk_cubasdoc = #{pkcubasdoc} </if>-->
|
||||
<!-- <if test="pkcubasdoc1 != null and pkcubasdoc1 != ''"> and pk_cubasdoc1 = #{pkcubasdoc1} </if>-->
|
||||
<!-- <if test="pkpricegroup != null and pkpricegroup != ''"> and pk_pricegroup = #{pkpricegroup} </if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> and registerfund = #{registerfund} </if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> and saleaddr = #{saleaddr} </if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> and sealflag = #{sealflag} </if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> and taxpayerid = #{taxpayerid} </if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> and trade = #{trade} </if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> and ts = #{ts} </if>-->
|
||||
<!-- <if test="url != null and url != ''"> and url = #{url} </if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> and zipcode = #{zipcode} </if>-->
|
||||
<!-- and sts='Y'-->
|
||||
<!-- </trim>-->
|
||||
<!--</update>-->
|
||||
<!--新增所有列-->
|
||||
<!--<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" keyProperty="pkCubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(-->
|
||||
<!-- <trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> accdefault , </if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> billtemplet , </if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> bp1 , </if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> bp2 , </if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> bp3 , </if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> conaddr , </if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> correspondunit , </if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> createtime , </if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> creator , </if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> creditmny , </if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> custcode , </if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> custname , </if>-->
|
||||
<!-- <if test="custprop != null"> custprop , </if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> custshortname , </if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> def1 , </if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> def10 , </if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> def11 , </if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> def12 , </if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> def13 , </if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> def14 , </if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> def15 , </if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> def16 , </if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> def17 , </if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> def18 , </if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> def19 , </if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> def2 , </if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> def20 , </if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> def3 , </if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> def4 , </if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> def5 , </if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> def6 , </if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> def7 , </if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> def8 , </if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> def9 , </if>-->
|
||||
<!-- <if test="dr != null"> dr , </if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> drpnodeflag , </if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> ecotypesincevfive , </if>-->
|
||||
<!-- <if test="email != null and email != ''"> email , </if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> engname , </if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> fax1 , </if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> fax2 , </if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> freecustflag , </if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> isconnflag , </if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> legalbody , </if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> linkman1 , </if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> linkman2 , </if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> linkman3 , </if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> memo , </if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> mnecode , </if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> mobilephone1 , </if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> mobilephone2 , </if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> mobilephone3 , </if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> modifier , </if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> modifytime , </if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> phone1 , </if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> phone2 , </if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> phone3 , </if>-->
|
||||
<!-- <if test="pkAreacl != null and pkAreacl != ''"> pk_areacl , </if>-->
|
||||
<!-- <if test="pkCorp != null and pkCorp != ''"> pk_corp , </if>-->
|
||||
<!-- <if test="pkCorp1 != null and pkCorp1 != ''"> pk_corp1 , </if>-->
|
||||
<!-- <if test="pkCubasdoc != null and pkCubasdoc != ''"> pk_cubasdoc , </if>-->
|
||||
<!-- <if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> pk_cubasdoc1 , </if>-->
|
||||
<!-- <if test="pkPricegroup != null and pkPricegroup != ''"> pk_pricegroup , </if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> registerfund , </if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> saleaddr , </if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> sealflag , </if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> taxpayerid , </if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> trade , </if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> ts , </if>-->
|
||||
<!-- <if test="url != null and url != ''"> url , </if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> zipcode , </if>-->
|
||||
<!-- <if test="sorts == null ">sorts,</if>-->
|
||||
<!-- <if test="sts == null ">sts,</if>-->
|
||||
<!-- </trim>-->
|
||||
<!-- )values(-->
|
||||
<!-- <trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> #{accdefault} ,</if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> #{billtemplet} ,</if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> #{bp1} ,</if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> #{bp2} ,</if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> #{bp3} ,</if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> #{conaddr} ,</if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> #{correspondunit} ,</if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> #{createtime} ,</if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> #{creator} ,</if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> #{creditmny} ,</if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> #{custcode} ,</if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> #{custname} ,</if>-->
|
||||
<!-- <if test="custprop != null"> #{custprop} ,</if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> #{custshortname} ,</if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> #{def1} ,</if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> #{def10} ,</if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> #{def11} ,</if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> #{def12} ,</if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> #{def13} ,</if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> #{def14} ,</if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> #{def15} ,</if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> #{def16} ,</if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> #{def17} ,</if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> #{def18} ,</if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> #{def19} ,</if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> #{def2} ,</if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> #{def20} ,</if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> #{def3} ,</if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> #{def4} ,</if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> #{def5} ,</if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> #{def6} ,</if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> #{def7} ,</if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> #{def8} ,</if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> #{def9} ,</if>-->
|
||||
<!-- <if test="dr != null"> #{dr} ,</if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> #{drpnodeflag} ,</if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> #{ecotypesincevfive} ,</if>-->
|
||||
<!-- <if test="email != null and email != ''"> #{email} ,</if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> #{engname} ,</if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> #{fax1} ,</if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> #{fax2} ,</if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> #{freecustflag} ,</if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> #{isconnflag} ,</if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> #{legalbody} ,</if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> #{linkman1} ,</if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> #{linkman2} ,</if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> #{linkman3} ,</if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> #{memo} ,</if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> #{mnecode} ,</if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> #{mobilephone1} ,</if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> #{mobilephone2} ,</if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> #{mobilephone3} ,</if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> #{modifier} ,</if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> #{modifytime} ,</if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> #{phone1} ,</if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> #{phone2} ,</if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> #{phone3} ,</if>-->
|
||||
<!-- <if test="pkAreacl != null and pkAreacl != ''"> #{pkAreacl} ,</if>-->
|
||||
<!-- <if test="pkCorp != null and pkCorp != ''"> #{pkCorp} ,</if>-->
|
||||
<!-- <if test="pkCorp1 != null and pkCorp1 != ''"> #{pkCorp1} ,</if>-->
|
||||
<!-- <if test="pkCubasdoc != null and pkCubasdoc != ''"> #{pkCubasdoc} ,</if>-->
|
||||
<!-- <if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> #{pkCubasdoc1} ,</if>-->
|
||||
<!-- <if test="pkPricegroup != null and pkPricegroup != ''"> #{pkPricegroup} ,</if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> #{registerfund} ,</if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> #{saleaddr} ,</if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> #{sealflag} ,</if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> #{taxpayerid} ,</if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> #{trade} ,</if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> #{ts} ,</if>-->
|
||||
<!-- <if test="url != null and url != ''"> #{url} ,</if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> #{zipcode} ,</if>-->
|
||||
<!-- <if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from bd_cubasdoc a WHERE a.sts = 'Y' ),</if>-->
|
||||
<!-- <if test="sts == null ">'Y',</if>-->
|
||||
<!-- </trim>-->
|
||||
<!-- ) -->
|
||||
<!--</insert>-->
|
||||
<!-- 批量新增 -->
|
||||
<!--<insert id="entityInsertBatch" keyProperty="pkCubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(accdefault, billtemplet, bp1, bp2, bp3, conaddr, correspondunit, createtime, creator, creditmny, custcode, custname, custprop, custshortname, def1, def10, def11, def12, def13, def14, def15, def16, def17, def18, def19, def2, def20, def3, def4, def5, def6, def7, def8, def9, dr, drpnodeflag, ecotypesincevfive, email, engname, fax1, fax2, freecustflag, isconnflag, legalbody, linkman1, linkman2, linkman3, memo, mnecode, mobilephone1, mobilephone2, mobilephone3, modifier, modifytime, phone1, phone2, phone3, pk_areacl, pk_corp, pk_corp1, pk_cubasdoc1, pk_pricegroup, registerfund, saleaddr, sealflag, taxpayerid, trade, ts, url, zipcode, sts) -->
|
||||
<!-- values-->
|
||||
<!-- <foreach collection="entities" item="entity" separator=",">-->
|
||||
<!-- (#{entity.accdefault},#{entity.billtemplet},#{entity.bp1},#{entity.bp2},#{entity.bp3},#{entity.conaddr},#{entity.correspondunit},#{entity.createtime},#{entity.creator},#{entity.creditmny},#{entity.custcode},#{entity.custname},#{entity.custprop},#{entity.custshortname},#{entity.def1},#{entity.def10},#{entity.def11},#{entity.def12},#{entity.def13},#{entity.def14},#{entity.def15},#{entity.def16},#{entity.def17},#{entity.def18},#{entity.def19},#{entity.def2},#{entity.def20},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.dr},#{entity.drpnodeflag},#{entity.ecotypesincevfive},#{entity.email},#{entity.engname},#{entity.fax1},#{entity.fax2},#{entity.freecustflag},#{entity.isconnflag},#{entity.legalbody},#{entity.linkman1},#{entity.linkman2},#{entity.linkman3},#{entity.memo},#{entity.mnecode},#{entity.mobilephone1},#{entity.mobilephone2},#{entity.mobilephone3},#{entity.modifier},#{entity.modifytime},#{entity.phone1},#{entity.phone2},#{entity.phone3},#{entity.pkAreacl},#{entity.pkCorp},#{entity.pkCorp1},#{entity.pkCubasdoc1},#{entity.pkPricegroup},#{entity.registerfund},#{entity.saleaddr},#{entity.sealflag},#{entity.taxpayerid},#{entity.trade},#{entity.ts},#{entity.url},#{entity.zipcode}, 'Y')-->
|
||||
<!-- </foreach>-->
|
||||
<!--</insert>-->
|
||||
<!-- 批量新增或者修改-->
|
||||
<!--<insert id="entityInsertOrUpdateBatch" keyProperty="pkCubasdoc" useGeneratedKeys="true">-->
|
||||
<!-- insert into bd_cubasdoc(accdefault, billtemplet, bp1, bp2, bp3, conaddr, correspondunit, createtime, creator, creditmny, custcode, custname, custprop, custshortname, def1, def10, def11, def12, def13, def14, def15, def16, def17, def18, def19, def2, def20, def3, def4, def5, def6, def7, def8, def9, dr, drpnodeflag, ecotypesincevfive, email, engname, fax1, fax2, freecustflag, isconnflag, legalbody, linkman1, linkman2, linkman3, memo, mnecode, mobilephone1, mobilephone2, mobilephone3, modifier, modifytime, phone1, phone2, phone3, pk_areacl, pk_corp, pk_corp1, pk_cubasdoc1, pk_pricegroup, registerfund, saleaddr, sealflag, taxpayerid, trade, ts, url, zipcode)-->
|
||||
<!-- values-->
|
||||
<!-- <foreach collection="entities" item="entity" separator=",">-->
|
||||
<!-- (#{entity.accdefault},#{entity.billtemplet},#{entity.bp1},#{entity.bp2},#{entity.bp3},#{entity.conaddr},#{entity.correspondunit},#{entity.createtime},#{entity.creator},#{entity.creditmny},#{entity.custcode},#{entity.custname},#{entity.custprop},#{entity.custshortname},#{entity.def1},#{entity.def10},#{entity.def11},#{entity.def12},#{entity.def13},#{entity.def14},#{entity.def15},#{entity.def16},#{entity.def17},#{entity.def18},#{entity.def19},#{entity.def2},#{entity.def20},#{entity.def3},#{entity.def4},#{entity.def5},#{entity.def6},#{entity.def7},#{entity.def8},#{entity.def9},#{entity.dr},#{entity.drpnodeflag},#{entity.ecotypesincevfive},#{entity.email},#{entity.engname},#{entity.fax1},#{entity.fax2},#{entity.freecustflag},#{entity.isconnflag},#{entity.legalbody},#{entity.linkman1},#{entity.linkman2},#{entity.linkman3},#{entity.memo},#{entity.mnecode},#{entity.mobilephone1},#{entity.mobilephone2},#{entity.mobilephone3},#{entity.modifier},#{entity.modifytime},#{entity.phone1},#{entity.phone2},#{entity.phone3},#{entity.pkAreacl},#{entity.pkCorp},#{entity.pkCorp1},#{entity.pkCubasdoc1},#{entity.pkPricegroup},#{entity.registerfund},#{entity.saleaddr},#{entity.sealflag},#{entity.taxpayerid},#{entity.trade},#{entity.ts},#{entity.url},#{entity.zipcode})-->
|
||||
<!-- </foreach>-->
|
||||
<!-- on duplicate key update-->
|
||||
<!-- accdefault = values(accdefault),-->
|
||||
<!-- billtemplet = values(billtemplet),-->
|
||||
<!-- bp1 = values(bp1),-->
|
||||
<!-- bp2 = values(bp2),-->
|
||||
<!-- bp3 = values(bp3),-->
|
||||
<!-- conaddr = values(conaddr),-->
|
||||
<!-- correspondunit = values(correspondunit),-->
|
||||
<!-- createtime = values(createtime),-->
|
||||
<!-- creator = values(creator),-->
|
||||
<!-- creditmny = values(creditmny),-->
|
||||
<!-- custcode = values(custcode),-->
|
||||
<!-- custname = values(custname),-->
|
||||
<!-- custprop = values(custprop),-->
|
||||
<!-- custshortname = values(custshortname),-->
|
||||
<!-- def1 = values(def1),-->
|
||||
<!-- def10 = values(def10),-->
|
||||
<!-- def11 = values(def11),-->
|
||||
<!-- def12 = values(def12),-->
|
||||
<!-- def13 = values(def13),-->
|
||||
<!-- def14 = values(def14),-->
|
||||
<!-- def15 = values(def15),-->
|
||||
<!-- def16 = values(def16),-->
|
||||
<!-- def17 = values(def17),-->
|
||||
<!-- def18 = values(def18),-->
|
||||
<!-- def19 = values(def19),-->
|
||||
<!-- def2 = values(def2),-->
|
||||
<!-- def20 = values(def20),-->
|
||||
<!-- def3 = values(def3),-->
|
||||
<!-- def4 = values(def4),-->
|
||||
<!-- def5 = values(def5),-->
|
||||
<!-- def6 = values(def6),-->
|
||||
<!-- def7 = values(def7),-->
|
||||
<!-- def8 = values(def8),-->
|
||||
<!-- def9 = values(def9),-->
|
||||
<!-- dr = values(dr),-->
|
||||
<!-- drpnodeflag = values(drpnodeflag),-->
|
||||
<!-- ecotypesincevfive = values(ecotypesincevfive),-->
|
||||
<!-- email = values(email),-->
|
||||
<!-- engname = values(engname),-->
|
||||
<!-- fax1 = values(fax1),-->
|
||||
<!-- fax2 = values(fax2),-->
|
||||
<!-- freecustflag = values(freecustflag),-->
|
||||
<!-- isconnflag = values(isconnflag),-->
|
||||
<!-- legalbody = values(legalbody),-->
|
||||
<!-- linkman1 = values(linkman1),-->
|
||||
<!-- linkman2 = values(linkman2),-->
|
||||
<!-- linkman3 = values(linkman3),-->
|
||||
<!-- memo = values(memo),-->
|
||||
<!-- mnecode = values(mnecode),-->
|
||||
<!-- mobilephone1 = values(mobilephone1),-->
|
||||
<!-- mobilephone2 = values(mobilephone2),-->
|
||||
<!-- mobilephone3 = values(mobilephone3),-->
|
||||
<!-- modifier = values(modifier),-->
|
||||
<!-- modifytime = values(modifytime),-->
|
||||
<!-- phone1 = values(phone1),-->
|
||||
<!-- phone2 = values(phone2),-->
|
||||
<!-- phone3 = values(phone3),-->
|
||||
<!-- pk_areacl = values(pk_areacl),-->
|
||||
<!-- pk_corp = values(pk_corp),-->
|
||||
<!-- pk_corp1 = values(pk_corp1),-->
|
||||
<!-- pk_cubasdoc1 = values(pk_cubasdoc1),-->
|
||||
<!-- pk_pricegroup = values(pk_pricegroup),-->
|
||||
<!-- registerfund = values(registerfund),-->
|
||||
<!-- saleaddr = values(saleaddr),-->
|
||||
<!-- sealflag = values(sealflag),-->
|
||||
<!-- taxpayerid = values(taxpayerid),-->
|
||||
<!-- trade = values(trade),-->
|
||||
<!-- ts = values(ts),-->
|
||||
<!-- url = values(url),-->
|
||||
<!-- zipcode = values(zipcode)</insert>-->
|
||||
<!--通过主键修改方法-->
|
||||
<!--<update id="entity_update" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set-->
|
||||
<!--<trim suffix="" suffixOverrides=",">-->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> accdefault = #{accdefault},</if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> billtemplet = #{billtemplet},</if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> bp1 = #{bp1},</if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> bp2 = #{bp2},</if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> bp3 = #{bp3},</if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> conaddr = #{conaddr},</if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> correspondunit = #{correspondunit},</if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> createtime = #{createtime},</if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> creator = #{creator},</if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> creditmny = #{creditmny},</if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> custcode = #{custcode},</if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> custname = #{custname},</if>-->
|
||||
<!-- <if test="custprop != null"> custprop = #{custprop},</if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> custshortname = #{custshortname},</if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> def1 = #{def1},</if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> def10 = #{def10},</if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> def11 = #{def11},</if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> def12 = #{def12},</if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> def13 = #{def13},</if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> def14 = #{def14},</if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> def15 = #{def15},</if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> def16 = #{def16},</if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> def17 = #{def17},</if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> def18 = #{def18},</if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> def19 = #{def19},</if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> def2 = #{def2},</if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> def20 = #{def20},</if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> def3 = #{def3},</if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> def4 = #{def4},</if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> def5 = #{def5},</if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> def6 = #{def6},</if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> def7 = #{def7},</if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> def8 = #{def8},</if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> def9 = #{def9},</if>-->
|
||||
<!-- <if test="dr != null"> dr = #{dr},</if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> drpnodeflag = #{drpnodeflag},</if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> ecotypesincevfive = #{ecotypesincevfive},</if>-->
|
||||
<!-- <if test="email != null and email != ''"> email = #{email},</if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> engname = #{engname},</if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> fax1 = #{fax1},</if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> fax2 = #{fax2},</if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> freecustflag = #{freecustflag},</if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> isconnflag = #{isconnflag},</if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> legalbody = #{legalbody},</if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> linkman1 = #{linkman1},</if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> linkman2 = #{linkman2},</if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> linkman3 = #{linkman3},</if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> memo = #{memo},</if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> mnecode = #{mnecode},</if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> mobilephone1 = #{mobilephone1},</if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> mobilephone2 = #{mobilephone2},</if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> mobilephone3 = #{mobilephone3},</if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> modifier = #{modifier},</if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> modifytime = #{modifytime},</if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> phone1 = #{phone1},</if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> phone2 = #{phone2},</if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> phone3 = #{phone3},</if>-->
|
||||
<!-- <if test="pkAreacl != null and pkAreacl != ''"> pk_areacl = #{pkAreacl},</if>-->
|
||||
<!-- <if test="pkCorp != null and pkCorp != ''"> pk_corp = #{pkCorp},</if>-->
|
||||
<!-- <if test="pkCorp1 != null and pkCorp1 != ''"> pk_corp1 = #{pkCorp1},</if>-->
|
||||
<!-- <if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> pk_cubasdoc1 = #{pkCubasdoc1},</if>-->
|
||||
<!-- <if test="pkPricegroup != null and pkPricegroup != ''"> pk_pricegroup = #{pkPricegroup},</if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> registerfund = #{registerfund},</if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> saleaddr = #{saleaddr},</if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> sealflag = #{sealflag},</if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> taxpayerid = #{taxpayerid},</if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> trade = #{trade},</if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> ts = #{ts},</if>-->
|
||||
<!-- <if test="url != null and url != ''"> url = #{url},</if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> zipcode = #{zipcode},</if>-->
|
||||
<!--</trim>-->
|
||||
<!--where pk_cubasdoc = #{pkCubasdoc}-->
|
||||
<!--</update>-->
|
||||
<!-- 逻辑删除 -->
|
||||
<!--<update id="entity_logicDelete" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set sts= 'N'-->
|
||||
<!--where pk_cubasdoc = #{pkCubasdoc}-->
|
||||
<!--</update>-->
|
||||
<!-- 多条件逻辑删除 -->
|
||||
<!--<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" >-->
|
||||
<!--update bd_cubasdoc set sts= 'N' -->
|
||||
<!-- <trim prefix="where" prefixOverrides="and"> -->
|
||||
<!-- <if test="accdefault != null and accdefault != ''"> and accdefault = #{accdefault} </if>-->
|
||||
<!-- <if test="billtemplet != null and billtemplet != ''"> and billtemplet = #{billtemplet} </if>-->
|
||||
<!-- <if test="bp1 != null and bp1 != ''"> and bp1 = #{bp1} </if>-->
|
||||
<!-- <if test="bp2 != null and bp2 != ''"> and bp2 = #{bp2} </if>-->
|
||||
<!-- <if test="bp3 != null and bp3 != ''"> and bp3 = #{bp3} </if>-->
|
||||
<!-- <if test="conaddr != null and conaddr != ''"> and conaddr = #{conaddr} </if>-->
|
||||
<!-- <if test="correspondunit != null and correspondunit != ''"> and correspondunit = #{correspondunit} </if>-->
|
||||
<!-- <if test="createtime != null and createtime != ''"> and createtime = #{createtime} </if>-->
|
||||
<!-- <if test="creator != null and creator != ''"> and creator = #{creator} </if>-->
|
||||
<!-- <if test="creditmny != null and creditmny != ''"> and creditmny = #{creditmny} </if>-->
|
||||
<!-- <if test="custcode != null and custcode != ''"> and custcode = #{custcode} </if>-->
|
||||
<!-- <if test="custname != null and custname != ''"> and custname = #{custname} </if>-->
|
||||
<!-- <if test="custprop != null"> and custprop = #{custprop} </if>-->
|
||||
<!-- <if test="custshortname != null and custshortname != ''"> and custshortname = #{custshortname} </if>-->
|
||||
<!-- <if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>-->
|
||||
<!-- <if test="def10 != null and def10 != ''"> and def10 = #{def10} </if>-->
|
||||
<!-- <if test="def11 != null and def11 != ''"> and def11 = #{def11} </if>-->
|
||||
<!-- <if test="def12 != null and def12 != ''"> and def12 = #{def12} </if>-->
|
||||
<!-- <if test="def13 != null and def13 != ''"> and def13 = #{def13} </if>-->
|
||||
<!-- <if test="def14 != null and def14 != ''"> and def14 = #{def14} </if>-->
|
||||
<!-- <if test="def15 != null and def15 != ''"> and def15 = #{def15} </if>-->
|
||||
<!-- <if test="def16 != null and def16 != ''"> and def16 = #{def16} </if>-->
|
||||
<!-- <if test="def17 != null and def17 != ''"> and def17 = #{def17} </if>-->
|
||||
<!-- <if test="def18 != null and def18 != ''"> and def18 = #{def18} </if>-->
|
||||
<!-- <if test="def19 != null and def19 != ''"> and def19 = #{def19} </if>-->
|
||||
<!-- <if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>-->
|
||||
<!-- <if test="def20 != null and def20 != ''"> and def20 = #{def20} </if>-->
|
||||
<!-- <if test="def3 != null and def3 != ''"> and def3 = #{def3} </if>-->
|
||||
<!-- <if test="def4 != null and def4 != ''"> and def4 = #{def4} </if>-->
|
||||
<!-- <if test="def5 != null and def5 != ''"> and def5 = #{def5} </if>-->
|
||||
<!-- <if test="def6 != null and def6 != ''"> and def6 = #{def6} </if>-->
|
||||
<!-- <if test="def7 != null and def7 != ''"> and def7 = #{def7} </if>-->
|
||||
<!-- <if test="def8 != null and def8 != ''"> and def8 = #{def8} </if>-->
|
||||
<!-- <if test="def9 != null and def9 != ''"> and def9 = #{def9} </if>-->
|
||||
<!-- <if test="dr != null"> and dr = #{dr} </if>-->
|
||||
<!-- <if test="drpnodeflag != null and drpnodeflag != ''"> and drpnodeflag = #{drpnodeflag} </if>-->
|
||||
<!-- <if test="ecotypesincevfive != null and ecotypesincevfive != ''"> and ecotypesincevfive = #{ecotypesincevfive} </if>-->
|
||||
<!-- <if test="email != null and email != ''"> and email = #{email} </if>-->
|
||||
<!-- <if test="engname != null and engname != ''"> and engname = #{engname} </if>-->
|
||||
<!-- <if test="fax1 != null and fax1 != ''"> and fax1 = #{fax1} </if>-->
|
||||
<!-- <if test="fax2 != null and fax2 != ''"> and fax2 = #{fax2} </if>-->
|
||||
<!-- <if test="freecustflag != null and freecustflag != ''"> and freecustflag = #{freecustflag} </if>-->
|
||||
<!-- <if test="isconnflag != null and isconnflag != ''"> and isconnflag = #{isconnflag} </if>-->
|
||||
<!-- <if test="legalbody != null and legalbody != ''"> and legalbody = #{legalbody} </if>-->
|
||||
<!-- <if test="linkman1 != null and linkman1 != ''"> and linkman1 = #{linkman1} </if>-->
|
||||
<!-- <if test="linkman2 != null and linkman2 != ''"> and linkman2 = #{linkman2} </if>-->
|
||||
<!-- <if test="linkman3 != null and linkman3 != ''"> and linkman3 = #{linkman3} </if>-->
|
||||
<!-- <if test="memo != null and memo != ''"> and memo = #{memo} </if>-->
|
||||
<!-- <if test="mnecode != null and mnecode != ''"> and mnecode = #{mnecode} </if>-->
|
||||
<!-- <if test="mobilephone1 != null and mobilephone1 != ''"> and mobilephone1 = #{mobilephone1} </if>-->
|
||||
<!-- <if test="mobilephone2 != null and mobilephone2 != ''"> and mobilephone2 = #{mobilephone2} </if>-->
|
||||
<!-- <if test="mobilephone3 != null and mobilephone3 != ''"> and mobilephone3 = #{mobilephone3} </if>-->
|
||||
<!-- <if test="modifier != null and modifier != ''"> and modifier = #{modifier} </if>-->
|
||||
<!-- <if test="modifytime != null and modifytime != ''"> and modifytime = #{modifytime} </if>-->
|
||||
<!-- <if test="phone1 != null and phone1 != ''"> and phone1 = #{phone1} </if>-->
|
||||
<!-- <if test="phone2 != null and phone2 != ''"> and phone2 = #{phone2} </if>-->
|
||||
<!-- <if test="phone3 != null and phone3 != ''"> and phone3 = #{phone3} </if>-->
|
||||
<!-- <if test="pkAreacl != null and pkAreacl != ''"> and pk_areacl = #{pkAreacl} </if>-->
|
||||
<!-- <if test="pkCorp != null and pkCorp != ''"> and pk_corp = #{pkCorp} </if>-->
|
||||
<!-- <if test="pkCorp1 != null and pkCorp1 != ''"> and pk_corp1 = #{pkCorp1} </if>-->
|
||||
<!-- <if test="pkCubasdoc != null and pkCubasdoc != ''"> and pk_cubasdoc = #{pkCubasdoc} </if>-->
|
||||
<!-- <if test="pkCubasdoc1 != null and pkCubasdoc1 != ''"> and pk_cubasdoc1 = #{pkCubasdoc1} </if>-->
|
||||
<!-- <if test="pkPricegroup != null and pkPricegroup != ''"> and pk_pricegroup = #{pkPricegroup} </if>-->
|
||||
<!-- <if test="registerfund != null and registerfund != ''"> and registerfund = #{registerfund} </if>-->
|
||||
<!-- <if test="saleaddr != null and saleaddr != ''"> and saleaddr = #{saleaddr} </if>-->
|
||||
<!-- <if test="sealflag != null and sealflag != ''"> and sealflag = #{sealflag} </if>-->
|
||||
<!-- <if test="taxpayerid != null and taxpayerid != ''"> and taxpayerid = #{taxpayerid} </if>-->
|
||||
<!-- <if test="trade != null and trade != ''"> and trade = #{trade} </if>-->
|
||||
<!-- <if test="ts != null and ts != ''"> and ts = #{ts} </if>-->
|
||||
<!-- <if test="url != null and url != ''"> and url = #{url} </if>-->
|
||||
<!-- <if test="zipcode != null and zipcode != ''"> and zipcode = #{zipcode} </if>-->
|
||||
<!-- and sts='Y'-->
|
||||
<!-- </trim>-->
|
||||
<!--</update>-->
|
||||
|
||||
<!--通过主键删除-->
|
||||
<!--<delete id="entity_delete">-->
|
||||
<!-- delete from bd_cubasdoc where pk_cubasdoc = #{pkcubasdoc}-->
|
||||
<!--</delete>-->
|
||||
<!--通过主键删除-->
|
||||
<!--<delete id="entity_delete">-->
|
||||
<!-- delete from bd_cubasdoc where pk_cubasdoc = #{pkCubasdoc}-->
|
||||
<!--</delete>-->
|
||||
|
||||
<!-- 根据客商管理档案的基础档案主键,查询客商管理档案信息-->
|
||||
<select id="queryBdCumandocByPkCumandoc" parameterType="com.hzya.frame.plugin.lets.entity.BdCubasdocEntity" resultMap="get-BdCubasdocEntity-result">
|
||||
|
@ -895,7 +895,7 @@
|
|||
bca.dr = 0
|
||||
and bc.dr = 0
|
||||
and bca.pk_cumandoc = #{pk_cumandoc}
|
||||
and bca.pk_corp = #{pkcorp}
|
||||
and bca.pk_corp = #{pkCorp}
|
||||
</select>
|
||||
<!--sm_user根据pk查username-->
|
||||
<select id="selectUserNameByPk" parameterType="String" resultType="String">
|
||||
|
|
Loading…
Reference in New Issue