清单查询
This commit is contained in:
@@ -115,4 +115,7 @@ public class LawsDto {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "文本状态")
|
@ApiModelProperty(value = "文本状态")
|
||||||
private String textStatus;
|
private String textStatus;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "适用车型")
|
||||||
|
private String applyArctic;
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -51,6 +51,9 @@ public class SarLawsAttrDetailedListServiceImpl extends ServiceImpl<SarLawsAttrD
|
|||||||
}
|
}
|
||||||
List<LawsDto> list = sarLawsAttrDetailedListDao.selectLawsById(lawsIds,sarFindDto);
|
List<LawsDto> list = sarLawsAttrDetailedListDao.selectLawsById(lawsIds,sarFindDto);
|
||||||
for (LawsDto lawsDto:list){
|
for (LawsDto lawsDto:list){
|
||||||
|
if (StringUtils.isNoneEmpty(lawsDto.getApplyArctic())){
|
||||||
|
lawsDto.setApplyArctic(lawsDto.getApplyArctic());
|
||||||
|
}
|
||||||
QueryWrapper<SarLawsAttrDetailedList> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<SarLawsAttrDetailedList> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("stand_id",lawsDto.getId())
|
queryWrapper.eq("stand_id",lawsDto.getId())
|
||||||
.eq("detailed_list_id",sarFindDto.getId());
|
.eq("detailed_list_id",sarFindDto.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user