Commit a024c913 authored by 吴琼's avatar 吴琼

添加log

parent 94641753
...@@ -294,14 +294,16 @@ public class IceServiceImpl implements IIceService { ...@@ -294,14 +294,16 @@ public class IceServiceImpl implements IIceService {
* @return * @return
*/ */
private UserOrders queryUserCashApplyOrders(String userId){ private UserOrders queryUserCashApplyOrders(String userId){
log.info("[客服系统] 用户申请订单查询, userId:{},userId"); log.info("[客服系统] 用户申请订单查询, userId:{},userId"+userId);
UserOrders orders = new UserOrders(); UserOrders orders = new UserOrders();
List<LoanOrderVo> voList = new ArrayList<>(); List<LoanOrderVo> voList = new ArrayList<>();
List<LoanOrderVo> voList1 = new ArrayList<>(); List<LoanOrderVo> voList1 = new ArrayList<>();
List<XyqbLoanApplicationHistory> activedOldOrder = null; List<XyqbLoanApplicationHistory> activedOldOrder = null;
if (StringUtils.isNotBlank(userId)) { if (StringUtils.isNotBlank(userId)) {
// 查询出18年迁移前的出老订单. // 查询出18年迁移前的出老订单.
log.info("查询出18年迁移前的出老订单start");
activedOldOrder = loanApplicationHistoryService.findActivedOldOrder(userId); activedOldOrder = loanApplicationHistoryService.findActivedOldOrder(userId);
log.info("查询出18年迁移前的出老订单end,activedOldOrder="+activedOldOrder);
} }
int i = 1; int i = 1;
if (org.springframework.util.CollectionUtils.isEmpty(activedOldOrder)) { if (org.springframework.util.CollectionUtils.isEmpty(activedOldOrder)) {
...@@ -317,8 +319,12 @@ public class IceServiceImpl implements IIceService { ...@@ -317,8 +319,12 @@ public class IceServiceImpl implements IIceService {
i++; i++;
} }
} }
log.info("voList1排序start:voList1="+voList1);
voList1.sort((o1, o2) -> o2.getUpdateAt().compareTo(o1.getUpdateAt())); voList1.sort((o1, o2) -> o2.getUpdateAt().compareTo(o1.getUpdateAt()));
log.info("voList1排序end:voList1="+voList1);
log.info("voList排序start:voList="+voList);
voList.sort((o1, o2) -> o2.getUpdateAt().compareTo(o1.getUpdateAt())); voList.sort((o1, o2) -> o2.getUpdateAt().compareTo(o1.getUpdateAt()));
log.info("voList排序end:voList="+voList);
orders.setInvalidOrders(voList1); orders.setInvalidOrders(voList1);
orders.setActiveOrders(voList); orders.setActiveOrders(voList);
return orders; return orders;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment