liusheng
2 天以前 da026a34bcc97b2eb49607a3b02d94d8f683f997
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">