zhanghl
2025-04-17 ff31cd67a14d356213cda3ddae9ef205db927eae
Merge remote-tracking branch 'origin/dev' into dev
已修改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>