Compare commits

...

2 Commits

2 changed files with 11 additions and 3 deletions

View File

@ -106,6 +106,10 @@ public class SaDeliverUnhandledController extends BaseController {
param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList()); param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList());
param.setVertexIdList(userAuthorityDTO.getVertexIdList()); param.setVertexIdList(userAuthorityDTO.getVertexIdList());
param.setTeamList(userAuthorityDTO.getUserTeamList()); param.setTeamList(userAuthorityDTO.getUserTeamList());
// 兼容调换货产品
if (CollectionUtil.isEmpty(param.getPkWaresList())) {
param.setPkWaresList(Collections.singletonList(0));
}
startPage(); startPage();
List<DeliverUnhandledVO> resultList = iSaOrderItemsService.queryDeliverUnhandledList(param, pkCountry); List<DeliverUnhandledVO> resultList = iSaOrderItemsService.queryDeliverUnhandledList(param, pkCountry);
@ -149,6 +153,10 @@ public class SaDeliverUnhandledController extends BaseController {
param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList()); param.setAreaScopeList(userAuthorityDTO.getRoleAreaScopeList());
param.setVertexIdList(userAuthorityDTO.getVertexIdList()); param.setVertexIdList(userAuthorityDTO.getVertexIdList());
param.setTeamList(userAuthorityDTO.getUserTeamList()); param.setTeamList(userAuthorityDTO.getUserTeamList());
// 兼容调换货产品
if (CollectionUtil.isEmpty(param.getPkWaresList())) {
param.setPkWaresList(Collections.singletonList(0));
}
List<DeliverUnhandledVO> resultList = iSaOrderItemsService.queryDeliverUnhandledList(param, pkCountry); List<DeliverUnhandledVO> resultList = iSaOrderItemsService.queryDeliverUnhandledList(param, pkCountry);

View File

@ -119,7 +119,7 @@
from sa_order so from sa_order so
where so.del_flag = 0 where so.del_flag = 0
and so.order_status = 1 and so.order_status = 1
and so.order_type in (3, 26, 10) and so.order_type in (3, 14, 26, 10)
and to_char(so.pay_time, 'yyyy-mm-dd') = and to_char(so.pay_time, 'yyyy-mm-dd') =
to_char(sysdate, 'yyyy-mm-dd') to_char(sysdate, 'yyyy-mm-dd')
) b on 1 = 1 ) b on 1 = 1
@ -141,7 +141,7 @@
from sa_order so from sa_order so
where so.del_flag = 0 where so.del_flag = 0
and so.order_status = 1 and so.order_status = 1
and so.order_type in (3, 26, 10) and so.order_type in (3, 14, 26, 10)
and to_char(so.pay_time, 'yyyy-mm-dd') = and to_char(so.pay_time, 'yyyy-mm-dd') =
to_char(sysdate - 1, 'yyyy-mm-dd') to_char(sysdate - 1, 'yyyy-mm-dd')
) b on 1 = 1 ) b on 1 = 1
@ -165,7 +165,7 @@
from sa_order so from sa_order so
where so.del_flag = 0 where so.del_flag = 0
and so.order_status = 1 and so.order_status = 1
and so.order_type in (3, 26, 10) and so.order_type in (3, 14, 26, 10)
and to_char(so.pay_time, 'yyyy-mm') = and to_char(so.pay_time, 'yyyy-mm') =
to_char(sysdate, 'yyyy-mm') to_char(sysdate, 'yyyy-mm')
) b on 1 = 1 ) b on 1 = 1