Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
9012ac6b
Commit
9012ac6b
authored
Nov 13, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户收藏模块bug修改
parent
2a7a1c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
portal-manager/src/main/java/com/mortals/xhx/module/user/web/UserModelCollectController.java
...rtals/xhx/module/user/web/UserModelCollectController.java
+1
-4
No files found.
portal-manager/src/main/java/com/mortals/xhx/module/user/web/UserModelCollectController.java
View file @
9012ac6b
...
...
@@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSON;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.mortals.framework.annotation.RepeatSubmit
;
import
com.mortals.framework.annotation.UnAuth
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.IUser
;
...
...
@@ -55,7 +54,6 @@ public class UserModelCollectController extends BaseCRUDJsonBodyMappingControlle
@PostMapping
({
"get"
})
@UnAuth
public
String
getCollect
(
@RequestBody
UserModelCollectEntity
query
)
{
Map
<
String
,
Object
>
model
=
new
HashMap
();
...
...
@@ -125,7 +123,6 @@ public class UserModelCollectController extends BaseCRUDJsonBodyMappingControlle
@Override
@PostMapping
({
"save"
})
@RepeatSubmit
@UnAuth
public
String
save
(
@RequestBody
UserModelCollectEntity
entity
)
{
Map
<
String
,
Object
>
model
=
new
HashMap
();
Context
context
=
this
.
getContext
();
...
...
@@ -140,7 +137,7 @@ public class UserModelCollectController extends BaseCRUDJsonBodyMappingControlle
}
UserModelCollectEntity
query
=
new
UserModelCollectEntity
();
query
.
setUserId
(
this
.
getCurUser
().
getId
());
query
.
setSiteId
(
quer
y
.
getSiteId
());
query
.
setSiteId
(
entit
y
.
getSiteId
());
UserModelCollectEntity
temp
=
this
.
service
.
selectOne
(
query
);
if
(
temp
==
null
)
{
Class
<
UserModelCollectEntity
>
tClass
=
ReflectUtils
.
getClassGenricType
(
this
.
getClass
(),
1
);
...
...
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