Commit 0db6cc2e authored by 徐俊's avatar 徐俊

xujun

parent 98c212b6
...@@ -21,6 +21,9 @@ import org.springframework.validation.BindingResult; ...@@ -21,6 +21,9 @@ import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import static com.yiboshi.science.utils.StringUtil.hideAllIdCardNum;
import static com.yiboshi.science.utils.StringUtil.hideAllPhoneNum;
@Api(tags = "com-talent-apply", description = "项目表") @Api(tags = "com-talent-apply", description = "项目表")
@RestController @RestController
@RequestMapping("/v1/science-admin/com-talent-apply") @RequestMapping("/v1/science-admin/com-talent-apply")
...@@ -39,6 +42,13 @@ public class ComTalentApplyController extends BaseController<ComTalentApplyServi ...@@ -39,6 +42,13 @@ public class ComTalentApplyController extends BaseController<ComTalentApplyServi
} }
Pagination<ComTalentApplyDTO> page = comTalentApplyService.getListByPage(vo); Pagination<ComTalentApplyDTO> page = comTalentApplyService.getListByPage(vo);
if (null != page && null != page.getDataList() && page.getDataList().size() != 0) {
page.getDataList().forEach((e) -> {
e.setCertId(hideAllIdCardNum(e.getCertId()));
e.setMobile(hideAllPhoneNum(e.getMobile()));
//e.setCertId(AesHelper.encrypt(e.getCertId()));
});
}
return ResponseDataModel.ok(page); return ResponseDataModel.ok(page);
} }
......
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