护理员APP查询个人信息接口修改

This commit is contained in:
纪寒 2023-12-06 16:28:38 +08:00
parent 880a33db55
commit 37bf823f0b

View File

@ -398,21 +398,21 @@
nsp.create_by,
nsp.create_time,
nsp.update_by,
nsp.update_time,
nspc.id certificateId,
nspc.certificate_name,
nspc.certificate_url,
nspc.sort
nsp.update_time
-- nspc.id certificateId,
-- nspc.certificate_name,
-- nspc.certificate_url,
-- nspc.sort
FROM
nurse_station_person nsp
LEFT JOIN sys_user su ON su.phonenumber = nsp.phone
LEFT JOIN nurse_station_person_certificate nspc ON nspc.nurse_station_person_id = nsp.id
-- LEFT JOIN nurse_station_person_certificate nspc ON nspc.nurse_station_person_id = nsp.id
<where>
<if test="nursePersonId != null and nursePersonId != ''">
and nsp.id = #{nursePersonId}
</if>
and su.del_flag = 0
</where>
ORDER BY nspc.sort
-- ORDER BY nspc.sort
</select>
</mapper>