简易问卷优化

This commit is contained in:
xiezhijun
2021-07-22 18:03:22 +08:00
parent 51f7ce6ec7
commit a6700a05b8
4 changed files with 120 additions and 23 deletions

View File

@ -39,6 +39,10 @@
and question_type = #{questionType}
</if>
<if test="name != null and name != ''"> and (name like concat('%', #{name}, '%') or phone like concat('%',#{name},'%'))</if>
<if test="beginTime != null and endTime != null">
and date_format(create_time,'%Y-%m-%d') >= #{beginTime} and #{endTime} >= date_format(create_time,'%Y-%m-%d')
</if>
order by create_time desc
</select>
<select id="selectSysPreSaleSurveyById" parameterType="Long" resultMap="SysPreSaleSurveyResult">