|
@@ -827,9 +827,13 @@ public class OwnCreditController extends BaseController {
|
|
|
LoginUser userInfo = tokenService.getLoginUser();
|
|
|
SysUser use = userInfo.getSysUser();
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
- //查询非失效的融信
|
|
|
+
|
|
|
+ //查询非失效,非删除的融信
|
|
|
LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
- financeInfLambdaQueryWrapper.ne(ZcFinanceInf::getZfiStatus,"03");
|
|
|
+ List<String> stateList = new ArrayList<>();
|
|
|
+ stateList.add("03");
|
|
|
+ stateList.add("99");
|
|
|
+ financeInfLambdaQueryWrapper.notIn(ZcFinanceInf::getZfiStatus,stateList);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
|
//提取融信编号
|
|
@@ -877,9 +881,12 @@ public class OwnCreditController extends BaseController {
|
|
|
//获取公司编号
|
|
|
String companyId = use.getCompanyId();
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
- //查询非失效的融信
|
|
|
+ //查询非失效,非删除的融信
|
|
|
LambdaQueryWrapper<ZcFinanceInf> financeInfLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
- financeInfLambdaQueryWrapper.ne(ZcFinanceInf::getZfiStatus,"03");
|
|
|
+ List<String> stateList = new ArrayList<>();
|
|
|
+ stateList.add("03");
|
|
|
+ stateList.add("99");
|
|
|
+ financeInfLambdaQueryWrapper.notIn(ZcFinanceInf::getZfiStatus,stateList);
|
|
|
List<ZcFinanceInf> financeInfsList = financeInfService.findZcFinanceInfs(financeInfLambdaQueryWrapper);
|
|
|
if(financeInfsList.size() > 0){
|
|
|
//提取融信编号
|