|
|
|
@@ -224,10 +224,21 @@ public class WxCUserBasicInfoController extends BaseController { |
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", page); |
|
|
|
} |
|
|
|
|
|
|
|
@RequestMapping("/exportData") |
|
|
|
@ApiOperation("会员记录导出") |
|
|
|
@GetMapping("/exportData") |
|
|
|
public void exportData(@ModelAttribute WxCUserBasicInfo basicInfo, HttpServletRequest request, HttpServletResponse response) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxCUserBasicInfoController::exportData"); |
|
|
|
if(basicInfo == null) basicInfo = new WxCUserBasicInfo(); |
|
|
|
if(basicInfo == null) { |
|
|
|
basicInfo = new WxCUserBasicInfo(); |
|
|
|
} else { |
|
|
|
if (StringUtils.isBlank(basicInfo.getPhone())) { |
|
|
|
basicInfo.setPhone(null); |
|
|
|
} |
|
|
|
if (StringUtils.isBlank(basicInfo.getName())) { |
|
|
|
basicInfo.setName(null); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
basicInfo.setTenantId(getTenantId()); |
|
|
|
wxCUserBasicInfoService.exportData(basicInfo, request, response); |
|
|
|
|
|
|
|
|