You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
916 B
25 lines
916 B
2 years ago
|
<?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>
|