Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
5a1aea34
Commit
5a1aea34
authored
Jul 26, 2023
by
yf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改联动接口问题
parent
70fd1fae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/LawListController.java
...censoft/censoftrongtong/controller/LawListController.java
+1
-0
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
...oft/censoftrongtong/controller/RiskPlanAppController.java
+4
-4
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/LawListController.java
View file @
5a1aea34
...
@@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletResponse;
...
@@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletResponse;
import
com.censoft.censoftrongtong.domain.LawList
;
import
com.censoft.censoftrongtong.domain.LawList
;
import
com.censoft.censoftrongtong.service.ILawListService
;
import
com.censoft.censoftrongtong.service.ILawListService
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
View file @
5a1aea34
...
@@ -658,8 +658,8 @@ public class RiskPlanAppController extends BaseController {
...
@@ -658,8 +658,8 @@ public class RiskPlanAppController extends BaseController {
/**
/**
*返回责单位列表
*返回责单位列表
*/
*/
@GetMapping
(
"/inherent/getResponsibilityUnits
/{unitName}
"
)
@GetMapping
(
"/inherent/getResponsibilityUnits"
)
public
R
<
List
<
RiskPlanInherentList
>>
getResponsibilityUnits
(
@PathVariable
String
unitName
)
{
public
R
<
List
<
RiskPlanInherentList
>>
getResponsibilityUnits
(
String
unitName
,
String
projectId
)
{
QueryWrapper
<
RiskPlanInherentList
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
RiskPlanInherentList
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
select
(
"measures_dept_name"
).
like
(
"measures_dept_name"
,
unitName
).
isNotNull
(
"measures_dept_name"
).
groupBy
(
"measures_dept_name"
);
queryWrapper
.
select
(
"measures_dept_name"
).
like
(
"measures_dept_name"
,
unitName
).
isNotNull
(
"measures_dept_name"
).
groupBy
(
"measures_dept_name"
);
List
<
RiskPlanInherentList
>
list
=
riskPlanInherentListService
.
list
(
queryWrapper
);
List
<
RiskPlanInherentList
>
list
=
riskPlanInherentListService
.
list
(
queryWrapper
);
...
@@ -669,8 +669,8 @@ public class RiskPlanAppController extends BaseController {
...
@@ -669,8 +669,8 @@ public class RiskPlanAppController extends BaseController {
/**
/**
*返回责单位列表
*返回责单位列表
*/
*/
@GetMapping
(
"/inherent/getResponsibilityPersons
/{personName}
"
)
@GetMapping
(
"/inherent/getResponsibilityPersons"
)
public
R
<
List
<
RiskPlanInherentList
>>
getResponsibilityPersons
(
@PathVariable
String
personName
)
{
public
R
<
List
<
RiskPlanInherentList
>>
getResponsibilityPersons
(
String
personName
,
String
projectId
)
{
QueryWrapper
<
RiskPlanInherentList
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
RiskPlanInherentList
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
select
(
"measures_user_name"
,
"measures_user_phone"
).
like
(
"measures_user_name"
,
personName
).
isNotNull
(
"measures_user_name"
).
groupBy
(
"measures_user_name"
);
queryWrapper
.
select
(
"measures_user_name"
,
"measures_user_phone"
).
like
(
"measures_user_name"
,
personName
).
isNotNull
(
"measures_user_name"
).
groupBy
(
"measures_user_name"
);
List
<
RiskPlanInherentList
>
list
=
riskPlanInherentListService
.
list
(
queryWrapper
);
List
<
RiskPlanInherentList
>
list
=
riskPlanInherentListService
.
list
(
queryWrapper
);
...
...
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