解决sql报错的问题

This commit is contained in:
dengchun
2025-05-26 00:11:45 +08:00
parent 385e9b962d
commit 777d7cba5c

View File

@@ -12,7 +12,7 @@
<where>
<choose>
<when test="experiment.pageName == 'audit'">
AND (r.auditor=#{loginUser.id} and r.status='PROOFREAD_PASS') or (r.proofreader=#{loginUser.id} and r.status='INIT')
AND ((r.auditor=#{loginUser.id} and r.status='PROOFREAD_PASS') or (r.proofreader=#{loginUser.id} and r.status='INIT')
or (r.confirmer=#{loginUser.id} and r.status='AUDIT_PASS' ))
</when>
<otherwise>