|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.kms.enterprise.service; |
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollectionUtil; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
@ -84,8 +85,17 @@ public class BsSgcYxjdEnterpriseInfoService extends BaseService<BsSgcYxjdEnterpr |
|
|
|
List<CreditDto> list = bsSgcYxjdQualificationsMapper.listByOne(); |
|
|
|
return AjaxResult.success(list); |
|
|
|
} else { |
|
|
|
List<CreditDto> page = bsSgcYxjdQualificationsMapper.listTwo(dto.getPageNum(),dto.getPageSize(),dto.getQualificationCategory()); |
|
|
|
return AjaxResult.success(page); |
|
|
|
if (dto.getAdcd()!=null && dto.equals("省外")) { |
|
|
|
dto.setAdcd("44"); |
|
|
|
List<CreditDto> page = bsSgcYxjdQualificationsMapper.listThree(dto.getPageNum(),dto.getPageSize(),dto.getQualificationCategory(), |
|
|
|
dto.getEnterpriseName(),dto.getAdcd()); |
|
|
|
return AjaxResult.success(page); |
|
|
|
}else { |
|
|
|
List<CreditDto> page = bsSgcYxjdQualificationsMapper.listTwo(dto.getPageNum(),dto.getPageSize(),dto.getQualificationCategory(), |
|
|
|
dto.getEnterpriseName(),dto.getAdcd()); |
|
|
|
return AjaxResult.success(page); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|