@@ -42,4 +42,7 @@ public class RoomBedPageDto extends PageInput {
@ApiModelProperty("入住身份")
public String identity;
+
+ @ApiModelProperty("床位号")
+ public String bedNumber;
}
@@ -42,6 +42,9 @@
<if test="dto.identity != null and dto.identity != ''">
and t2.check_in_status like concat('%',#{dto.identity},'%')
</if>
+ <if test="dto.bedNumber != null and dto.bedNumber != ''">
+ and t1.bed_number like concat('%',#{dto.bedNumber},'%')
+ </if>
ORDER BY t1.sort_code
</select>