mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 13:42:07 +08:00
禅道bug#1638修复
This commit is contained in:
+5
@@ -562,6 +562,11 @@ public class PlanServiceImpl implements PlanService {
|
|||||||
|
|
||||||
// 查询满足未排单条件的顶级订单id
|
// 查询满足未排单条件的顶级订单id
|
||||||
IPage<Long> rootOrderIdList = planItemMapper.selectRootOrderIdList(page, queryWrapperX);
|
IPage<Long> rootOrderIdList = planItemMapper.selectRootOrderIdList(page, queryWrapperX);
|
||||||
|
long rootOrderIdListTotal = rootOrderIdList.getTotal();
|
||||||
|
if (rootOrderIdListTotal == 0) {
|
||||||
|
return new PageResult<>();
|
||||||
|
}
|
||||||
|
|
||||||
// 查询顶级列表的信息
|
// 查询顶级列表的信息
|
||||||
IPage<OrderRespVOCopy> orderList = planItemMapper.selectOrderList(page, queryWrapperX, type, orderGoodsIds, rootOrderIdList.getRecords());
|
IPage<OrderRespVOCopy> orderList = planItemMapper.selectOrderList(page, queryWrapperX, type, orderGoodsIds, rootOrderIdList.getRecords());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user