| | |
| | | `service_medicalevaluation`.`update_by` AS `updateby`, |
| | | `service_medicalevaluation`.`update_time` AS `updatetime` |
| | | FROM |
| | | |
| | | `service_donatebaseinfo` |
| | | LEFT JOIN `service_medicalevaluation` ON |
| | | `service_donatebaseinfo`.`ID` = `service_medicalevaluation`.`InfoID` |
| | | LEFT JOIN `base_organization` ON |
| | | `base_organization`.`OrganizationID` = `service_donatebaseinfo`.`TreatmentHospitalNo` |
| | | |
| | | |
| | | <where> |
| | | service_medicalevaluation.del_flag != 1 |
| | | service_medicalevaluation.del_flag = 0 |
| | | and service_donatebaseinfo.del_flag = 0 |
| | | <if test="name != null and name != ''"> and `service_donatebaseinfo`.Name like concat('%', #{name}, '%')</if> |
| | | <if test="donorno != null and donorno != ''"> and `service_donatebaseinfo`.`DonorNo` = #{donorno}</if> |
| | | <if test="idcardno != null and idcardno != ''"> and `service_donatebaseinfo`.`IDCardNo` = #{idcardno}</if> |