deb
This commit is contained in:
parent
e35fc0536e
commit
661d0856e2
|
|
@ -57,7 +57,7 @@ public class PatientInfoService extends BaseService {
|
|||
}
|
||||
|
||||
QueryWrapper<PatientInfo> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("cert_no", patientInfo.getPhone());
|
||||
queryWrapper.eq("cert_no", patientInfo.getCertNo());
|
||||
PatientInfo dbInfo = patientInfoMapper.selectOne(queryWrapper);
|
||||
if (dbInfo != null){
|
||||
patientInfo.setId(dbInfo.getId());
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
FROM organization_member AS om LEFT JOIN organization_section AS os ON om.section_id = os.id
|
||||
<where>
|
||||
<if test="keyword != null and keyword != ''">
|
||||
om.name LIKE concat('%', #{keyword}, '%')
|
||||
or os.name LIKE concat('%', #{keyword}, '%')
|
||||
(om.name LIKE concat('%', #{keyword}, '%')
|
||||
or os.name LIKE concat('%', #{keyword}, '%'))
|
||||
</if>
|
||||
<if test="role != null">
|
||||
And om.role = #{role}
|
||||
|
|
|
|||
Loading…
Reference in New Issue