fixed 订单添加商品信息
This commit is contained in:
parent
e68e7ef115
commit
83ca6b6155
@ -118,7 +118,11 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||||||
QueryWrapper q = new QueryWrapper();
|
QueryWrapper q = new QueryWrapper();
|
||||||
q.eq("uid", uid);
|
q.eq("uid", uid);
|
||||||
q.eq("id", id);
|
q.eq("id", id);
|
||||||
return getOne(q);
|
final OrderInfo o = getOne(q);
|
||||||
|
if(null != o){
|
||||||
|
o.setGoods(goodsService.getById(o.getGid()));
|
||||||
|
}
|
||||||
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long buyHistoryCount(int uid, int gid) {
|
public long buyHistoryCount(int uid, int gid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user