|
|
@@ -20,7 +20,6 @@ import com.xjrsoft.module.room.mapper.RoomRuleMapper;
|
|
|
import com.xjrsoft.module.room.service.IRoomService;
|
|
|
import com.xjrsoft.module.room.vo.RoomExcelVo;
|
|
|
import com.xjrsoft.module.room.vo.RoomPageVo;
|
|
|
-import com.xjrsoft.module.student.entity.BaseStudent;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -124,7 +123,7 @@ public class RoomServiceImpl extends MPJBaseServiceImpl<RoomMapper, Room> implem
|
|
|
public String deleteReachBed(Long id) {
|
|
|
List<RoomBed> bedList = roomBedMapper.selectList(
|
|
|
MPJWrappers.<RoomBed>lambdaJoin()
|
|
|
- .select(BaseStudent::getUserId)
|
|
|
+ .select(RoomBed::getStudentUserId)
|
|
|
.eq(RoomBed::getRoomId, id).isNotNull(RoomBed::getStudentUserId)
|
|
|
);
|
|
|
if(bedList != null && !bedList.isEmpty()){
|