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
dafe3293
Commit
dafe3293
authored
Oct 27, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不需要的请求参数
parent
3ffcbb63
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
IKeySiteService.java
.../amos/boot/module/common/api/service/IKeySiteService.java
+1
-1
KeySiteController.java
.../boot/module/common/biz/controller/KeySiteController.java
+2
-2
KeySiteServiceImpl.java
...ot/module/common/biz/service/impl/KeySiteServiceImpl.java
+1
-3
AlertCalledController.java
...boot/module/jcs/biz/controller/AlertCalledController.java
+2
-1
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/service/IKeySiteService.java
View file @
dafe3293
...
...
@@ -71,6 +71,6 @@ public List<OrgMenuDto> getBuildAndKeyTree(Long sequenceNbr);
public
List
<
KeySiteDateDto
>
getKeySiteDate
(
Long
id
);
public
List
<
KeySite
>
getKeySiteDateByNameLike
(
String
name
,
Long
companyId
);
public
List
<
KeySite
>
getKeySiteDateByNameLike
();
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/KeySiteController.java
View file @
dafe3293
...
...
@@ -230,8 +230,8 @@ public class KeySiteController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"通过名称模糊查询重点部位的信息"
,
notes
=
"通过名称模糊查询重点部位的信息"
)
@GetMapping
(
value
=
"/getKeySiteDateByNameLike"
)
public
ResponseModel
<
List
<
KeySite
>>
getKeySiteDateByNameLike
(
@RequestParam
String
name
,
@RequestParam
Long
companyId
)
{
return
ResponseHelper
.
buildResponse
(
keySiteService
.
getKeySiteDateByNameLike
(
name
,
companyId
));
public
ResponseModel
<
List
<
KeySite
>>
getKeySiteDateByNameLike
()
{
return
ResponseHelper
.
buildResponse
(
keySiteService
.
getKeySiteDateByNameLike
());
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/KeySiteServiceImpl.java
View file @
dafe3293
...
...
@@ -319,11 +319,9 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
}
@Override
public
List
<
KeySite
>
getKeySiteDateByNameLike
(
String
name
,
Long
companyId
)
{
public
List
<
KeySite
>
getKeySiteDateByNameLike
()
{
LambdaQueryWrapper
<
KeySite
>
mapper
=
new
LambdaQueryWrapper
<
KeySite
>();
mapper
.
eq
(
KeySite:
:
getIsDelete
,
false
);
mapper
.
eq
(
KeySite:
:
getBelongId
,
companyId
);
mapper
.
like
(
KeySite:
:
getName
,
name
);
return
this
.
baseMapper
.
selectList
(
mapper
);
}
}
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 @
dafe3293
...
...
@@ -450,7 +450,7 @@ public class AlertCalledController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getLocation"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"模糊获取地址的方法"
,
notes
=
"模糊获取地址的方法"
)
public
ResponseModel
<
Object
>
getLocationLike
(
@RequestParam
String
locationt
)
{
public
ResponseModel
<
Object
>
getLocationLike
(
@RequestParam
(
required
=
false
)
String
locationt
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getLocationLike
(
locationt
));
}
}
\ No newline at end of file
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