| | |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.xzx.gc.common.utils.StringUtils; |
| | | import com.xzx.gc.entity.JhyOrder; |
| | | import com.xzx.gc.entity.JhyOrderItems; |
| | | import com.xzx.gc.entity.ScoreOrderDetails; |
| | | import com.xzx.gc.shop.dto.CancelJhyOrderDto; |
| | | import com.xzx.gc.shop.dto.QueryJhyOrderListDto; |
| | | import com.xzx.gc.shop.mapper.JhyOrderItemsMapper; |
| | | import com.xzx.gc.shop.mapper.JhyOrderMapper; |
| | |
| | | |
| | | return viewJhyOrderVo; |
| | | } |
| | | |
| | | public void cancelJhyOrder(CancelJhyOrderDto model) { |
| | | Long id = model.getId(); |
| | | JhyOrder jhyOrder = jhyOrderMapper.selectByPrimaryKey(id); |
| | | jhyOrder.setStatus(JhyOrder.ORDER_STATUS_CANCEL); |
| | | jhyOrderMapper.updateByPrimaryKey(jhyOrder); |
| | | } |
| | | } |