kimi
2020-02-14 fa24d347d4c5a796297184f9957b0582dc52c66e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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.highdatas.mdm.mapper.MaintainDetailMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.highdatas.mdm.entity.MaintainDetail">
        <id column="id" property="id" />
        <result column="parent_id" property="parentId" />
        <result column="pre_merge_id" property="preMergeId" />
        <result column="create_time" property="createTime" />
    </resultMap>
 
 
    <update id="updateDeal" >
        update  maintain_detail set deal = 0
        where parent_id = #{maintainId}
    </update>
</mapper>