双重预防项目-国泰新华二开定制版
16639036659
2024-06-12 a178e841dce630b39e6fada786df51b50b4c9506
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?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.ruoyi.project.tr.specialCheck.mapper.TbBaseCheckScoreMapper">
 
    <resultMap id="BaseResultMap" type="com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckScore">
        <id property="id" column="id"/>
 
        <result property="checkItemId" column="check_item_id"/>
        <result property="isReject" column="is_reject"/>
        <result property="deductPoint" column="deduct_point"/>
        <result property="deductIllustrate" column="deduct_illustrate"/>
 
        <result property="deleted" column="deleted"/>
        <result property="createBy" column="create_by"/>
        <result property="createDate" column="create_date"/>
        <result property="updateBy" column="update_by"/>
        <result property="updateDate" column="update_date"/>
    </resultMap>
 
<!--    List<TbBaseCheckScore> selectTbBaseCheckScorePage(TbBaseCheckScoreBO tbBaseCheckScoreBO);-->
    <select id="selectTbBaseCheckScorePage" resultMap="BaseResultMap">
        select * from tb_base_check_score
        <where>
            deleted = 0
            <if test="isReject != null">
                and is_reject = #{isReject}
            </if>
            order by  create_date desc
        </where>
    </select>
 
</mapper>