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

View File

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