Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
36a3484c
Commit
36a3484c
authored
Nov 20, 2023
by
caotao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://36.40.66.175:5000/moa/amos-boot-biz
into developer
parents
c00e4807
46426f53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
DayGenerateMapper.xml
.../src/main/resources/mapper/tdengine/DayGenerateMapper.xml
+1
-1
TDengineServerConfig.java
...mos/boot/module/hygf/biz/config/TDengineServerConfig.java
+1
-1
JpStationServiceImpl.java
...ot/module/hygf/biz/service/impl/JpStationServiceImpl.java
+3
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/DayGenerateMapper.xml
View file @
36a3484c
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<foreach
collection=
"dto"
item=
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"dto"
item=
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
</foreach>
</foreach>
and year = #{date}
GROUP BY `year_time`
GROUP BY `year_time`
</select>
</select>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/config/TDengineServerConfig.java
View file @
36a3484c
...
@@ -74,7 +74,7 @@ public class TDengineServerConfig {
...
@@ -74,7 +74,7 @@ public class TDengineServerConfig {
@Bean
@Bean
public
PaginationInterceptor
paginationInterceptor
()
{
public
PaginationInterceptor
paginationInterceptor
()
{
PaginationInterceptor
paginationInterceptor
=
new
PaginationInterceptor
();
PaginationInterceptor
paginationInterceptor
=
new
PaginationInterceptor
();
paginationInterceptor
.
setDialectType
(
"
TAOS-RS
"
);
paginationInterceptor
.
setDialectType
(
"
mysql
"
);
return
paginationInterceptor
;
return
paginationInterceptor
;
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpStationServiceImpl.java
View file @
36a3484c
...
@@ -207,14 +207,14 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -207,14 +207,14 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
if
(
type
.
equals
(
"month"
)){
if
(
type
.
equals
(
"month"
)){
map
=
getDayListOfMonth
(
reviewDto
.
getTimeDateMonth
());
map
=
getDayListOfMonth
(
reviewDto
.
getTimeDateMonth
());
data
=
dayGenerateMapper
.
getDayGeneratqx
(
date
,
statioId
);
data
=
dayGenerateMapper
.
getDayGeneratqx
(
reviewDto
.
getTimeDateMonth
()
,
statioId
);
}
else
if
(
type
.
equals
(
"year"
)){
}
else
if
(
type
.
equals
(
"year"
)){
map
=
getyearListOfMonth
(
reviewDto
.
getTimeDateYear
());
map
=
getyearListOfMonth
(
reviewDto
.
getTimeDateYear
());
data
=
dayGenerateMapper
.
getMonthGenerateqx
(
date
,
statioId
);
data
=
dayGenerateMapper
.
getMonthGenerateqx
(
reviewDto
.
getTimeDateYear
()
,
statioId
);
}
else
{
}
else
{
map
=
getyearList
();
map
=
getyearList
();
data
=
dayGenerateMapper
.
getYearGenerateqx
(
date
,
statioId
);
data
=
dayGenerateMapper
.
getYearGenerateqx
(
null
,
statioId
);
}
}
listx
=
map
.
get
(
"x"
);
listx
=
map
.
get
(
"x"
);
...
...
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