问卷字段

This commit is contained in:
zhangheng 2024-04-12 15:04:48 +08:00
parent 1a2fa27b83
commit 8853a97ec0

View File

@ -266,13 +266,13 @@
from department dt left join question_info qi on dt.id = qi.department_id
<where>
<if test="departmentName != null and departmentName != ''">
dt.department_name like concat('%',#{departmentName},'%')
and dt.department_name like concat('%',#{departmentName},'%')
</if>
<if test="questionnaireStatus != null and questionnaireStatus != ''">
qi.questionnaire_status =#{questionnaireStatus}
and qi.questionnaire_status =#{questionnaireStatus}
</if>
<if test="questionType != null and questionType != ''">
qi.question_type =#{questionType}
and qi.question_type = #{questionType}
</if>
</where>
GROUP BY dt.id