|
|
@ -26,6 +26,7 @@ |
|
|
|
package com.yxt.anrui.riskcenter.biz.loancaseentrustlawyerapply; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.date.DateTime; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
@ -203,6 +204,14 @@ public class LoanCaseEntrustLawyerApplyService extends MybatisBaseService<LoanCa |
|
|
|
qw.orderByDesc("createTime"); |
|
|
|
IPage<LoanCaseEntrustLawyerApply> page = PagerUtil.queryToPage(pq); |
|
|
|
IPage<LoanCaseEntrustLawyerApplyVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
|
for (LoanCaseEntrustLawyerApplyVo record : pagging.getRecords()) { |
|
|
|
if ("终止".equals(record.getNodeState()) || "已办结".equals(record.getNodeState())) { |
|
|
|
DateTime modifyTime = DateUtil.parse(record.getModifyTime()); |
|
|
|
record.setModifyTime(DateUtil.formatDate(modifyTime)); |
|
|
|
} else { |
|
|
|
record.setModifyTime(""); |
|
|
|
} |
|
|
|
} |
|
|
|
PagerVo<LoanCaseEntrustLawyerApplyVo> p = PagerUtil.pageToVo(pagging, null); |
|
|
|
return p; |
|
|
|
} |
|
|
|