Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cfld-postcard-service
Project
Project
Details
Activity
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
cfld-backend
cfld-postcard-service
Commits
45b99080
Commit
45b99080
authored
Dec 16, 2023
by
zhouxudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
e2105d3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
42 deletions
+0
-42
DevelopmentInfoMapper.xml
...in/resources/mapper/development/DevelopmentInfoMapper.xml
+0
-42
No files found.
src/main/resources/mapper/development/DevelopmentInfoMapper.xml
View file @
45b99080
...
...
@@ -175,49 +175,7 @@
</select>
<select
id=
"pagePersonList"
parameterType=
"com.postcard.service.moudle.development.dto.DevelopmentPagePersonDto"
resultType=
"com.postcard.service.moudle.development.vo.DevelopmentPagePersonVo"
>
SELECT id,name,is_system,status,create_time,update_time
FROM development_info
<where>
user_id = #{param.userId}
<if
test=
"param.name != null and param.name != ''"
>
AND name like concat('%', #{param.name}, '%')
</if>
<if
test=
"param.isSystem != null "
>
AND is_system=#{param.isSystem}
</if>
<if
test=
"param.startCreateTime != null and param.startCreateTime != ''"
>
AND DATE_FORMAT(create_time,'%Y-%m-%d')
<![CDATA[ >= ]]>
#{param.startCreateTime}
</if>
<if
test=
"param.endCreateTime != null and param.endCreateTime != ''"
>
AND DATE_FORMAT(create_time,'%Y-%m-%d')
<![CDATA[ <= ]]>
#{param.endCreateTime}
</if>
<!-- <if test="param.status != null ">-->
<!-- AND status = #{param.status}-->
<!-- </if>-->
<if
test=
"param.statusList != null and param.statusList.size() > 0 "
>
AND `status` IN
<foreach
item=
"status"
collection=
"param.statusList"
open=
"("
separator=
","
close=
")"
>
#{status}
</foreach>
</if>
and status in (2,3,4,9)
</where>
order by create_time desc
</select>
<select
id=
"countById"
parameterType=
"Integer"
resultType=
"com.postcard.service.moudle.development.vo.DevelopmentCountVo"
>
SELECT SUM(park_count) park_count,SUM(carrier_count) carrier_count,SUM(land_count) land_count FROM (
SELECT count(1) park_count, 0 carrier_count, 0 land_count FROM park_info WHERE zone_id = #{id}
UNION ALL
SELECT 0 park_count, count(1) carrier_count, 0 land_count FROM park_info pi,carrier_info ci WHERE ci.park_id = pi.id AND pi.zone_id = #{id}
UNION ALL
SELECT 0 park_count, 0 carrier_count, count(1) land_count FROM development_industrial_land_info WHERE development_id = #{id}
) t
</select>
<select
id=
"carrierNum"
resultType=
"java.lang.Integer"
>
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