liusheng
2023-07-28 21bc49712f298f8c2619341279e7906dfb278944
ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml
@@ -19,18 +19,37 @@
        <result property="fundtype"    column="FundType"    />
        <result property="applytype"    column="ApplyType"    />
        <result property="flowlevel"    column="FlowLevel"    />
        <result property="checkTime" column="check_time"/>
    </resultMap>
    <sql id="selectServiceFundflowVo">
        select ID, FundID, del_flag, create_by, create_time, update_by, update_time, CheckUserNo, CheckUserName, FlowContent, FlowConclusion, FundType, ApplyType,FlowLevel from service_fundflow
        select ID,
               FundID,
               del_flag,
               create_by,
               create_time,
               update_by,
               update_time,
               CheckUserNo,
               CheckUserName,
               FlowContent,
               FlowConclusion,
               FundType,
               ApplyType,
               FlowLevel,
               checkTime
        from service_fundflow
    </sql>
    <select id="selectServiceFundflowList" parameterType="com.ruoyi.project.domain.ServiceFundflow" resultMap="ServiceFundflowResult">
    <select id="selectServiceFundflowList" parameterType="com.ruoyi.project.domain.ServiceFundflow"
            resultMap="ServiceFundflowResult">
        <include refid="selectServiceFundflowVo"/>
        <where>
            <if test="fundid != null "> and FundID = #{fundid}</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="checkusername != null  and checkusername != ''">and CheckUserName like concat('%',
                #{checkusername}, '%')
            </if>
            <if test="flowcontent != null  and flowcontent != ''"> and FlowContent = #{flowcontent}</if>
            <if test="flowconclusion != null "> and FlowConclusion = #{flowconclusion}</if>
            <if test="fundtype != null "> and FundType = #{fundtype}</if>