Skip to content

Commit

Permalink
fix: sendername이 null로 가는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
eckrin committed Nov 19, 2023
1 parent 02499e9 commit 941798d
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 5 deletions.
15 changes: 11 additions & 4 deletions src/main/generated/com/kusitms/jipbap/order/QOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,22 @@ public class QOrder extends EntityPathBase<Order> {
//inherited
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt;

public final com.kusitms.jipbap.food.QFood food;

public final NumberPath<Long> id = createNumber("id", Long.class);

public final NumberPath<Long> orderCount = createNumber("orderCount", Long.class);
public final ListPath<OrderDetail, QOrderDetail> orderDetail = this.<OrderDetail, QOrderDetail>createList("orderDetail", OrderDetail.class, QOrderDetail.class, PathInits.DIRECT2);

public final NumberPath<Long> regionId = createNumber("regionId", Long.class);

public final QReview review;

public final StringPath selectedOption = createString("selectedOption");

public final EnumPath<OrderStatus> status = createEnum("status", OrderStatus.class);

public final com.kusitms.jipbap.store.QStore store;

public final NumberPath<Long> totalCount = createNumber("totalCount", Long.class);

public final NumberPath<Long> totalPrice = createNumber("totalPrice", Long.class);

//inherited
Expand All @@ -62,7 +68,8 @@ public QOrder(PathMetadata metadata, PathInits inits) {

public QOrder(Class<? extends Order> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.food = inits.isInitialized("food") ? new com.kusitms.jipbap.food.QFood(forProperty("food"), inits.get("food")) : null;
this.review = inits.isInitialized("review") ? new QReview(forProperty("review"), inits.get("review")) : null;
this.store = inits.isInitialized("store") ? new com.kusitms.jipbap.store.QStore(forProperty("store"), inits.get("store")) : null;
this.user = inits.isInitialized("user") ? new com.kusitms.jipbap.user.QUser(forProperty("user"), inits.get("user")) : null;
}

Expand Down
61 changes: 61 additions & 0 deletions src/main/generated/com/kusitms/jipbap/order/QOrderDetail.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
package com.kusitms.jipbap.order;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.dsl.PathInits;


/**
* QOrderDetail is a Querydsl query type for OrderDetail
*/
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QOrderDetail extends EntityPathBase<OrderDetail> {

private static final long serialVersionUID = 1871440338L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QOrderDetail orderDetail = new QOrderDetail("orderDetail");

public final com.kusitms.jipbap.food.QFood food;

public final com.kusitms.jipbap.food.QFoodOption foodOption;

public final NumberPath<Long> id = createNumber("id", Long.class);

public final QOrder order;

public final NumberPath<Long> orderAmount = createNumber("orderAmount", Long.class);

public final NumberPath<Long> orderCount = createNumber("orderCount", Long.class);

public QOrderDetail(String variable) {
this(OrderDetail.class, forVariable(variable), INITS);
}

public QOrderDetail(Path<? extends OrderDetail> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QOrderDetail(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QOrderDetail(PathMetadata metadata, PathInits inits) {
this(OrderDetail.class, metadata, inits);
}

public QOrderDetail(Class<? extends OrderDetail> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.food = inits.isInitialized("food") ? new com.kusitms.jipbap.food.QFood(forProperty("food"), inits.get("food")) : null;
this.foodOption = inits.isInitialized("foodOption") ? new com.kusitms.jipbap.food.QFoodOption(forProperty("foodOption"), inits.get("foodOption")) : null;
this.order = inits.isInitialized("order") ? new QOrder(forProperty("order"), inits.get("order")) : null;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public MessageResponseDto createRoom(MessageRequestDto dto, String email) {
return new MessageResponseDto(messageRoom);
// 6. 이미 생성된 채팅방인 경우 기존 채팅방 이동
} else {
return new MessageResponseDto(messageRoom.getRoomId());
return new MessageResponseDto(messageRoom);
}
}

Expand Down

0 comments on commit 941798d

Please sign in to comment.