fix(工作台): 解决我的待办接口用例待更新列表查询报错问题

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-10-26 20:15:51 +08:00 committed by xiaomeinvG
parent 9741084941
commit e868f143be
2 changed files with 8 additions and 8 deletions

View File

@ -527,23 +527,23 @@
<if test="request.filters == null || request.filters.size() == 0 ">
and (t1.status is null or t1.status != 'Trash')
</if>
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.statusList.size() > 0">
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.statusList !=null and request.statusList.size() > 0">
and ( t1.to_be_updated = #{request.toBeUpdated} or t1.status
in <foreach collection="request.statusList" item="value" separator="," open="(" close=")">
#{value}
</foreach>)
</if>
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.statusList.size() == 0">
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and (request.statusList ==null or request.statusList.size() == 0)">
and t1.to_be_updated = #{request.toBeUpdated}
</if>
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.toBeUpdateTime !=null and request.statusList.size() > 0">
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.toBeUpdateTime !=null and request.statusList !=null and request.statusList.size() > 0">
and (t1.to_be_update_time >= #{request.toBeUpdateTime} or ( t1.status in
<foreach collection="request.statusList" item="value" separator="," open="(" close=")">
#{value}
</foreach>
and t1.update_time>= #{request.updateTime} ))
</if>
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.toBeUpdateTime !=null and request.statusList.size() == 0">
<if test="request.toBeUpdated !=null and request.toBeUpdated == true and request.toBeUpdateTime !=null and (request.statusList ==null or request.statusList.size() == 0)">
and t1.to_be_update_time >= #{request.toBeUpdateTime}
</if>
<include refid="queryVersionCondition">
@ -1179,7 +1179,7 @@
AND (create_time &gt;= #{startTime})
</if>
<if test="endTime > 0">
AND ( create_time &lt;= #{endTime})
AND ( create_time &lt;= #{endTime})
</if>
<if test="apiFilterSearchList != null and apiFilterSearchList.size() > 0">
AND

View File

@ -36,7 +36,7 @@ export default {
placeholder: {
type: String,
},
errorInfor: String,
errorInfo: String,
addTagOnKeys: {
type: Array,
default: () => [13, 188, 9]
@ -119,8 +119,8 @@ export default {
this.innerTags.push(tag)
return true
} else {
if (tag !== "" && this.errorInfor) {
this.$error(this.errorInfor);
if (tag !== "" && this.errorInfo) {
this.$error(this.errorInfo);
}
}
return false