fix(接口测试): 修复接口测试报告高级搜索错误问题

--bug=1048982 --user=王旭 【筛选】-接口测试报告列表,通过创建时间作为条件筛选,报错 https://www.tapd.cn/55049933/s/1611703
This commit is contained in:
WangXu10 2024-11-19 10:39:05 +08:00 committed by Craftsman
parent 75039a0439
commit f55e108ad2
2 changed files with 14 additions and 0 deletions

View File

@ -330,6 +330,13 @@
<property name="column" value="ar.trigger_mode"/> <property name="column" value="ar.trigger_mode"/>
</include> </include>
</if> </if>
<!-- 创建时间 -->
<if test="condition.name == 'startTime'">
<include refid="io.metersphere.system.mapper.BaseMapper.condition">
<property name="condition" value="condition"/>
<property name="column" value="ar.start_time"/>
</include>
</if>
<include refid="io.metersphere.system.mapper.BaseMapper.queryType"> <include refid="io.metersphere.system.mapper.BaseMapper.queryType">
<property name="searchMode" value="${combineSearch}.searchMode"/> <property name="searchMode" value="${combineSearch}.searchMode"/>
</include> </include>

View File

@ -378,6 +378,13 @@
<property name="column" value="asr.trigger_mode"/> <property name="column" value="asr.trigger_mode"/>
</include> </include>
</if> </if>
<!-- 创建时间 -->
<if test="condition.name == 'startTime'">
<include refid="io.metersphere.system.mapper.BaseMapper.condition">
<property name="condition" value="condition"/>
<property name="column" value="asr.start_time"/>
</include>
</if>
<include refid="io.metersphere.system.mapper.BaseMapper.queryType"> <include refid="io.metersphere.system.mapper.BaseMapper.queryType">
<property name="searchMode" value="${combineSearch}.searchMode"/> <property name="searchMode" value="${combineSearch}.searchMode"/>
</include> </include>