重点工程-改善处罚管理显示逻辑
parent
de9acea882
commit
824967cc6f
|
@ -1631,10 +1631,10 @@ FROM
|
|||
WHERE
|
||||
h.ISDELETE = '0'
|
||||
<if test="pd.HANDLED==1">
|
||||
and (P.HANDLED = '0' OR P.HANDLED IS NULL OR h.ISPUNISH != '2')
|
||||
and (h.ISPUNISH is null OR P.HANDLED = '0' )
|
||||
</if>
|
||||
<if test="pd.HANDLED==2">
|
||||
and P.HANDLED = '1'
|
||||
and (h.ISPUNISH = '2' OR P.HANDLED = '1')
|
||||
</if>
|
||||
AND ( c.OUTSOURCED_ID = #{pd.OUTSOURCED_ID} OR h.FOREIGN_ID = #{pd.OUTSOURCED_ID} )
|
||||
<if test="pd.CREATOR != null and pd.CREATOR != ''">
|
||||
|
|
Loading…
Reference in New Issue