pc端订单信息修改

This commit is contained in:
zhengheng 2023-10-26 11:02:12 +08:00
parent e32e79c496
commit 9d91b84d29
2 changed files with 16 additions and 18 deletions

View File

@ -7,15 +7,12 @@ import com.xinelu.manage.domain.goodsOrder.GoodsOrder;
import com.xinelu.manage.dto.goodsorder.GoodsOrderDTO;
import com.xinelu.manage.mapper.goodsOrder.GoodsOrderMapper;
import com.xinelu.manage.service.goodsOrder.IGoodsOrderService;
import com.xinelu.manage.vo.goodsorder.AppGoodsOrderVO;
import com.xinelu.manage.vo.goodsorder.GoodsInfoOrderVO;
import com.xinelu.manage.vo.goodsorder.GoodsOrderDetailsVO;
import com.xinelu.manage.vo.goodsorder.GoodsOrderRefundVO;
import com.xinelu.manage.vo.goodsorder.GoodsOrderVO;
import com.xinelu.manage.vo.goodsorder.*;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
/**
@ -137,18 +134,20 @@ public class GoodsOrderServiceImpl implements IGoodsOrderService {
return goodsOrderMapper.getGoodsOrderRefund(goodsOrderId);
}
@Override public List<AppGoodsOrderVO> getConsultationOrders(GoodsOrderDTO goodsOrderDTO) {
return goodsOrderMapper.getConsultationOrders(goodsOrderDTO);
}
@Override
public List<AppGoodsOrderVO> getConsultationOrders(GoodsOrderDTO goodsOrderDTO) {
return goodsOrderMapper.getConsultationOrders(goodsOrderDTO);
}
@Override public int updateStatus(GoodsOrderDTO goodsOrderDTO) {
GoodsOrder goodsOrder = new GoodsOrder();
goodsOrder.setId(goodsOrderDTO.getGoodsOrderId());
goodsOrder.setOrderStatus(goodsOrderDTO.getOrderStatus());
return goodsOrderMapper.updateGoodsOrder(goodsOrder);
}
@Override
public int updateStatus(GoodsOrderDTO goodsOrderDTO) {
GoodsOrder goodsOrder = new GoodsOrder();
goodsOrder.setId(goodsOrderDTO.getGoodsOrderId());
goodsOrder.setOrderStatus(goodsOrderDTO.getOrderStatus());
return goodsOrderMapper.updateGoodsOrder(goodsOrder);
}
/**
/**
* 查询订单信息具体明细
*
* @param orderNo 订单编号

View File

@ -499,7 +499,6 @@
</if>
</where>
and gr.del_flag = 0
and god.del_flag = 0
</select>
<select id="selectGoodsOrderDetailsByOrderNo"