|
@ -141,6 +141,8 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
if (StringUtils.isNotBlank(query.getCreateBySid())) { |
|
|
if (StringUtils.isNotBlank(query.getCreateBySid())) { |
|
|
qw.eq("createBySid", query.getCreateBySid()); |
|
|
qw.eq("createBySid", query.getCreateBySid()); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
qw.ne("auditState",0); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return qw; |
|
|
return qw; |
|
@ -173,8 +175,26 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
QueryWrapper<FinCollectionConfirmation> qw = createQueryWrapper(query); |
|
|
QueryWrapper<FinCollectionConfirmation> qw = createQueryWrapper(query); |
|
|
IPage<FinCollectionConfirmation> page = PagerUtil.queryToPage(pq); |
|
|
IPage<FinCollectionConfirmation> page = PagerUtil.queryToPage(pq); |
|
|
IPage<FinCollectionConfirmationVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
IPage<FinCollectionConfirmationVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
/* List<FinCollectionConfirmationVo> records = pagging.getRecords(); |
|
|
List<FinCollectionConfirmationVo> records = pagging.getRecords(); |
|
|
for (FinCollectionConfirmationVo record : records) { |
|
|
for (FinCollectionConfirmationVo record : records) { |
|
|
|
|
|
//是否有余额
|
|
|
|
|
|
if(StringUtils.isNotBlank(record.getBalance())){ |
|
|
|
|
|
//余额是0
|
|
|
|
|
|
if(new BigDecimal(record.getBalance()).compareTo(BigDecimal.ZERO) == 0){ |
|
|
|
|
|
record.setShowHandle(false); |
|
|
|
|
|
}else{ |
|
|
|
|
|
//是否是待审核状态或已驳回状态
|
|
|
|
|
|
if(record.getAuditState() == 1 || record.getAuditState() == 2){ |
|
|
|
|
|
record.setShowHandle(false); |
|
|
|
|
|
}else{ |
|
|
|
|
|
record.setShowHandle(true); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
record.setShowHandle(false); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
/* for (FinCollectionConfirmationVo record : records) { |
|
|
String s = ""; |
|
|
String s = ""; |
|
|
BigDecimal subscriptionMoney = new BigDecimal(0); |
|
|
BigDecimal subscriptionMoney = new BigDecimal(0); |
|
|
String sid = record.getSid(); |
|
|
String sid = record.getSid(); |
|
|