Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
self-service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
self-service
Commits
ac9de840
Commit
ac9de840
authored
Apr 17, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测试bug
parent
99d5ffb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
sst-manager/src/main/java/com/mortals/xhx/module/matter/web/UserMatterApplyController.java
...tals/xhx/module/matter/web/UserMatterApplyController.java
+32
-0
No files found.
sst-manager/src/main/java/com/mortals/xhx/module/matter/web/UserMatterApplyController.java
View file @
ac9de840
...
...
@@ -111,4 +111,36 @@ public class UserMatterApplyController extends BaseCRUDJsonBodyMappingController
ret
.
put
(
"data"
,
model
);
return
ret
.
toJSONString
();
}
@RequestMapping
(
value
=
{
"delete"
},
method
=
{
RequestMethod
.
POST
,
RequestMethod
.
GET
}
)
@UnAuth
public
String
delete
(
Long
[]
id
)
{
Context
context
=
this
.
getContext
();
if
(
id
==
null
)
{
return
this
.
createFailJsonResp
(
"请至少选择一条记录"
);
}
else
{
Map
<
String
,
Object
>
model
=
new
HashMap
();
int
code
=
1
;
String
busiDesc
=
"删除"
+
this
.
getModuleDesc
();
try
{
this
.
deleteBefore
(
id
,
context
);
int
iRet
=
this
.
service
.
remove
(
id
,
context
);
model
.
put
(
"message_info"
,
this
.
getModuleDesc
()
+
"删除成功!删除条数:"
+
iRet
);
this
.
recordSysLog
(
this
.
request
,
busiDesc
+
" 【成功】 [id:"
+
StringUtils
.
converArray2Str
(
id
)
+
"]"
);
}
catch
(
Exception
var7
)
{
code
=
-
1
;
this
.
doException
(
this
.
request
,
busiDesc
,
model
,
var7
);
}
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
"code"
,
Integer
.
valueOf
(
code
));
ret
.
put
(
"msg"
,
model
.
remove
(
"message_info"
));
ret
.
put
(
"data"
,
model
);
return
ret
.
toJSONString
();
}
}
}
\ 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