liusheng
2024-03-21 c20c99f256e2f47bd45f0b48fb6b1bcc83960f1e
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
35
36
<?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.mapper.ServiceFundflowruleMapper">
    
    <resultMap type="com.ruoyi.project.domain.ServiceFundflowrule" id="ServiceFundflowruleResult">
        <result property="id"    column="ID"    />
        <result property="applytype"    column="ApplyType"    />
        <result property="checkuserno"    column="CheckUserNo"    />
        <result property="checkusername"    column="CheckUserName"    />
        <result property="verificationdept"    column="VerificationDept"    />
        <result property="flowlevel"    column="FlowLevel"    />
        <result property="totallevel"    column="TotalLevel"    />
        <result property="fundtype"    column="FundType"    />
        <result property="mustAudite"    column="must_audite"    />
    </resultMap>
 
    <sql id="selectServiceFundflowruleVo">
        select ID, ApplyType, CheckUserNo, CheckUserName, VerificationDept, FlowLevel, TotalLevel, FundType from service_fundflowrule
    </sql>
 
    <select id="selectServiceFundflowruleList" parameterType="com.ruoyi.project.domain.ServiceFundflowrule" resultMap="ServiceFundflowruleResult">
        <include refid="selectServiceFundflowruleVo"/>
        <where>
            <if test="applytype != null  and applytype != ''"> and ApplyType = #{applytype}</if>
            <if test="checkuserno != null  and checkuserno != ''"> and CheckUserNo = #{checkuserno}</if>
            <if test="checkusername != null  and checkusername != ''"> and CheckUserName like concat('%', #{checkusername}, '%')</if>
            <if test="verificationdept != null "> and VerificationDept = #{verificationdept}</if>
            <if test="flowlevel != null "> and FlowLevel = #{flowlevel}</if>
            <if test="totallevel != null "> and TotalLevel = #{totallevel}</if>
            <if test="fundtype != null "> and FundType = #{fundtype}</if>
        </where>
    </select>
 
</mapper>