陈昶聿
2 天以前 14f2352da6fc317cd0d5fad85f2d146fc1b6bc64
smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml
@@ -40,12 +40,11 @@
    <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">