feat: 首页企标实施预警发布预警排除掉废止的企标
This commit is contained in:
+1
@@ -55,6 +55,7 @@ public class LawsEnterpriseStandardServiceImpl extends ServiceImpl<LawsEnterpris
|
||||
|
||||
public IPage<LawsEnterpriseStandard> latestEs(Integer pageNo, Integer pageSize, String field) {
|
||||
QueryWrapper<LawsEnterpriseStandard> esWrapper = new QueryWrapper<>();
|
||||
esWrapper.ne("standard_state", StandardStateEnum.ABOLISH.getStateValue());
|
||||
esWrapper.le(field, LocalDate.now());
|
||||
esWrapper.orderByDesc(field);
|
||||
esWrapper.last("limit 100");
|
||||
|
||||
Reference in New Issue
Block a user