前台接口控制是否显示优化
parent
f265d2b379
commit
6c33a9d1cf
|
|
@ -49,7 +49,7 @@ public class BannerFrontServiceImpl implements IBannerFrontService {
|
||||||
Integer limit = pageValidate.getPageSize();
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
QueryWrapper<BannerFront> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<BannerFront> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("is_delete", 0);
|
queryWrapper.eq("is_delete", 0).eq("is_show", 1);
|
||||||
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
||||||
|
|
||||||
bannerFrontMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
bannerFrontMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public class BannerServiceImpl implements IBannerService {
|
||||||
Integer limit = pageValidate.getPageSize();
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
QueryWrapper<Banner> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<Banner> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("is_delete", 0);
|
queryWrapper.eq("is_delete", 0).eq("is_show", 1);
|
||||||
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
||||||
|
|
||||||
bannerMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
bannerMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ public class CaseServiceImpl implements ICaseService {
|
||||||
Integer limit = pageValidate.getPageSize();
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
QueryWrapper<Case> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<Case> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("is_delete", 0);
|
queryWrapper.eq("is_delete", 0).eq("is_show", 1);
|
||||||
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
||||||
|
|
||||||
caseMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
caseMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ public class ContactServiceImpl implements IContactService {
|
||||||
Integer limit = pageValidate.getPageSize();
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
QueryWrapper<Contact> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<Contact> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("is_delete", 0);
|
queryWrapper.eq("is_delete", 0).eq("is_show", 1);
|
||||||
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
||||||
|
|
||||||
contactMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
contactMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue