fix(mobilebroken): 修复待评论工单查询逻辑

This commit is contained in:
曹鹏飞 2025-04-28 15:08:44 +08:00
parent a5c8b88bb8
commit d0d5da71b1
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@
<if test="request.endTime!=null"> <if test="request.endTime!=null">
AND t.create_time &lt; #{request.endTime} AND t.create_time &lt; #{request.endTime}
</if> </if>
<if test="request.pendingComments!=null"> <if test="request.pendingComments==true">
AND te.id IS NULL
</if>
<if test="request.pendingComments==false">
AND te.id IS NOT NULL AND te.id IS NOT NULL
</if> </if>
</sql> </sql>