未符合项

This commit is contained in:
zhn
2022-06-17 14:52:21 +08:00
parent f9dfc15e1f
commit aeed674cb1
@@ -43,10 +43,10 @@
plb.id =#{ncrTrackVO.projectLibraryId}
and
</if>
<if test="ncrTrackVO.userId != null and ncrTrackVO.userId != ''">
<!--<if test="ncrTrackVO.userId != null and ncrTrackVO.userId != ''">
ptid.user_id =#{ncrTrackVO.userId}
and
</if>
</if>-->
<if test="ncrTrackVO.serialNumber != null and ncrTrackVO.serialNumber != ''">
pli.serial_number like concat(concat('%',#{ncrTrackVO.serialNumber}),'%')
and
@@ -80,6 +80,13 @@
or prehomo_flow_task_status =#{ncrTrackVO.inconformity} or prehomo_flow_task_status =#{ncrTrackVO.track}
or verify_flow_task_status =#{ncrTrackVO.inconformity} or verify_flow_task_status =#{ncrTrackVO.track}
)
<if test="ncrTrackVO.userId != null and ncrTrackVO.userId != ''">
and (pli.regulation_owner_id =#{ncrTrackVO.userId}
or pli.homologation_engineer_id =#{ncrTrackVO.userId}
or pli.engineering_interface_person =#{ncrTrackVO.userId}
or ptid.user_id =#{ncrTrackVO.userId}
)
</if>
order by pli.create_time desc
</select>