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
d0c27405
Commit
d0c27405
authored
Aug 28, 2025
by
hcing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ymt & statist): 调整
parent
cae00a5f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
AlertStatisticsMapper.xml
...s-api/src/main/resources/mapper/AlertStatisticsMapper.xml
+6
-0
EmergencyBizServiceImpl.java
...e/statistcs/biz/service/impl/EmergencyBizServiceImpl.java
+3
-0
EnterpriseBizServiceImpl.java
.../statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
+1
-1
AlertCalledQueryDto.java
...oin/amos/boot/module/ymt/api/dto/AlertCalledQueryDto.java
+8
-0
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/AlertStatisticsMapper.xml
View file @
d0c27405
...
@@ -364,6 +364,12 @@
...
@@ -364,6 +364,12 @@
left join idx_biz_jg_use_info ibjui on ibjui.RECORD = a.equipment_id
left join idx_biz_jg_use_info ibjui on ibjui.RECORD = a.equipment_id
WHERE a.is_delete = 0 and a.father_alert is null
WHERE a.is_delete = 0 and a.father_alert is null
and a.biz_org_code like concat(#{orgCode}, '%')
and a.biz_org_code like concat(#{orgCode}, '%')
<if
test=
"dto.superviseKey != null and dto.superviseKey != ''"
>
AND biz_org_code LIKE CONCAT(#{dto.superviseKey}, '%')
</if>
<if
test=
"dto.region != null and dto.region != ''"
>
AND region_code LIKE CONCAT('%', #{dto.region}, '%')
</if>
<if
test=
"dto.workOrderNumber != null and dto.workOrderNumber != ''"
>
<if
test=
"dto.workOrderNumber != null and dto.workOrderNumber != ''"
>
AND a.work_order_number like
AND a.work_order_number like
CONCAT(CONCAT('%',#{dto.workOrderNumber}),'%')
CONCAT(CONCAT('%',#{dto.workOrderNumber}),'%')
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/EmergencyBizServiceImpl.java
View file @
d0c27405
...
@@ -528,6 +528,9 @@ public class EmergencyBizServiceImpl {
...
@@ -528,6 +528,9 @@ public class EmergencyBizServiceImpl {
public
Page
<
AlertCalledQueryDto
>
getAlertCalledRecords
(
Page
<
AlertCalledQueryDto
>
page
,
AlertCalledQueryDto
alertCalledQueryDto
,
String
cityCode
)
{
public
Page
<
AlertCalledQueryDto
>
getAlertCalledRecords
(
Page
<
AlertCalledQueryDto
>
page
,
AlertCalledQueryDto
alertCalledQueryDto
,
String
cityCode
)
{
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
String
orgCode
=
getAndSetOrgCode
(
cityCode
);
if
(!
ValidationUtil
.
isEmpty
(
alertCalledQueryDto
.
getRegion
()))
{
alertCalledQueryDto
.
setRegion
(
alertCalledQueryDto
.
getRegion
().
replace
(
","
,
"#"
));
}
return
alertStatisticsMapper
.
getAlertCalledRecords
(
page
,
alertCalledQueryDto
,
orgCode
);
return
alertStatisticsMapper
.
getAlertCalledRecords
(
page
,
alertCalledQueryDto
,
orgCode
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
View file @
d0c27405
...
@@ -63,7 +63,7 @@ public class EnterpriseBizServiceImpl {
...
@@ -63,7 +63,7 @@ public class EnterpriseBizServiceImpl {
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
List
<
String
>
orgCodeList
=
new
ArrayList
<>();
List
<
String
>
orgCodeList
=
new
ArrayList
<>();
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()
!=
null
)
{
if
(
!
ValidationUtil
.
isEmpty
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
())
)
{
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
contains
(
"_"
)){
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
contains
(
"_"
)){
String
regionCode
=
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
split
(
"_"
)[
0
];
String
regionCode
=
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
split
(
"_"
)[
0
];
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
regionCode
);
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
regionCode
);
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/dto/AlertCalledQueryDto.java
View file @
d0c27405
...
@@ -90,4 +90,12 @@ public class AlertCalledQueryDto {
...
@@ -90,4 +90,12 @@ public class AlertCalledQueryDto {
@ApiModelProperty
(
value
=
"ID"
)
@ApiModelProperty
(
value
=
"ID"
)
private
Long
sequenceNbr
;
private
Long
sequenceNbr
;
@ExcelIgnore
@ApiModelProperty
(
value
=
"管辖机构"
)
private
String
superviseKey
;
@ExcelIgnore
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
region
;
}
}
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