| | |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceRelativesconfirmationMapper"> |
| | | |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceRelativesconfirmation" id="ServiceRelativesconfirmationResult"> |
| | | <result property="id" column="ID" /> |
| | | <result property="infoid" column="InfoID" /> |
| | |
| | | `service_donatebaseinfo`.`create_by` AS `basecreateby`, |
| | | `service_donatebaseinfo`.`workflow` AS `workflow`, |
| | | `service_donatebaseinfo`.`termination_case` AS `terminationCase`, |
| | | `service_donatebaseinfo`.`donatetime` AS `donatetime`, |
| | | `service_relativesconfirmation`.`ID` AS `rcID`, |
| | | `service_relativesconfirmation`.`InfoID` AS `InfoID`, |
| | | `service_relativesconfirmation`.`DonorNo` AS `rcDonroNo`, |
| | |
| | | `base_organization`.`OrganizationID` = `service_donatebaseinfo`.`TreatmentHospitalNo` |
| | | |
| | | <where> |
| | | service_donatebaseinfo.del_flag=0 |
| | | and service_relativesconfirmation.del_flag=0 |
| | | <if test="donorno != null and donorno != ''"> and `service_donatebaseinfo`.`DonorNo` = #{donorno}</if> |
| | | <if test="name != null and name != ''"> and `service_donatebaseinfo`.`Name` like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''"> and `service_donatebaseinfo`.`IDCardNo` = #{idcardno}</if> |
| | |
| | | where SignDate >= #{starttime} and SignDate <= #{endtime} |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |