| | |
| | | `service_donatebaseinfo`.`RegisterCountyCode` AS `RegisterCountyCode`, |
| | | `service_donatebaseinfo`.`RegisterCountyName` AS `RegisterCountyName`, |
| | | `service_donatebaseinfo`.`create_by` AS `basecreateby`, |
| | | `service_donatebaseinfo`.`workflow` AS `workflow`, |
| | | `service_donatebaseinfo`.`termination_case` AS `terminationCase`, |
| | | `service_donatecompletioninfo`.`ID` AS `dcID`, |
| | | `service_donatecompletioninfo`.`InfoID` AS `InfoID`, |
| | | `service_donatecompletioninfo`.`DonorNo` AS `dcDonorNo`, |
| | |
| | | <if test="reporterno != null and reporterno != ''"> and `service_donatebaseinfo`.ReporterNo = #{reporterno}</if> |
| | | <if test="city != null and city != ''"> and `base_organization`.`City` = #{city}</if> |
| | | <if test="id != null "> and `service_donatebaseinfo`.`ID` = #{id}</if> |
| | | <if test="workflow != null "> and `service_donatebaseinfo`.`workflow` = #{workflow}</if> |
| | | </where> |
| | | |
| | | order by `service_donatecompletioninfo`.`create_time` desc |