Commit e636eefd authored by 张宇杰's avatar 张宇杰

新创SQL

parent de4561c8
......@@ -1057,6 +1057,40 @@
ORDER BY create_time DESC
</select>
<select id="AboutViewListCopy" resultType="com.tiptimes.model.Record">
SELECT
process_status as 'processStatus',
reason as 'reason',
create_by as 'createBy',
phone_number as 'phoneNumber',
qn_year as 'qnYear',
write_people as 'writePeople',
id as 'id',
create_time as 'createTime',
questionnaire_uuid as 'questionnaireUuid',
questionnaire_name as 'questionnaireName',
create_id as 'createId'
from t_record
<where>
<if test="createBy != null and createBy != ''">
AND create_by like concat(concat('%',#{createBy},'%'))
</if>
<if test="processStatus != null"><!-- 问卷状态 -->
AND process_status = #{processStatus}
</if>
<if test="createTime != null">
AND create_time = #{createTime}
</if>
<if test="qnYear == null or qnYear == ''"><!-- 年份 -->
AND qn_year = YEAR(NOW())
</if>
<if test="qnYear != null and qnYear != ''"><!-- 年份 -->
AND qn_year = #{qnYear}
</if>
</where>
ORDER BY create_time DESC
</select>
<!-- 问卷管理-导出基础指标1 众创空间场地情况、是否租赁场地(新)-->
<select id="selectSiteConditionListTemp" resultType="com.tiptimes.model.exportDTO.SiteCondition">
SELECT *
......
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