| | |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="operatorno" column="operatorno" /> |
| | | <result property="operatorname" column="operatorname" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceRelativesconfirmationVo"> |
| | | select ID, InfoID, DonorNo, Name, IDCardType, IDCardNo, Phone, ResidenceAddress, ResidenceProvince, ResidenceProvinceName, ResidenceCity, ResidenceCityName, ResidenceTown, ResidenceTownName, ResidenceCommunity, ResidenceCommunityName, ResidenceCountyCode, ResidenceCountyName, Kinship, Kinship_ChildrenNum, SignFamilyRelations, KinshipConfirmationSign, OrganDecision, OrganDecision_Other, RelativeConfirmationSign, FamilyRelations, AcquisitionTissueNo, AcquisitionTissueName, ResponsibleUserID, ResponsibleUserName, CoordinatedUserIDO, CoordinatedUserNameO, CoordinatedUserIDT, CoordinatedUserNameT, SignDate, del_flag, create_by, create_time, update_by, update_time from service_relativesconfirmation |
| | | select ID, InfoID, DonorNo, Name, IDCardType, IDCardNo, Phone, ResidenceAddress, ResidenceProvince, ResidenceProvinceName, ResidenceCity, ResidenceCityName, ResidenceTown, ResidenceTownName, ResidenceCommunity, ResidenceCommunityName, ResidenceCountyCode, ResidenceCountyName, Kinship, Kinship_ChildrenNum, SignFamilyRelations, KinshipConfirmationSign, OrganDecision, OrganDecision_Other, RelativeConfirmationSign, FamilyRelations, AcquisitionTissueNo, AcquisitionTissueName, ResponsibleUserID, ResponsibleUserName, CoordinatedUserIDO, CoordinatedUserNameO, CoordinatedUserIDT, CoordinatedUserNameT, SignDate, del_flag, create_by, create_time, update_by, update_time,operatorname,operatorno from service_relativesconfirmation |
| | | </sql> |
| | | |
| | | <select id="selectServiceRelativesconfirmationList" parameterType="ServiceRelativesconfirmation" resultMap="ServiceRelativesconfirmationResult"> |
| | | <select id="selectServiceRelativesconfirmationList" parameterType="com.ruoyi.project.domain.ServiceRelativesconfirmation" resultMap="ServiceRelativesconfirmationResult"> |
| | | <include refid="selectServiceRelativesconfirmationVo"/> |
| | | <where> |
| | | <if test="donorno != null and donorno != ''"> and DonorNo = #{donorno}</if> |
| | |
| | | `service_donatebaseinfo`.`TreatmentHospitalName` AS `TreatmentHospitalName`, |
| | | `service_donatebaseinfo`.`TreatmentDeptName` AS `TreatmentDeptName`, |
| | | `service_donatebaseinfo`.`create_by` AS `basecreateby`, |
| | | `service_donatebaseinfo`.`workflow` AS `workflow`, |
| | | `service_donatebaseinfo`.`termination_case` AS `terminationCase`, |
| | | `service_relativesconfirmation`.`ID` AS `rcID`, |
| | | `service_relativesconfirmation`.`InfoID` AS `InfoID`, |
| | | `service_relativesconfirmation`.`DonorNo` AS `rcDonroNo`, |
| | |
| | | `service_relativesconfirmation`.`create_by` AS `createBy`, |
| | | `service_relativesconfirmation`.`create_time` AS `createTime`, |
| | | `service_relativesconfirmation`.`update_by` AS `updateBy`, |
| | | `service_relativesconfirmation`.`update_time` AS `updateTime` |
| | | `service_relativesconfirmation`.`update_time` AS `updateTime`, |
| | | `service_relativesconfirmation`.`operatorno` AS `operatorno`, |
| | | `service_relativesconfirmation`.`operatorname` AS `operatorname` |
| | | FROM |
| | | |
| | | `service_donatebaseinfo` |
| | |
| | | <if test="residenceprovince != null and residenceprovince != ''"> and `service_relativesconfirmation`.`ResidenceProvince` = #{residenceprovince}</if> |
| | | <if test="residencecity != null and residencecity != ''"> and `service_relativesconfirmation`.`ResidenceCity` = #{residencecity}</if> |
| | | <if test="residencetown != null and residencetown != ''"> and `service_relativesconfirmation`.`ResidenceTown` = #{residencetown}</if> |
| | | <if test="workflow != null "> and `service_donatebaseinfo`.`workflow` = #{workflow}</if> |
| | | |
| | | </where> |
| | | |