fix(国内标准): 80638
This commit is contained in:
+5
-10
@@ -34,6 +34,7 @@ import com.jero.modules.laws.home.common.LawsHomeSearchCommon;
|
||||
import com.jero.modules.laws.home.service.ILawsHomeSearchService;
|
||||
import com.jero.modules.laws.standard.entity.*;
|
||||
import com.jero.modules.laws.standard.service.*;
|
||||
import com.jero.modules.laws.standardization.common.LawsStandardizationCommon;
|
||||
import com.jero.modules.laws.standardization.entity.LawsStandardization;
|
||||
import com.jero.modules.laws.standardization.service.ILawsStandardizationService;
|
||||
import com.jero.modules.oss.entity.OSSFile;
|
||||
@@ -2352,18 +2353,12 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
**/
|
||||
@Override
|
||||
public List<LawsDictModel> getBiddingCommittee() {
|
||||
LambdaQueryWrapper<LawsStandardization> parentQueryWrapper = new LambdaQueryWrapper<>();
|
||||
parentQueryWrapper.eq(LawsStandardization::getPid, "0");
|
||||
List<LawsStandardization> parentList = lawsStandardizationService.list(parentQueryWrapper);
|
||||
if (CollectionUtils.isEmpty(parentList)) {
|
||||
LambdaQueryWrapper<LawsStandardization> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(LawsStandardization::getStandardizationType, LawsStandardizationCommon.FBW);
|
||||
List<LawsStandardization> standardizationList = lawsStandardizationService.list(queryWrapper);
|
||||
if (CollectionUtils.isEmpty(standardizationList)) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
List<String> parentIds = parentList.stream().map(LawsStandardization::getId).collect(Collectors.toList());
|
||||
|
||||
LambdaQueryWrapper<LawsStandardization> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.in(LawsStandardization::getPid, parentIds);
|
||||
List<LawsStandardization> standardizationList = lawsStandardizationService.list(queryWrapper);
|
||||
|
||||
List<LawsDictModel> lawsDictModelList = new ArrayList<>();
|
||||
standardizationList.forEach(standardization -> {
|
||||
LawsDictModel lawsDictModel = new LawsDictModel();
|
||||
|
||||
Reference in New Issue
Block a user