huangjiayang
2025-04-21 2417c13a977cd6e2bdfcf5934e16405e0f0d9474
【UPDATE】修改事件管理模糊查询BUG
已修改1个文件
2 ■■■ 文件已修改
aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml
@@ -29,7 +29,7 @@
    <select id="selectApsWorkEventList" parameterType="ApsWorkEvent" resultMap="ApsWorkEventResult">
        <include refid="selectApsWorkEventVo"/>
        <where>  
            <if test="description != null  and description != ''"> and description like concat('%', #{description}, '%')</if>
            <if test="description != null  and description != ''"> and description like '%' || #{description} || '%'</if>
            <if test="duration != null  and duration != ''"> and duration = #{duration}</if>
            <if test="startDate != null "> and start_date = #{startDate}</if>
            <if test="endDate != null "> and end_date = #{endDate}</if>