admin
2024-11-27 7933a59b8b8a97a6e7ad96fee1e4eb55222cde16
billion-main/src/main/resources/mapper/da/DaMaterialCollectionMapper.xml
@@ -25,6 +25,9 @@
            <if test="locationCode != null  and locationCode != ''"> and location_code like concat('%', #{locationCode}, '%')</if>
            <if test="paramCode != null  and paramCode != ''"> and param_code like concat('%', #{paramCode}, '%')</if>
            <if test="paramName != null  and paramName != ''"> and param_name like concat('%', #{paramName}, '%')</if>
            <if test="params.beginTime != null and params.beginTime != '' and params.endTime != null and params.endTime != ''"><!-- 开始时间检索 -->
                and collect_time BETWEEN #{params.beginTime} and #{params.endTime}
            </if>
        </where>
    </select>