Merge remote-tracking branch 'origin/master'

This commit is contained in:
sxu 2025-06-05 13:46:26 +08:00
commit f563492a17
3 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class HealthPersonInfoController extends BaseController {
@GetMapping("/list")
public TableDataInfo list(HealthPersonInfo healthPersonInfo) {
startPage();
System.out.println(healthPersonInfo.getPlaceIds());
List<HealthPersonInfo> list = healthPersonInfoService.selectHealthPersonInfoList(healthPersonInfo);
return getDataTable(list);
}

View File

@ -172,4 +172,6 @@ public class HealthPersonInfo extends BaseEntity {
private String updateBy;
@ApiModelProperty("更新时间")
private Date updateTime;
private String doctorAdvices;
private String placeIds;
}

View File

@ -76,6 +76,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="articleTitle != null and articleTitle != ''">
and(a.nick_name like concat('%', #{articleTitle}, '%') or a.phonenumber like concat('%', #{articleTitle}, '%') or b.doctor_num like concat('%', #{articleTitle}, '%'))
</if>
<if test="chronicIds != null and chronicIds != ''">
and c.chronic_id in (${chronicIds})
</if>
<if test="doctorAdvices != null and doctorAdvices != ''">
and b.doctor_advice in (${doctorAdvices})
</if>
group by a.user_id,
a.nick_name,
a.dept_id,