Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
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
李伟
cust-api
Commits
a0fda9e7
Commit
a0fda9e7
authored
Dec 25, 2024
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 查询会员信息app去掉微信号
parent
52a9bf82
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
AppMemInfoController.java
...isoft/app/appMemInfo/controller/AppMemInfoController.java
+8
-2
MemInfoController.java
...cisoft/business/memInfo/controller/MemInfoController.java
+1
-0
No files found.
src/main/java/org/rcisoft/app/appMemInfo/controller/AppMemInfoController.java
View file @
a0fda9e7
...
...
@@ -3,6 +3,7 @@ package org.rcisoft.app.appMemInfo.controller;
/*固定导入*/
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.Parameters
;
...
...
@@ -78,10 +79,12 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
,
schema
=
@Schema
(
type
=
"string"
))})
@GetMapping
(
"/open/memInfo/detail/{businessId:\\w+}"
)
public
CyResult
detail
(
@PathVariable
int
businessId
)
{
MemInfo
info
=
memInfoServiceImpl
.
findById
(
businessId
);
info
.
setMemWxCode
(
null
);
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
memInfoServiceImpl
.
findById
(
businessId
)
);
info
);
}
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询会员表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
...
...
@@ -89,7 +92,10 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
@GetMapping
(
value
=
"/open/memInfo/list"
)
// @CyEncryptSm4Anno
public
CyGridModel
listByPagination
(
MemInfo
memInfo
)
{
memInfoServiceImpl
.
findAllByPagination
(
getPaginationUtility
(),
memInfo
);
IPage
<
MemInfo
>
memInfoIPage
=
memInfoServiceImpl
.
findAllByPagination
(
getPaginationUtility
(),
memInfo
);
for
(
MemInfo
record
:
memInfoIPage
.
getRecords
())
{
record
.
setMemWxCode
(
null
);
}
return
getGridModelResponse
();
}
...
...
src/main/java/org/rcisoft/business/memInfo/controller/MemInfoController.java
View file @
a0fda9e7
...
...
@@ -88,6 +88,7 @@ public class MemInfoController extends CyPaginationController<MemInfo> {
@Operation
(
summary
=
"修改会员表"
,
description
=
"修改会员表"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
,
schema
=
@Schema
(
type
=
"string"
))})
@PutMapping
(
"/update/{businessId:\\w+}"
)
// @CyEncryptSm4Anno
public
CyResult
update
(
@PathVariable
int
businessId
,
@Valid
MemInfo
memInfo
,
BindingResult
bindingResult
)
{
memInfo
.
setBusinessId
(
businessId
);
CyPersistModel
data
=
memInfoServiceImpl
.
merge
(
memInfo
);
...
...
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