|
|
|
@@ -1691,6 +1691,23 @@ public class WxFinanceServiceImpl implements WxFinanceService { |
|
|
|
} |
|
|
|
return page; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Integer getAdvanceUsedBillCount(TenantEntity tenantEntity,Long receiveId) { |
|
|
|
WxFinanceReceiveSetoff aidq = new WxFinanceReceiveSetoff(); |
|
|
|
aidq.updateTenantInfo(tenantEntity); |
|
|
|
aidq.setReceiveId(receiveId); |
|
|
|
List<Long> advanceIdList = wxFinanceReceiveSetoffMapper.findAdvanceIdList(aidq); |
|
|
|
if (null == advanceIdList || advanceIdList.size() <= 0 ) { |
|
|
|
return 0; |
|
|
|
} |
|
|
|
; |
|
|
|
WxFinanceReceiveSetoff rsq = new WxFinanceReceiveSetoff(); |
|
|
|
rsq.updateTenantInfo(tenantEntity); |
|
|
|
rsq.setAdvanceIdList(advanceIdList); |
|
|
|
rsq.setIsDel(EnumYesOrNo.NO.getCode()); |
|
|
|
return wxFinanceReceiveSetoffMapper.findCount(rsq); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageInfo<WxFinanceFinish> finishListAsPage(WxFinanceFinish record, Integer pageIndex, Integer pageSize) { |
|
|
|
|