|
@@ -933,13 +933,17 @@ public class OwnCreditController extends BaseController {
|
|
|
LoginUser userInfo = tokenService.getLoginUser();
|
|
|
SysUser use = userInfo.getSysUser();
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
-
|
|
|
//查询非失效,非删除的融信
|
|
|
LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
List<String> stateList = new ArrayList<>();
|
|
|
- stateList.add("03");
|
|
|
- stateList.add("99");
|
|
|
- financeInfLambdaQueryWrapper.notIn(ZcFinanceInf::getZfiStatus,stateList);
|
|
|
+ //以下状态关联了账款不可再查询出来
|
|
|
+ stateList.add("00");
|
|
|
+ stateList.add("01");
|
|
|
+ stateList.add("02");
|
|
|
+ stateList.add("04");
|
|
|
+ stateList.add("05");
|
|
|
+ stateList.add("06");
|
|
|
+ financeInfLambdaQueryWrapper.in(ZcFinanceInf::getZfiStatus,stateList).or().isNull(ZcFinanceInf::getZfiStatus);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
|
//提取融信编号
|
|
@@ -992,9 +996,14 @@ public class OwnCreditController extends BaseController {
|
|
|
//查询非失效,非删除的融信
|
|
|
LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
List<String> stateList = new ArrayList<>();
|
|
|
- stateList.add("03");
|
|
|
- stateList.add("99");
|
|
|
- financeInfLambdaQueryWrapper.notIn(ZcFinanceInf::getZfiStatus,stateList);
|
|
|
+ //以下状态关联了账款不可再查询出来
|
|
|
+ stateList.add("00");
|
|
|
+ stateList.add("01");
|
|
|
+ stateList.add("02");
|
|
|
+ stateList.add("04");
|
|
|
+ stateList.add("05");
|
|
|
+ stateList.add("06");
|
|
|
+ financeInfLambdaQueryWrapper.in(ZcFinanceInf::getZfiStatus,stateList).or().isNull(ZcFinanceInf::getZfiStatus);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
|
//提取融信编号
|