5 changed files with 103 additions and 1 deletions
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper |
||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.qs.serve.modules.tzc.mapper.TzcPolicyMapper"> |
||||
|
|
||||
|
|
||||
|
<update id="updateCostExtUserByPolicyIds"> |
||||
|
update tzc_policy |
||||
|
set ext_user_id = #{obj.id},ext_user_id=#{obj.code},ext_user_name=#{obj.name} |
||||
|
where del_flag=0 and id in |
||||
|
<foreach collection="policyIds" item="selectId" index="i" open="(" close=")" separator=","> |
||||
|
#{selectId} |
||||
|
</foreach> |
||||
|
</update> |
||||
|
|
||||
|
<delete id="cancelCostExtUserByPolicyIds"> |
||||
|
update vtb_verification set ext_user_id = null,ext_user_id=null,ext_user_name=null where cost_apply_id in |
||||
|
<foreach collection="policyIds" item="selectId" index="i" open="(" close=")" separator=","> |
||||
|
#{selectId} |
||||
|
</foreach> |
||||
|
</delete> |
||||
|
|
||||
|
</mapper> |
Loading…
Reference in new issue