|
|
@ -6,6 +6,8 @@ import com.alibaba.fastjson.JSON; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.google.common.util.concurrent.ThreadFactoryBuilder; |
|
|
|
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDetailsVo; |
|
|
|
import com.yxt.anrui.base.api.busvehicleapply.BusVehicleApplyVo; |
|
|
|
import com.yxt.anrui.flowable.api.flow.FlowableFeign; |
|
|
|
import com.yxt.anrui.flowable.api.flow.UpdateFlowFieldVo; |
|
|
|
import com.yxt.anrui.flowable.api.flow2.FlowFeign; |
|
|
@ -139,6 +141,17 @@ public class LoanOverdueFinService extends MybatisBaseService<LoanOverdueFinMapp |
|
|
|
qw.orderByDesc("lof.createTime"); |
|
|
|
IPage<LoanOverdueFin> page = PagerUtil.queryToPage(pq); |
|
|
|
IPage<LoanOverdueFinVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
|
List<LoanOverdueFinVo> paggingRecords = pagging.getRecords(); |
|
|
|
paggingRecords.removeAll(Collections.singleton(null)); |
|
|
|
if (!paggingRecords.isEmpty()) { |
|
|
|
for (LoanOverdueFinVo record : pagging.getRecords()) { |
|
|
|
if (query.getUserSid().equals(record.getCreateBySid())) { |
|
|
|
record.setAllowModify(true); |
|
|
|
} else { |
|
|
|
record.setAllowModify(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
PagerVo<LoanOverdueFinVo> p = PagerUtil.pageToVo(pagging, null); |
|
|
|
return p; |
|
|
|
} |
|
|
|