Commit c3af2df5 authored by limei's avatar limei

质量问题分级管理 列表查询 sql修改

parent 134b7b39
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
LEFT JOIN cb_org_usr AS cou ON ur.inspection_unit_id = cou.sequence_nbr LEFT JOIN cb_org_usr AS cou ON ur.inspection_unit_id = cou.sequence_nbr
<where> <where>
<if test="qualityProblemDto.projectName != '' and qualityProblemDto.projectName != null"> <if test="qualityProblemDto.projectName != '' and qualityProblemDto.projectName != null">
and up.`name` like concat("%",qualityProblemDto.projectName,"%") and up.`name` like concat("%",#{qualityProblemDto.projectName},"%")
</if> </if>
<if test="qualityProblemDto.code != '' and qualityProblemDto.code != null"> <if test="qualityProblemDto.code != '' and qualityProblemDto.code != null">
and qi.`code` like concat("%",qualityProblemDto.code,"%") and qi.`code` like concat("%",#{qualityProblemDto.code},"%")
</if> </if>
<if test="projectIds != null"> <if test="projectIds != null">
and qi.project_id in and qi.project_id in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment