|
|
@@ -73,10 +73,10 @@
|
|
|
AND a2.class_id = t1.id
|
|
|
)
|
|
|
<if test="dto.gradeId != null">
|
|
|
- and t1.grade_id = #{dto.gradeId}
|
|
|
+ and a2.grade_id = #{dto.gradeId}
|
|
|
</if>
|
|
|
<if test="dto.classId != null">
|
|
|
- and t1.class_id = #{dto.classId}
|
|
|
+ and a2.class_id = #{dto.classId}
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="getDistributeRoomBedInfo" parameterType="com.xjrsoft.module.room.dto.DistributeRoomBedPageDto" resultType="com.xjrsoft.module.room.vo.DistributeRoomBedPageVo">
|