陈昶聿
5 天以前 987e38327f849e1b13d8541246dde08d877db0e8
smartor/src/main/resources/mapper/smartor/SchemeCategoryMapper.xml
@@ -25,11 +25,13 @@
    <select id="selectSchemeCategoryList" parameterType="SchemeCategory" resultMap="SchemeCategoryResult">
        <include refid="selectSchemeCategoryVo"/>
        <where>
        WHERE 1=1
            <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="iscurrency != null "> and iscurrency = #{iscurrency}</if>
        </where>
    </select>
    <select id="selectSchemeCategoryById" parameterType="Long" resultMap="SchemeCategoryResult">