Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
5ffcebd0
Commit
5ffcebd0
authored
Mar 29, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改展板管理
parent
f409e3a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TInteractionController.java
...hnmuseum/party/web/controller/TInteractionController.java
+4
-4
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TInteractionController.java
View file @
5ffcebd0
...
...
@@ -68,7 +68,7 @@ public class TInteractionController extends BaseController {
boolean
result
=
false
;
try
{
Map
<
String
,
Object
>
resultMap
=
new
LinkedHashMap
<
String
,
Object
>();
if
(
StringUtils
.
is
Blank
(
tInteraction
.
getName
())||
StringUtils
.
is
Blank
(
tInteraction
.
getPassword
()))
{
if
(
StringUtils
.
is
NotBlank
(
tInteraction
.
getName
())||
StringUtils
.
isNot
Blank
(
tInteraction
.
getPassword
()))
{
resultMap
.
put
(
"resultCode"
,
"400"
);
resultMap
.
put
(
"message"
,
"请输入用户名和密码"
);
return
resultMap
;
...
...
@@ -110,7 +110,7 @@ public class TInteractionController extends BaseController {
@PutMapping
(
"/update"
)
@RequiresPermissions
(
"/interaction/update"
)
@ApiOperation
(
value
=
"修改看板互动信息"
,
notes
=
"修改看板互动信息"
)
public
Map
<
String
,
Object
>
updateTInteraction
(
@Validated
(
value
=
{
Update
.
class
})
TInteraction
tInteraction
)
{
public
Map
<
String
,
Object
>
updateTInteraction
(
TInteraction
tInteraction
)
{
boolean
flag
=
false
;
try
{
flag
=
tInteractionService
.
updateById
(
tInteraction
);
...
...
@@ -130,9 +130,9 @@ public class TInteractionController extends BaseController {
@RequiresPermissions
(
"/interaction/delete"
)
@ApiOperation
(
value
=
"根据ID删除看板互动"
,
notes
=
"根据ID删除看板互动"
)
@ApiImplicitParams
(
value
=
{
@ApiImplicitParam
(
name
=
"id"
,
value
=
"标识ID"
,
paramType
=
"
path
"
,
dataType
=
"String"
)
@ApiImplicitParam
(
name
=
"id"
,
value
=
"标识ID"
,
paramType
=
"
query
"
,
dataType
=
"String"
)
})
public
Map
<
String
,
Object
>
deleteTInteraction
(
@PathVariable
(
"id"
)
String
id
)
{
public
Map
<
String
,
Object
>
deleteTInteraction
(
String
id
)
{
boolean
result
=
tInteractionService
.
removeById
(
id
);
if
(
result
)
{
return
getSuccessResult
();
...
...
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