解决考核任务我的待办,我的已办根据任务名称查询报错

master
wany 2024-10-15 16:07:22 +08:00
parent 6808b86bbd
commit 8e486a8452
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ public interface AssessTaskMapper extends BaseMapper<AssessTask> {
and status in (1,9)
)
<if test="obj.taskName != null and obj.taskName != ''">
and t.task_name like concat('%', #{obj.taskName}, '%')
and t.task_name like concat('%', #{obj.taskName}::text, '%')
</if>
<if test="obj.dateRangeSo != null and obj.dateRangeSo.start != null">
and t.start_date <![CDATA[>=]]> #{obj.dateRangeSo.start}
@ -60,7 +60,7 @@ public interface AssessTaskMapper extends BaseMapper<AssessTask> {
#{id}
</foreach>
<if test="obj.taskName != null and obj.taskName != ''">
and t.task_name like concat('%', #{obj.taskName}, '%')
and t.task_name like concat('%', #{obj.taskName}::text, '%')
</if>
<if test="obj.dateRangeSo != null and obj.dateRangeSo.start != null">
and t.start_date <![CDATA[>=]]> #{obj.dateRangeSo.start}

View File

@ -60,7 +60,7 @@ public interface InspectTaskDetailMapper extends BaseMapper<InspectTaskDetail> {
left join public.inspect_point t2 on t1.point_id = t2.id
left join public.inspect_item t3 on t1.item_id = t3.id
left join public.inspect_task t4 on t1.task_id =t4.id
where t1.is_handle = 0
where t1.is_handle = 0 and t4.status = 2
</script>
""")
List<InspectProblemVo> handleList();