xuhy
2025-08-25 9bffc39e222d057c6ae7b268f2791628e4a42637
ruoyi-system/src/main/resources/mapper/system/TErpGoodsTypeMapper.xml
@@ -17,5 +17,17 @@
    <sql id="Base_Column_List">
        id, type_name, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TErpGoodsType">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_erp_goods_type
        <where>
            <if test="query.typeName != null and query.typeName != ''">
                AND type_name LIKE concat('%',#{query.typeName},'%')
            </if>
            AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>