zjh
2024-06-05 1ea4e6b1fce036ba234c9f21c69e9fd68649abb2
ltkj-admin/src/main/java/com/ltkj/web/controller/app/ReportController.java
@@ -85,12 +85,14 @@
     */
    @GetMapping("/getReportList")
    @ApiOperation(value = "小程序-体检报告列表")
    public AjaxResult getReportList(@RequestParam(required = false) @ApiParam(value = "手机号") String cusPhone) {
    public AjaxResult getReportList(String cusPhone) {
//        Wxuser wxuser = UserHoder.getWxuser();
        if (cusPhone==null){
            return AjaxResult.error("请绑定手机号!");
        }
        List<Object> result = new ArrayList<>();
        QueryWrapper<TjCustomer> wq1 = new QueryWrapper<>();
        wq1.eq("cus_phone", cusPhone);
        LambdaQueryWrapper<TjCustomer> wq1 = new LambdaQueryWrapper<>();
        wq1.eq(TjCustomer::getCusPhone, cusPhone);
        List<TjCustomer> list1 = customerService.list(wq1);
        if (list1.size() != 0) {
            for (TjCustomer tjCustomer : list1) {