| | |
| | | "LEFT JOIN sys_user u ON m.id_card = u.id_card\n" + |
| | | "LEFT JOIN com_pb_org o ON m.org_id = o.id"+ |
| | | " where m.audit_result in (0,3) " + |
| | | "<if test='pagePartyBuildingMemberVO.phone != null and pagePartyBuildingMemberVO.phone.trim() != ""'>" + |
| | | "<if test='pagePartyBuildingMemberVO.phone != null and pagePartyBuildingMemberVO.phone != ""'>" + |
| | | " and u.phone = #{pagePartyBuildingMemberVO.phone} "+ |
| | | " </if> " + |
| | | "<if test='pagePartyBuildingMemberVO.name != null and pagePartyBuildingMemberVO.name.trim() != ""'>" + |
| | | "<if test='pagePartyBuildingMemberVO.name != null and pagePartyBuildingMemberVO.name != ""'>" + |
| | | " and u.name like concat (#{pagePartyBuildingMemberVO.name},'%')"+ |
| | | " </if> " + |
| | | "<if test='pagePartyBuildingMemberVO.auditStatus != null and pagePartyBuildingMemberVO.auditStatus.trim() != ""'>" + |
| | | "<if test='pagePartyBuildingMemberVO.auditStatus != null and pagePartyBuildingMemberVO.auditStatus != ""'>" + |
| | | " and m.audit_status = #{pagePartyBuildingMemberVO.auditStatus}"+ |
| | | " </if> " + |
| | | " order by m.join_time desc "+ |