@@ -30,4 +30,7 @@ public class RoomTeacherAppointPageDto extends PageInput {
@ApiModelProperty("宿管员id")
private Long userId;
+
+ @ApiModelProperty("入住身份")
+ private String identity;
}
@@ -32,6 +32,9 @@
WHERE c1.delete_mark = 0 AND c2.id = #{dto.userId}
)
</if>
+ <if test="dto.identity != null and dto.identity != ''">
+ and t1.check_in_status like concat('%',#{dto.identity},'%')
+ </if>
ORDER BY t1.sort_code
</select>
</mapper>