Commit 74902053 authored by shangtx's avatar shangtx

feat: web管理端订单接口增加价格字段

parent 4f761774
......@@ -4,6 +4,7 @@ import com.onsiteservice.common.order.vo.ServiceOrderLogVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
......@@ -34,6 +35,11 @@ public class OrderDetailVO {
@ApiModelProperty(value = "服务数量")
private Integer num;
@ApiModelProperty("订单总价")
private BigDecimal totalPrice;
private BigDecimal price;
@ApiModelProperty(value = "子类服务图片,待受理标题图片url地址")
private String subclassImg;
......
......@@ -49,4 +49,7 @@ public class OrderPageVO {
@ApiModelProperty("创建时间")
private Date createTime;
@ApiModelProperty("订单总价")
private BigDecimal totalPrice;
}
......@@ -15,6 +15,8 @@
t.order_status,
t.price,
t.create_time,
t.total_price,
t.price,
ifnull(t2.user_name, t2.nick_name) user_name
from service_order t
join user t2 on t.account_no = t2.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment