fix:ai报警手机端不显示隐患验收的信息

separationdemo
dearlin 2023-11-14 14:07:41 +08:00
parent 86b4493820
commit d1600cd7ce
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@
</if>
where f.ISDELETE = '0'
<if test="pd.OUTSOURCED_ID != null and pd.OUTSOURCED_ID != ''">
and bo.OUTSOURCED_ID = #{pd.OUTSOURCED_ID}
and (bo.OUTSOURCED_ID = #{pd.OUTSOURCED_ID} or f.FOREIGN_ID = #{pd.OUTSOURCED_ID})
</if>
<if test="pd.ISRECTIFY != null and pd.ISRECTIFY !='' and pd.ISRECTIFY == 1" >
and f.STATE = 1