|
@@ -353,8 +353,6 @@ public class OwnCreditController extends BaseController {
|
|
|
List<String> payIdList = CommonUtil.getIdFromList(relList,"zfbrBillId");
|
|
|
Map p = new HashMap();
|
|
|
p.put("payIdList",CommonUtil.listToStr4InSql(payIdList));
|
|
|
- ///加标识,不走sql条件:AND (f.zfi_status IN ('03', '99') OR f.zfi_id IS NULL)
|
|
|
- p.put("flag","flag");
|
|
|
IPage<Map> payList = ownCreditService.getAccountsPay(p,request);
|
|
|
map.put("payList",payList);
|
|
|
}
|
|
@@ -1112,7 +1110,7 @@ public class OwnCreditController extends BaseController {
|
|
|
SysUser use = userInfo.getSysUser();
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
//查询非失效,非删除的融信
|
|
|
- /*LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
+ LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
List<String> stateList = new ArrayList<>();
|
|
|
//以下状态关联了账款不可再查询出来
|
|
|
stateList.add("00");
|
|
@@ -1121,6 +1119,8 @@ public class OwnCreditController extends BaseController {
|
|
|
stateList.add("04");
|
|
|
stateList.add("05");
|
|
|
stateList.add("06");
|
|
|
+ stateList.add("07");
|
|
|
+ stateList.add("08");
|
|
|
financeInfLambdaQueryWrapper.in(ZcFinanceInf::getZfiStatus,stateList).or().isNull(ZcFinanceInf::getZfiStatus);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
@@ -1134,7 +1134,7 @@ public class OwnCreditController extends BaseController {
|
|
|
List<String> billIdList = CommonUtil.getIdFromList(relList,"zfbrBillId");
|
|
|
map.put("billIdList",CommonUtil.listToStr4InSql(billIdList));
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
|
|
|
//获取公司编号
|
|
@@ -1172,7 +1172,7 @@ public class OwnCreditController extends BaseController {
|
|
|
String companyId = use.getCompanyId();
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
//查询非失效,非删除的融信
|
|
|
- /*LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
+ LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
List<String> stateList = new ArrayList<>();
|
|
|
//以下状态关联了账款不可再查询出来
|
|
|
stateList.add("00");
|
|
@@ -1181,6 +1181,8 @@ public class OwnCreditController extends BaseController {
|
|
|
stateList.add("04");
|
|
|
stateList.add("05");
|
|
|
stateList.add("06");
|
|
|
+ stateList.add("07");
|
|
|
+ stateList.add("08");
|
|
|
financeInfLambdaQueryWrapper.in(ZcFinanceInf::getZfiStatus,stateList).or().isNull(ZcFinanceInf::getZfiStatus);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
@@ -1194,7 +1196,7 @@ public class OwnCreditController extends BaseController {
|
|
|
List<String> billIdList = CommonUtil.getIdFromList(relList,"zfbrBillId");
|
|
|
map.put("billIdList",CommonUtil.listToStr4InSql(billIdList));
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
//接收方
|
|
|
if(!CommonUtil.isEmpty(zfiSupplierId)){
|
|
|
//应收企业
|