|
|
@@ -388,6 +388,9 @@ public class InvReceivableServiceImpl implements InvReceivableService {
|
|
|
String[] split = invSourceQueryVo.getSigningTime().split(",");
|
|
|
queryWrapper.between(InvSource::getSigningTime,split[0],split[1]);
|
|
|
}
|
|
|
+ if(invSourceQueryVo.getInsuranceDept() != null && !"".equals(invSourceQueryVo.getInsuranceDept())){
|
|
|
+ queryWrapper.eq(InvSource::getInsuranceDept,invSourceQueryVo.getInsuranceDept());
|
|
|
+ }
|
|
|
if(invSourceQueryVo.getClearingState() != null && !"".equals(invSourceQueryVo.getClearingState()))
|
|
|
{
|
|
|
queryWrapper.eq(InvSource::getClearingState,invSourceQueryVo.getClearingState());
|
|
|
@@ -445,6 +448,9 @@ public class InvReceivableServiceImpl implements InvReceivableService {
|
|
|
String[] split = invSourceQueryVo.getClearingTime().split(",");
|
|
|
queryWrapper.between(InvSource::getClearingTime,split[0],split[1]);
|
|
|
}
|
|
|
+ if(invSourceQueryVo.getInsuranceDept() != null && !"".equals(invSourceQueryVo.getInsuranceDept())){
|
|
|
+ queryWrapper.eq(InvSource::getInsuranceDept,invSourceQueryVo.getInsuranceDept());
|
|
|
+ }
|
|
|
if(invSourceQueryVo.getSigningTime() != null && !"".equals(invSourceQueryVo.getSigningTime())){
|
|
|
String[] split = invSourceQueryVo.getSigningTime().split(",");
|
|
|
queryWrapper.between(InvSource::getSigningTime,split[0],split[1]);
|
|
|
@@ -539,6 +545,22 @@ public class InvReceivableServiceImpl implements InvReceivableService {
|
|
|
String[] split = invSettlementSourceQueryVo.getSignDate().split(",");
|
|
|
queryWrapper.between(InvSettlementSource::getSignDate,split[0],split[1]);
|
|
|
}
|
|
|
+ if(invSettlementSourceQueryVo.getAgencySettlementTime() != null && !"".equals(invSettlementSourceQueryVo.getAgencySettlementTime()))
|
|
|
+ {
|
|
|
+ String[] split = invSettlementSourceQueryVo.getAgencySettlementTime().split(",");
|
|
|
+ queryWrapper.between(InvSettlementSource::getAgencySettlementTime,split[0],split[1]);
|
|
|
+ }
|
|
|
+ if(invSettlementSourceQueryVo.getChannel() != null && !"".equals(invSettlementSourceQueryVo.getChannel()))
|
|
|
+ {
|
|
|
+ queryWrapper.eq(InvSettlementSource::getChannel,invSettlementSourceQueryVo.getChannel());
|
|
|
+ }
|
|
|
+ if(invSettlementSourceQueryVo.getChannelClassification() != null && !"".equals(invSettlementSourceQueryVo.getChannelClassification()))
|
|
|
+ {
|
|
|
+ queryWrapper.eq(InvSettlementSource::getChannelClassification,invSettlementSourceQueryVo.getChannelClassification());
|
|
|
+ }
|
|
|
+ if(invSettlementSourceQueryVo.getInsuredName() != null && !"".equals(invSettlementSourceQueryVo.getInsuredName())){
|
|
|
+ queryWrapper.like(InvSettlementSource::getInsuredName,invSettlementSourceQueryVo.getInsuredName());
|
|
|
+ }
|
|
|
Page pageData = invSettlementSourceMapper.selectPage(page, queryWrapper);
|
|
|
|
|
|
return pageData;
|
|
|
@@ -599,7 +621,7 @@ public class InvReceivableServiceImpl implements InvReceivableService {
|
|
|
@Override
|
|
|
public Page<ReceivableAndSettlementVo> getReceivableAndSettlementPage(ReceivableAndSettlementQueryVo receivableAndSettlementQueryVo) {
|
|
|
Page page = new Page();
|
|
|
- page.setPages(receivableAndSettlementQueryVo.getPageNum());
|
|
|
+ page.setCurrent(receivableAndSettlementQueryVo.getPageNum());
|
|
|
page.setSize(receivableAndSettlementQueryVo.getPageSize());
|
|
|
Page<ReceivableAndSettlementVo> receivableAndSettlementPage = invReceivableMapper.getReceivableAndSettlementPage(page, receivableAndSettlementQueryVo);
|
|
|
return receivableAndSettlementPage;
|