Commit a0fda9e7 authored by gaoyingwei's avatar gaoyingwei

修改 查询会员信息app去掉微信号

parent 52a9bf82
......@@ -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();
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment