完善了订单信息

This commit is contained in:
chen-xin-zhi 2024-11-10 16:06:00 +08:00
parent 791b8009be
commit ab163a2b58
13 changed files with 19 additions and 17 deletions

View File

@ -11,10 +11,10 @@ import com.cultural.heritage.model.dto.cart.CartRecordAddRequest;
import com.cultural.heritage.model.dto.cart.CartRecordUpdateRequest;
import com.cultural.heritage.model.entity.CartRecord;
import com.cultural.heritage.model.entity.Good;
import com.cultural.heritage.model.vo.CartOrderVO;
import com.cultural.heritage.model.vo.CartRecordQueryVO;
import com.cultural.heritage.model.vo.CartRecordVO;
import com.cultural.heritage.model.vo.GoodVO;
import com.cultural.heritage.model.vo.cart.CartOrderVO;
import com.cultural.heritage.model.vo.cart.CartRecordQueryVO;
import com.cultural.heritage.model.vo.cart.CartRecordVO;
import com.cultural.heritage.model.vo.good.GoodVO;
import com.cultural.heritage.service.good.CartRecordService;
import com.cultural.heritage.service.good.GoodService;
import io.swagger.v3.oas.annotations.Operation;

View File

@ -18,7 +18,7 @@ import com.cultural.heritage.model.dto.order.OrderUpdateRequest;
import com.cultural.heritage.model.dto.order.capital.OrderMainInfoAddRequest;
import com.cultural.heritage.model.entity.Order;
import com.cultural.heritage.model.entity.OrderItems;
import com.cultural.heritage.model.vo.OrderVO;
import com.cultural.heritage.model.vo.order.OrderVO;
import com.cultural.heritage.service.order.OrderItemService;
import com.cultural.heritage.service.order.OrderService;
import io.swagger.v3.oas.annotations.Operation;

View File

@ -16,7 +16,7 @@ import com.cultural.heritage.exception.ThrowUtils;
import com.cultural.heritage.model.dto.CommonRequest;
import com.cultural.heritage.model.dto.user.*;
import com.cultural.heritage.model.entity.User;
import com.cultural.heritage.model.vo.UserVO;
import com.cultural.heritage.model.vo.user.UserVO;
import com.cultural.heritage.service.user.UserService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

View File

@ -1,5 +1,6 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.cart;
import com.cultural.heritage.model.vo.good.GoodVO;
import lombok.Data;
import java.io.Serial;

View File

@ -1,4 +1,4 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.cart;
import lombok.Data;

View File

@ -1,5 +1,6 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.cart;
import com.cultural.heritage.model.vo.good.GoodVO;
import lombok.Data;
import java.io.Serial;

View File

@ -1,4 +1,4 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.good;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.order;
import com.cultural.heritage.model.dto.snapshot.AddressSnapshot;

View File

@ -1,4 +1,4 @@
package com.cultural.heritage.model.vo;
package com.cultural.heritage.model.vo.user;
import lombok.Data;

View File

@ -3,7 +3,7 @@ package com.cultural.heritage.service.good;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cultural.heritage.model.dto.cart.CartRecordAddRequest;
import com.cultural.heritage.model.entity.CartRecord;
import com.cultural.heritage.model.vo.CartRecordVO;
import com.cultural.heritage.model.vo.cart.CartRecordVO;
import java.util.List;

View File

@ -9,8 +9,8 @@ import com.cultural.heritage.mapper.GoodMapper;
import com.cultural.heritage.model.dto.cart.CartRecordAddRequest;
import com.cultural.heritage.model.entity.CartRecord;
import com.cultural.heritage.model.entity.Good;
import com.cultural.heritage.model.vo.CartRecordVO;
import com.cultural.heritage.model.vo.GoodVO;
import com.cultural.heritage.model.vo.cart.CartRecordVO;
import com.cultural.heritage.model.vo.good.GoodVO;
import com.cultural.heritage.service.good.CartRecordService;
import jakarta.annotation.Resource;
import org.springframework.beans.BeanUtils;

View File

@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cultural.heritage.model.dto.user.UserQueryRequest;
import com.cultural.heritage.model.entity.User;
import com.cultural.heritage.model.vo.UserVO;
import com.cultural.heritage.model.vo.user.UserVO;
import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

View File

@ -13,7 +13,7 @@ import com.cultural.heritage.mapper.UserMapper;
import com.cultural.heritage.model.dto.user.UserQueryRequest;
import com.cultural.heritage.model.entity.User;
import com.cultural.heritage.model.enums.UserRoleEnum;
import com.cultural.heritage.model.vo.UserVO;
import com.cultural.heritage.model.vo.user.UserVO;
import com.cultural.heritage.service.user.UserService;
import com.cultural.heritage.utils.SqlUtils;
import jakarta.servlet.http.HttpServletRequest;