|
@@ -1,7 +1,6 @@
|
|
|
package com.ym.mec.web.controller.open;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
-import com.alipay.api.domain.BizActionComsumedAmountDTO;
|
|
|
import com.microsvc.toolkit.common.response.template.R;
|
|
|
import com.ym.mec.biz.dal.dao.StudentPaymentOrderDao;
|
|
|
import com.ym.mec.biz.dal.entity.Organization;
|
|
@@ -14,15 +13,14 @@ import com.ym.mec.biz.service.SysConfigService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
import com.ym.mec.common.page.PageInfo;
|
|
|
-import com.ym.mec.common.tenant.TenantContextHolder;
|
|
|
import com.ym.mec.util.collection.MapUtil;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -196,6 +194,12 @@ public class OpenDouble11StaticsController extends BaseController {
|
|
|
pageInfo.setTotal(count);
|
|
|
params.put("offset", pageInfo.getOffset());
|
|
|
dataList = studentPaymentOrderDao.queryPaymentStudentByPage(params);
|
|
|
+ dataList.forEach(next -> {
|
|
|
+ String phone = next.getPhone();
|
|
|
+ if (StringUtils.isNotEmpty(phone)) {
|
|
|
+ next.setPhone(phone.replaceAll("(\\d{3})\\d*(\\d{4})", "$1****$2"));
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
pageInfo.setRows(dataList);
|
|
|
return R.from(pageInfo);
|