dy
2025-04-17 62119cda566bdbba6e831067efcdb871d844fb43
工厂管理后台查询调整
已修改1个文件
4 ■■■■ 文件已修改
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlantMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlantMapper.xml
@@ -22,8 +22,8 @@
    <select id="selectApsPlantList" parameterType="ApsPlant" resultMap="ApsPlantResult">
        <include refid="selectApsPlantVo"/>
        <where>  
            <if test="plantName != null  and plantName != ''"> and plant_name like concat('%', #{plantName}, '%')</if>
            <if test="plantCode != null  and plantCode != ''"> and plant_code like concat('%', #{plantCode}, '%')</if>
            <if test="plantName != null  and plantName != ''"> and plant_name like '%' || #{plantName} || '%'</if>
            <if test="plantCode != null  and plantCode != ''"> and plant_code like '%' || #{plantCode} || '%'</if>
            <if test="status != null  and status != ''"> and status = #{status}</if>
        </where>
    </select>