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
0602640e
Commit
0602640e
authored
Sep 29, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
b3565dfd
c543af54
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
29 deletions
+57
-29
FireExpertsDto.java
...ejoin/amos/boot/module/common/api/dto/FireExpertsDto.java
+26
-23
AlertCalledMapper.java
...in/amos/boot/module/jcs/api/mapper/AlertCalledMapper.java
+5
-0
AlertCalledMapper.xml
...e-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
+22
-0
AlertCalledServiceImpl.java
...t/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
+4
-6
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/FireExpertsDto.java
View file @
0602640e
...
@@ -57,51 +57,54 @@ public class FireExpertsDto extends BaseDto {
...
@@ -57,51 +57,54 @@ public class FireExpertsDto extends BaseDto {
@ApiModelProperty
(
value
=
"民族"
)
@ApiModelProperty
(
value
=
"民族"
)
private
String
nation
;
private
String
nation
;
// @ExplicitConstraint(indexNum = 7, sourceClass = RoleNameExplicitConstraint.class, method = "getAdministrativeDivisions") //固定下拉内容
@ExcelProperty
(
value
=
"籍贯"
,
index
=
7
)
@ApiModelProperty
(
value
=
"籍贯"
)
private
String
nativePlace
;
@ExplicitConstraint
(
indexNum
=
8
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getPoliticalOutlook"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
7
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getPoliticalOutlook"
)
//固定下拉内容
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
8
)
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
7
)
@ApiModelProperty
(
value
=
"政治面貌"
)
@ApiModelProperty
(
value
=
"政治面貌"
)
private
String
politicalOutlook
;
private
String
politicalOutlook
;
// @ExplicitConstraint(indexNum = 9, sourceClass = RoleNameExplicitConstraint.class, method = "getAdministrativeDivisions") //固定下拉内容
@ExplicitConstraint
(
indexNum
=
8
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
//固定下拉内容
@ExcelProperty
(
value
=
"籍贯"
,
index
=
8
)
@ApiModelProperty
(
value
=
"籍贯"
)
private
String
nativePlace
;
@ExplicitConstraint
(
indexNum
=
9
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
// @ExplicitConstraint(indexNum = 9, sourceClass = RoleNameExplicitConstraint.class, method = "getAdministrativeDivisions") //固定下拉内容
@ApiModelProperty
(
value
=
"现居住地"
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
9
)
private
String
residence
;
@ExcelProperty
(
value
=
"籍贯/户口所在地详细地址"
,
index
=
17
)
@ExcelProperty
(
value
=
"籍贯/户口所在地详细地址"
,
index
=
9
)
@ApiModelProperty
(
value
=
"籍贯/户口所在地详细地址"
)
@ApiModelProperty
(
value
=
"籍贯/户口所在地详细地址"
)
private
String
nativePlaceVal
;
private
String
nativePlaceVal
;
@ExplicitConstraint
(
indexNum
=
10
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
@ExplicitConstraint
(
indexNum
=
10
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
@ApiModelProperty
(
value
=
"现居住地"
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
10
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
10
)
private
String
residence
;
@ExplicitConstraint
(
indexNum
=
11
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
11
)
@ApiModelProperty
(
value
=
"居住地详情"
)
@ApiModelProperty
(
value
=
"居住地详情"
)
private
String
residenceDetails
;
private
String
residenceDetails
;
@ExcelProperty
(
value
=
"现居住地详细地址"
,
index
=
1
8
)
@ExcelProperty
(
value
=
"现居住地详细地址"
,
index
=
1
2
)
@ApiModelProperty
(
value
=
"现居住地详细地址"
)
@ApiModelProperty
(
value
=
"现居住地详细地址"
)
private
String
residenceDetailVal
;
private
String
residenceDetailVal
;
@ExcelProperty
(
value
=
"办公电话"
,
index
=
1
1
)
@ExcelProperty
(
value
=
"办公电话"
,
index
=
1
3
)
@ApiModelProperty
(
value
=
"办公电话"
)
@ApiModelProperty
(
value
=
"办公电话"
)
private
String
officePhone
;
private
String
officePhone
;
@ExcelProperty
(
value
=
"移动电话"
,
index
=
1
2
)
@ExcelProperty
(
value
=
"移动电话"
,
index
=
1
4
)
@ApiModelProperty
(
value
=
"移动电话"
)
@ApiModelProperty
(
value
=
"移动电话"
)
private
String
mobilePhone
;
private
String
mobilePhone
;
@ExplicitConstraint
(
type
=
"XLLX"
,
indexNum
=
1
3
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExplicitConstraint
(
type
=
"XLLX"
,
indexNum
=
1
5
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"最高学历"
,
index
=
1
3
)
@ExcelProperty
(
value
=
"最高学历"
,
index
=
1
5
)
@ApiModelProperty
(
value
=
"最高学历"
)
@ApiModelProperty
(
value
=
"最高学历"
)
private
String
highestEducation
;
private
String
highestEducation
;
@ExplicitConstraint
(
type
=
"GWMC"
,
indexNum
=
1
4
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExplicitConstraint
(
type
=
"GWMC"
,
indexNum
=
1
6
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"岗位名称"
,
index
=
1
4
)
@ExcelProperty
(
value
=
"岗位名称"
,
index
=
1
6
)
@ApiModelProperty
(
value
=
"岗位名称"
)
@ApiModelProperty
(
value
=
"岗位名称"
)
private
String
jobs
;
private
String
jobs
;
...
@@ -109,8 +112,8 @@ public class FireExpertsDto extends BaseDto {
...
@@ -109,8 +112,8 @@ public class FireExpertsDto extends BaseDto {
@ApiModelProperty
(
value
=
"岗位名称code"
)
@ApiModelProperty
(
value
=
"岗位名称code"
)
private
String
jobsCode
;
private
String
jobsCode
;
@ExplicitConstraint
(
type
=
"ZJLY"
,
indexNum
=
1
5
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExplicitConstraint
(
type
=
"ZJLY"
,
indexNum
=
1
7
,
sourceClass
=
CommonExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"消防专家领域"
,
index
=
1
5
)
@ExcelProperty
(
value
=
"消防专家领域"
,
index
=
1
7
)
@ApiModelProperty
(
value
=
"消防专家领域"
)
@ApiModelProperty
(
value
=
"消防专家领域"
)
private
String
expert
;
private
String
expert
;
...
@@ -144,7 +147,7 @@ public class FireExpertsDto extends BaseDto {
...
@@ -144,7 +147,7 @@ public class FireExpertsDto extends BaseDto {
@ApiModelProperty
(
value
=
"消防机构name"
)
@ApiModelProperty
(
value
=
"消防机构name"
)
private
Long
fireTeamName
;
private
Long
fireTeamName
;
@ExcelProperty
(
value
=
"备注"
,
index
=
1
6
)
@ExcelProperty
(
value
=
"备注"
,
index
=
1
8
)
@ApiModelProperty
(
value
=
"备注"
)
@ApiModelProperty
(
value
=
"备注"
)
private
String
note
;
private
String
note
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/mapper/AlertCalledMapper.java
View file @
0602640e
...
@@ -49,6 +49,11 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
...
@@ -49,6 +49,11 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
String
data
,
String
data
,
String
lift
);
String
lift
);
int
selectAllCount
(
Integer
alertStatus
,
String
alertTypeCode
,
String
alertSourceCode
,
String
startTime
,
String
endTime
);
Integer
AlertCalledcount
(
@Param
(
"alertStatus"
)
int
alertStatus
);
Integer
AlertCalledcount
(
@Param
(
"alertStatus"
)
int
alertStatus
);
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
0602640e
...
@@ -146,6 +146,28 @@
...
@@ -146,6 +146,28 @@
</where>
</where>
</select>
</select>
<select
id=
"selectAllCount"
resultType=
"int"
>
SELECT
COUNT(*)
FROM
jc_alert_called
<where>
is_delete = 0
<if
test=
"alertStatus!= null "
>
and alert_status = #{alertStatus}
</if>
<if
test=
"startTime!= null and endTime != null"
>
and call_time between #{startTime} and #{endTime}
</if>
<if
test=
"alertTypeCode!= null "
>
and alarm_type_code = #{alertTypeCode}
</if>
<if
test=
"alertSourceCode!= null "
>
and alert_source_code = #{alertSourceCode}
</if>
</where>
</select>
<select
id=
"AlertCalledcountTime"
resultType=
"Integer"
>
<select
id=
"AlertCalledcountTime"
resultType=
"Integer"
>
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
View file @
0602640e
...
@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
...
@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.FirefightersServiceImpl
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.FirefightersServiceImpl
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.KeySiteServiceImpl
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.KeySiteServiceImpl
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.*
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
...
@@ -45,11 +46,6 @@ import com.yeejoin.amos.boot.module.jcs.api.dto.ControllerDto;
...
@@ -45,11 +46,6 @@ import com.yeejoin.amos.boot.module.jcs.api.dto.ControllerDto;
import
com.yeejoin.amos.boot.module.jcs.api.dto.ControllerEquipDto
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.ControllerEquipDto
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.KeyValueLabel
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.KeyValueLabel
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.PowerData
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.PowerData
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.Aircraft
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertCalled
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertFormValue
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertLocationLog
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.Template
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.AlertStageEnums
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.AlertStageEnums
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.ControllerTypeEnum
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.ControllerTypeEnum
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.DutyInfoEnum
;
import
com.yeejoin.amos.boot.module.jcs.api.enums.DutyInfoEnum
;
...
@@ -95,6 +91,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
...
@@ -95,6 +91,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
FirefightersServiceImpl
firefightersService
;
FirefightersServiceImpl
firefightersService
;
@Autowired
@Autowired
KeySiteServiceImpl
keySiteService
;
KeySiteServiceImpl
keySiteService
;
@Autowired
AlertSubmittedServiceImpl
alertSubmittedService
;
@Autowired
@Autowired
private
AlertLocationLogServiceImpl
alertLocationLogService
;
private
AlertLocationLogServiceImpl
alertLocationLogService
;
...
@@ -186,7 +184,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
...
@@ -186,7 +184,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
List
<
AlertCalled
>
list
=
alertCalledMapper
.
selectAllPage
(
pageBean
.
getCurrent
(),
pageBean
.
getSize
(),
alertStatus
,
alertTypeCode
,
alertSourceCode
,
startTime
,
endTime
,
data
,
lift
);
List
<
AlertCalled
>
list
=
alertCalledMapper
.
selectAllPage
(
pageBean
.
getCurrent
(),
pageBean
.
getSize
(),
alertStatus
,
alertTypeCode
,
alertSourceCode
,
startTime
,
endTime
,
data
,
lift
);
IPage
<
AlertCalled
>
iPage
=
new
Page
<>();
IPage
<
AlertCalled
>
iPage
=
new
Page
<>();
iPage
.
setRecords
(
list
);
iPage
.
setRecords
(
list
);
iPage
.
setTotal
(
list
.
size
(
));
iPage
.
setTotal
(
alertCalledMapper
.
selectAllCount
(
alertStatus
,
alertTypeCode
,
alertSourceCode
,
startTime
,
endTime
));
return
iPage
;
return
iPage
;
/* bug2407 表头筛选失效 补充条件方法 XML中添加了排序条件判断 data代表排序条件 lift 升降序 陈召 2021-09-03 结束*/
/* bug2407 表头筛选失效 补充条件方法 XML中添加了排序条件判断 data代表排序条件 lift 升降序 陈召 2021-09-03 结束*/
}
}
...
...
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