Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王琮
platform
Commits
e636eefd
Commit
e636eefd
authored
Jun 12, 2023
by
张宇杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新创SQL
parent
de4561c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
Questionnaire.xml
src/main/resources/mapper/Questionnaire.xml
+34
-0
No files found.
src/main/resources/mapper/Questionnaire.xml
View file @
e636eefd
...
@@ -1057,6 +1057,40 @@
...
@@ -1057,6 +1057,40 @@
ORDER BY create_time DESC
ORDER BY create_time DESC
</select>
</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 众创空间场地情况、是否租赁场地(新)-->
<!-- 问卷管理-导出基础指标1 众创空间场地情况、是否租赁场地(新)-->
<select
id=
"selectSiteConditionListTemp"
resultType=
"com.tiptimes.model.exportDTO.SiteCondition"
>
<select
id=
"selectSiteConditionListTemp"
resultType=
"com.tiptimes.model.exportDTO.SiteCondition"
>
SELECT *
SELECT *
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment