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
3dff6727
Commit
3dff6727
authored
Oct 21, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
cfed33b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
11 deletions
+13
-11
FirefightersMapper.java
...mos/boot/module/common/api/mapper/FirefightersMapper.java
+1
-1
FirefightersMapper.xml
...mmon-api/src/main/resources/mapper/FirefightersMapper.xml
+3
-2
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+0
-0
AlertCalledMapper.java
...in/amos/boot/module/jcs/api/mapper/AlertCalledMapper.java
+1
-1
AlertCalledMapper.xml
...e-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
+3
-2
FirefightersServiceImpl.java
...dule/common/biz/service/impl/FirefightersServiceImpl.java
+1
-1
AlertCalledController.java
...boot/module/jcs/biz/controller/AlertCalledController.java
+1
-1
AlertCalledServiceImpl.java
...t/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
+3
-3
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/mapper/FirefightersMapper.java
View file @
3dff6727
...
@@ -32,7 +32,7 @@ public interface FirefightersMapper extends BaseMapper<Firefighters> {
...
@@ -32,7 +32,7 @@ public interface FirefightersMapper extends BaseMapper<Firefighters> {
List
<
FirefightersTreeDto
>
getFirefightersJobTitleCount
();
List
<
FirefightersTreeDto
>
getFirefightersJobTitleCount
();
List
<
String
>
getFirefightersName
(
);
List
<
Map
<
String
,
String
>
>
getFirefightersName
(
);
List
<
FirefightersExcelDto
>
exportToExcel
(
Boolean
isDelete
,
String
name
,
String
postQualification
,
String
fireTeamId
,
List
<
FirefightersExcelDto
>
exportToExcel
(
Boolean
isDelete
,
String
name
,
String
postQualification
,
String
fireTeamId
,
String
state
,
String
areasExpertise
,
String
jobTitle
);
String
state
,
String
areasExpertise
,
String
jobTitle
);
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FirefightersMapper.xml
View file @
3dff6727
...
@@ -159,9 +159,10 @@ WHERE
...
@@ -159,9 +159,10 @@ WHERE
<if
test=
'jobTitle!=null'
>
and f.job_title_code = #{jobTitle}
</if>
<if
test=
'jobTitle!=null'
>
and f.job_title_code = #{jobTitle}
</if>
</select>
</select>
<select
id=
"getFirefightersName"
resultType=
"
string
"
>
<select
id=
"getFirefightersName"
resultType=
"
Map
"
>
SELECT
SELECT
cb_firefighters.name
cb_firefighters.name AS name,
cb_firefighters.mobile_phone AS phone
FROM
FROM
cb_firefighters
cb_firefighters
WHERE
WHERE
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
3dff6727
This diff is collapsed.
Click to expand it.
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 @
3dff6727
...
@@ -36,7 +36,7 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
...
@@ -36,7 +36,7 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
List
<
AlertCalledTodyDto
>
getTodayAlertCalled
();
List
<
AlertCalledTodyDto
>
getTodayAlertCalled
();
List
<
String
>
getContactName
(
);
List
<
Map
<
String
,
String
>
>
getContactName
(
);
List
<
String
>
getAddress
();
List
<
String
>
getAddress
();
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
3dff6727
...
@@ -232,9 +232,10 @@
...
@@ -232,9 +232,10 @@
</select>
</select>
<select
id=
"getContactName"
resultType=
"
string
"
>
<select
id=
"getContactName"
resultType=
"
Map
"
>
SELECT
SELECT
jc_alert_called.contact_user
jc_alert_called.contact_user AS name,
jc_alert_called.contact_phone AS phone
FROM
FROM
jc_alert_called
jc_alert_called
WHERE
WHERE
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/FirefightersServiceImpl.java
View file @
3dff6727
...
@@ -124,7 +124,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
...
@@ -124,7 +124,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
return
menus
;
return
menus
;
}
}
public
List
<
String
>
getFirefightersName
()
{
public
List
<
Map
<
String
,
String
>
>
getFirefightersName
()
{
return
firefightersMapper
.
getFirefightersName
();
return
firefightersMapper
.
getFirefightersName
();
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertCalledController.java
View file @
3dff6727
...
@@ -362,7 +362,7 @@ public class AlertCalledController extends BaseController {
...
@@ -362,7 +362,7 @@ public class AlertCalledController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getAmosId"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/getAmosId"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"警情填报联系人模糊查询"
,
notes
=
"警情填报联系人模糊查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"警情填报联系人模糊查询"
,
notes
=
"警情填报联系人模糊查询"
)
public
ResponseModel
<
List
<
String
>>
getContact
(
)
{
public
ResponseModel
<
List
<
Map
<
String
,
String
>
>>
getContact
(
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getContactName
());
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getContactName
());
}
}
...
...
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 @
3dff6727
...
@@ -797,9 +797,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
...
@@ -797,9 +797,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
}
}
/*2304 地址 联系人模糊查询缺失 陈召 2021-09-23 开始*/
/*2304 地址 联系人模糊查询缺失 陈召 2021-09-23 开始*/
public
List
<
String
>
getContactName
()
{
public
List
<
Map
<
String
,
String
>
>
getContactName
()
{
List
<
String
>
firefightersName
=
firefightersService
.
getFirefightersName
();
List
<
Map
<
String
,
String
>
>
firefightersName
=
firefightersService
.
getFirefightersName
();
List
<
String
>
contactNames
=
alertCalledMapper
.
getContactName
();
List
<
Map
<
String
,
String
>
>
contactNames
=
alertCalledMapper
.
getContactName
();
firefightersName
.
addAll
(
contactNames
);
firefightersName
.
addAll
(
contactNames
);
return
firefightersName
;
return
firefightersName
;
...
...
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