| | |
| | | <result property="communityname" column="CommunityName"/> |
| | | <result property="countycode" column="CountyCode"/> |
| | | <result property="countyname" column="CountyName"/> |
| | | <result property="reporterName" column="reporter_name"/> |
| | | <result property="reporterNo" column="reporter_no"/> |
| | | <result property="coordinatorName" column="coordinator_name"/> |
| | | <result property="coordinatorNo" column="coordinator_no"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectBaseOrganizationVo"> |
| | | select ID, |
| | | OrganizationName, |
| | | reporter_name, |
| | | reporter_no, |
| | | coordinator_name, |
| | | coordinator_no, |
| | | OrganizationID, |
| | | LogoUrl, |
| | | RegisterTime, |
| | |
| | | #{communityname}, '%') |
| | | </if> |
| | | <if test="countycode != null and countycode != ''">and CountyCode = #{countycode}</if> |
| | | <if test="reporterName != null and reporterName != ''">and reporter_name = #{reporterName}</if> |
| | | <if test="reporterNo != null and reporterNo != ''">and reporter_no = #{reporterNo}</if> |
| | | <if test="coordinatorName != null and coordinatorName != ''">and coordinator_name = #{coordinatorName}</if> |
| | | <if test="coordinatorNo != null and coordinatorNo != ''">and coordinatorNo = #{coordinatorNo}</if> |
| | | <if test="countyname != null and countyname != ''">and CountyName like concat('%', #{countyname}, '%')</if> |
| | | </where> |
| | | </select> |
| | |
| | | |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |