<?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>
|