|
|
@ -27,6 +27,7 @@ |
|
|
|
<result column="status" jdbcType="VARCHAR" property="status"/> |
|
|
|
<result column="status" jdbcType="VARCHAR" property="status"/> |
|
|
|
<result column="sync_order" jdbcType="VARCHAR" property="syncOrder"/> |
|
|
|
<result column="sync_order" jdbcType="VARCHAR" property="syncOrder"/> |
|
|
|
<result column="ent_id" jdbcType="VARCHAR" property="deptId"/> |
|
|
|
<result column="ent_id" jdbcType="VARCHAR" property="deptId"/> |
|
|
|
|
|
|
|
<result column="check_bank_flag" jdbcType="VARCHAR" property="checkBankFlag"/> |
|
|
|
<collection property="buyerEntityDetail" ofType="com.dxhy.order.baseservice.module.buyer.model.BuyerEntityDetail"> |
|
|
|
<collection property="buyerEntityDetail" ofType="com.dxhy.order.baseservice.module.buyer.model.BuyerEntityDetail"> |
|
|
|
<id column="consumer_id" property="consumerId"/> |
|
|
|
<id column="consumer_id" property="consumerId"/> |
|
|
|
<result column="buyer_manage_id" jdbcType="VARCHAR" property="buyerManageId"/> |
|
|
|
<result column="buyer_manage_id" jdbcType="VARCHAR" property="buyerManageId"/> |
|
|
@ -149,7 +150,8 @@ |
|
|
|
bmid.phone as bmid_phone, |
|
|
|
bmid.phone as bmid_phone, |
|
|
|
bmid.default_mark, |
|
|
|
bmid.default_mark, |
|
|
|
bmid.create_user, |
|
|
|
bmid.create_user, |
|
|
|
bmid.update_user |
|
|
|
bmid.update_user, |
|
|
|
|
|
|
|
bmi.check_bank_flag |
|
|
|
|
|
|
|
|
|
|
|
FROM |
|
|
|
FROM |
|
|
|
buyer_manage_info bmi left join buyer_manage_info_detail bmid on bmi.id = bmid.buyer_manage_id |
|
|
|
buyer_manage_info bmi left join buyer_manage_info_detail bmid on bmi.id = bmid.buyer_manage_id |
|
|
@ -181,7 +183,8 @@ |
|
|
|
rownum as rowno, |
|
|
|
rownum as rowno, |
|
|
|
status, |
|
|
|
status, |
|
|
|
sync_order, |
|
|
|
sync_order, |
|
|
|
ent_id |
|
|
|
ent_id, |
|
|
|
|
|
|
|
check_bank_flag |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
buyer_manage_info |
|
|
|
buyer_manage_info |
|
|
|
<where> |
|
|
|
<where> |
|
|
@ -312,6 +315,9 @@ |
|
|
|
<if test="buyer.deptId != null "> |
|
|
|
<if test="buyer.deptId != null "> |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="buyer.checkBankFlag != null "> |
|
|
|
|
|
|
|
check_bank_flag = #{buyer.checkBankFlag,jdbcType=VARCHAR}, |
|
|
|
|
|
|
|
</if> |
|
|
|
</set> |
|
|
|
</set> |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
id = #{buyer.id,jdbcType=VARCHAR} |
|
|
|
id = #{buyer.id,jdbcType=VARCHAR} |
|
|
@ -406,6 +412,9 @@ |
|
|
|
<if test="buyer.deptId != null and buyer.deptId != ''"> |
|
|
|
<if test="buyer.deptId != null and buyer.deptId != ''"> |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="buyer.checkBankFlag != null "> |
|
|
|
|
|
|
|
check_bank_flag = #{buyer.checkBankFlag,jdbcType=VARCHAR}, |
|
|
|
|
|
|
|
</if> |
|
|
|
</set> |
|
|
|
</set> |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
id in |
|
|
|
id in |
|
|
@ -535,7 +544,9 @@ |
|
|
|
<if test="deptId != null"> |
|
|
|
<if test="deptId != null"> |
|
|
|
ent_id, |
|
|
|
ent_id, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="checkBankFlag != null "> |
|
|
|
|
|
|
|
check_bank_flag, |
|
|
|
|
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
</trim> |
|
|
|
|
|
|
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
@ -614,6 +625,10 @@ |
|
|
|
<if test="deptId != null"> |
|
|
|
<if test="deptId != null"> |
|
|
|
#{deptId,jdbcType=VARCHAR}, |
|
|
|
#{deptId,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="checkBankFlag != null "> |
|
|
|
|
|
|
|
#{checkBankFlag,jdbcType=VARCHAR}, |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
</trim> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
|
@ -834,7 +849,8 @@ |
|
|
|
mdm_multicode_json, |
|
|
|
mdm_multicode_json, |
|
|
|
status, |
|
|
|
status, |
|
|
|
sync_order, |
|
|
|
sync_order, |
|
|
|
ent_id |
|
|
|
ent_id, |
|
|
|
|
|
|
|
check_bank_flag |
|
|
|
) |
|
|
|
) |
|
|
|
values |
|
|
|
values |
|
|
|
<foreach collection="list" item="item" index="index" |
|
|
|
<foreach collection="list" item="item" index="index" |
|
|
@ -863,7 +879,8 @@ |
|
|
|
#{item.mdmMulticodeJson,jdbcType=VARCHAR}, |
|
|
|
#{item.mdmMulticodeJson,jdbcType=VARCHAR}, |
|
|
|
#{item.status,jdbcType=VARCHAR}, |
|
|
|
#{item.status,jdbcType=VARCHAR}, |
|
|
|
#{item.syncOrder,jdbcType=VARCHAR}, |
|
|
|
#{item.syncOrder,jdbcType=VARCHAR}, |
|
|
|
#{item.entId,jdbcType=VARCHAR} |
|
|
|
#{item.entId,jdbcType=VARCHAR}, |
|
|
|
|
|
|
|
#{item.checkBankFlag,jdbcType=VARCHAR} |
|
|
|
) |
|
|
|
) |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
|
</insert> |
|
|
|