Commit c80f32d65ced3c9023381e60da60d97f8fdd7101
1 parent
759462e098
Exists in
master
and in
1 other branch
根据群组获取医生和患者信息--合并代码
Showing 1 changed file with 11 additions and 7 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
c80f32d
| 1 | 1 | package com.lyms.talkonlineweb.controller; |
| 2 | 2 | |
| 3 | +import com.alibaba.fastjson.JSONArray; | |
| 4 | +import com.alibaba.fastjson.JSONObject; | |
| 5 | +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | |
| 6 | +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | |
| 7 | +import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; | |
| 3 | 8 | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| 4 | 9 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| 5 | 10 | import com.lyms.talkonlineweb.domain.*; |
| 11 | +import com.lyms.talkonlineweb.request.PatientInfoRequest; | |
| 6 | 12 | import com.lyms.talkonlineweb.result.BaseResponse; |
| 13 | +import com.lyms.talkonlineweb.result.PatientPcaseResult; | |
| 7 | 14 | import com.lyms.talkonlineweb.service.*; |
| 8 | -import com.lyms.talkonlineweb.util.Constant; | |
| 9 | -import com.lyms.talkonlineweb.util.JwtUtils; | |
| 15 | +import com.lyms.talkonlineweb.util.*; | |
| 10 | 16 | import lombok.extern.log4j.Log4j2; |
| 11 | 17 | import org.springframework.beans.factory.annotation.Autowired; |
| 12 | 18 | import org.springframework.validation.BindingResult; |
| 13 | 19 | import org.springframework.validation.annotation.Validated; |
| 14 | 20 | import org.springframework.web.bind.annotation.*; |
| 15 | 21 | |
| 16 | -import java.util.Date; | |
| 17 | -import java.util.HashMap; | |
| 18 | -import java.util.List; | |
| 19 | -import java.util.Map; | |
| 22 | +import java.util.*; | |
| 23 | +import java.util.stream.Collectors; | |
| 20 | 24 | |
| 21 | 25 | /** |
| 22 | 26 | * 患者管理 |
| ... | ... | @@ -451,7 +455,7 @@ |
| 451 | 455 | } |
| 452 | 456 | |
| 453 | 457 | data.put("iname",sb.toString()); |
| 454 | - data.put("createTime",DateUtil.getDateTime(record.getCreatedtime(),DateUtil.YYYY_MM_DD)); | |
| 458 | + data.put("createTime", DateUtil.getDateTime(record.getCreatedtime(),DateUtil.YYYY_MM_DD)); | |
| 455 | 459 | data.put("stat",record.getStat()); |
| 456 | 460 | |
| 457 | 461 |