| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.smartor.mapper.SchemeAutofinshruleMapper"> |
| | | <mapper namespace="com.smartor.mapper.SchemeAutofinshruleMapper"> |
| | | |
| | | <resultMap type="SchemeAutofinshrule" id="SchemeAutofinshruleResult"> |
| | | <result property="id" column="id"/> |
| | |
| | | <select id="selectSchemeAutofinshruleList" parameterType="SchemeAutofinshrule" |
| | | resultMap="SchemeAutofinshruleResult"> |
| | | <include refid="selectSchemeAutofinshruleVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="schemeid != null ">and schemeid = #{schemeid}</if> |
| | | <if test="ruletype != null ">and ruletype = #{ruletype}</if> |
| | | <if test="rulevalue != null and rulevalue != ''">and rulevalue = #{rulevalue}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSchemeAutofinshruleById" parameterType="Long" resultMap="SchemeAutofinshruleResult"> |