领用记录查询bug修复

This commit is contained in:
hongchao 2025-03-19 09:59:38 +08:00
parent de2799ac40
commit 0369107326
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@
left join ma_type mt on lad.type_id = mt.type_id and mt.del_flag = '0' left join ma_type mt on lad.type_id = mt.type_id and mt.del_flag = '0'
left join ma_type mt1 on mt.parent_id = mt1.type_id and mt1.del_flag = '0' left join ma_type mt1 on mt.parent_id = mt1.type_id and mt1.del_flag = '0'
left join sys_workflow_record swr on swr.task_id = lai.task_id left join sys_workflow_record swr on swr.task_id = lai.task_id
where tt.task_type = '19' where tt.task_type = '19' and sda.dict_type = 'lease_apply_task_status'
<if test="code != null and code != ''">and lai.code = #{code}</if> <if test="code != null and code != ''">and lai.code = #{code}</if>
<if test="taskId != null ">and lai.task_id = #{taskId}</if> <if test="taskId != null ">and lai.task_id = #{taskId}</if>
<if test="leasePerson != null and leasePerson != ''">and lai.lease_person = #{leasePerson}</if> <if test="leasePerson != null and leasePerson != ''">and lai.lease_person = #{leasePerson}</if>