修改sql不生效的bug
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
left join experiment_report r on r.experiment_id = e.id
|
||||
<where>
|
||||
<choose>
|
||||
<when test="#{experiment.pageName} == 'audit'">
|
||||
<when test="experiment.pageName == 'audit'">
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user