Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
c70870ba
Commit
c70870ba
authored
Dec 05, 2024
by
吴江
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'developer_bw'
Developer See merge request
!23
parents
d02986b3
f16b3dfd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
JpCollectorDto.java
...yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
+2
-0
JpInverterDto.java
.../yeejoin/amos/boot/module/hygf/api/dto/JpInverterDto.java
+2
-0
JpCollectorMapper.xml
...api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
+6
-0
JpInverterMapper.xml
...-api/src/main/resources/mapper/mysql/JpInverterMapper.xml
+9
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
View file @
c70870ba
...
...
@@ -94,5 +94,7 @@ public class JpCollectorDto extends BaseDto {
@ApiModelProperty
(
value
=
"流量到期时间"
,
example
=
"2036-12-31 23:59:59"
)
private
String
contractTimeStr
;
@ApiModelProperty
(
value
=
"项目公司"
)
private
String
regionalCompaniesCode
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpInverterDto.java
View file @
c70870ba
...
...
@@ -125,5 +125,7 @@ public class JpInverterDto extends BaseDto {
@ApiModelProperty
(
value
=
"投运时间"
)
private
String
fisTimeStr
;
@ApiModelProperty
(
value
=
"项目公司"
)
private
String
regionalCompaniesCode
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
View file @
c70870ba
...
...
@@ -70,6 +70,9 @@
<if
test=
"dto.stationName != null and dto.stationName !=''"
>
AND hjc.station_name like concat('%',#{dto.stationName},'%')
</if>
<if
test=
"dto.regionalCompaniesCode!=null and dto.regionalCompaniesCode != ''"
>
and sta.regional_companies_code = #{dto.regionalCompaniesCode}
</if>
</where>
ORDER BY CASE
WHEN hjc.state = '报警' THEN 1
...
...
@@ -97,6 +100,9 @@
<if
test=
"dto.state != null and dto.state !=''"
>
hjc.state = #{dto.state}
</if>
<if
test=
"dto.stationName != null and dto.stationName !=''"
>
AND hjc.station_name like concat('%',#{dto.stationName},'%')
</if>
</where>
</select>
<select
id=
"selectInverterState"
resultType=
"java.util.Map"
>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpInverterMapper.xml
View file @
c70870ba
...
...
@@ -92,6 +92,9 @@
<if
test=
"dto.stationName != null and dto.stationName !=''"
>
AND hjc.station_name like concat('%',#{dto.stationName},'%')
</if>
<if
test=
"dto.regionalCompaniesCode!=null and dto.regionalCompaniesCode != ''"
>
and sta.regional_companies_code = #{dto.regionalCompaniesCode}
</if>
</where>
ORDER BY CASE
WHEN hjc.state = '报警' THEN 1
...
...
@@ -122,6 +125,12 @@
<if
test=
"dto.maxValue != null and dto.maxValue !=''"
>
AND hjc.capacity
<![CDATA[<=]]>
#{dto.maxValue}
</if>
<if
test=
"dto.stationName != null and dto.stationName !=''"
>
AND hjc.station_name like concat('%',#{dto.stationName},'%')
</if>
<if
test=
"dto.regionalCompaniesCode!=null and dto.regionalCompaniesCode != ''"
>
and sta.regional_companies_code = #{dto.regionalCompaniesCode}
</if>
</where>
</select>
<select
id=
"selectInverterState"
resultType=
"java.util.Map"
>
...
...
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