zhuyifan

feat(kds): 添加避免备注字段支持

- 在KdsDTO中新增avoidRemark字段
- 更新KdsServiceImpl以包含avoidRemark数据的处理
- 确保订单详情和主订单信息正确映射avoid
......@@ -30,6 +30,7 @@ public class KdsDTO {
private Integer price;
private String roomNo;
private String remark;
private String avoidRemark;
private CustomerNotice customerNotice;
private String adjustSkuRemark;
private String mealTime;
......@@ -79,6 +80,7 @@ public class KdsDTO {
private String tableCode;
private Integer totalCount;
private String remark;
private String avoidRemark;
private String mealTime;
private CustomerNotice customerNotice;
private Integer totalPrice;
......
......@@ -176,6 +176,7 @@ public class KdsServiceImpl implements KdsService {
.count(detail.getCount())
.orderDetailId(detail.getId())
.remark(order.get().getRemark())
.avoidRemark(order.get().getAvoidRemark())
.orderId(order.get().getId())
.roomNo(order.get().getSyncRoomNo().isEmpty() ? order.get().getRoomNo() : order.get().getSyncRoomNo())
.menuId(order.get().getMenuId())
......@@ -413,6 +414,7 @@ public class KdsServiceImpl implements KdsService {
final var kdsOrder = KdsOrderLocationDto.builder()
.totalCount(order.getTotalNum())
.remark(order.getRemark())
.avoidRemark(order.getAvoidRemark())
.orderId(order.getId())
.roomNo(order.getSyncRoomNo().isEmpty() ? order.getRoomNo() : order.getSyncRoomNo())
.tableCode(order.getTableCode())
......