Commit f0150759 by 吴迪

【新增】

parent 8b4fbdc8
...@@ -46,6 +46,9 @@ public class CasesServiceImpl extends ServiceImpl<CasesDao, CasesEntity> impleme ...@@ -46,6 +46,9 @@ public class CasesServiceImpl extends ServiceImpl<CasesDao, CasesEntity> impleme
if (params.get("title") != null && StringUtils.isNotBlank(params.get("title").toString())) { if (params.get("title") != null && StringUtils.isNotBlank(params.get("title").toString())) {
queryWrapper.like("title", params.get("title").toString()); queryWrapper.like("title", params.get("title").toString());
} }
if (params.get("service") != null && StringUtils.isNotBlank(params.get("service").toString())) {
queryWrapper.like("service",params.get("service").toString());
}
return casesDao.selectPage(page, queryWrapper); return casesDao.selectPage(page, queryWrapper);
} }
......
...@@ -86,9 +86,16 @@ public class PartnersServiceImpl extends ServiceImpl<PartnersDao, PartnersEntity ...@@ -86,9 +86,16 @@ public class PartnersServiceImpl extends ServiceImpl<PartnersDao, PartnersEntity
QueryWrapper<PartnersEntity> queryWrapper = new QueryWrapper<>(); QueryWrapper<PartnersEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("status", "1"); queryWrapper.eq("status", "1");
queryWrapper.gt("levels", "0"); queryWrapper.gt("levels", "0");
if (params.get("firmname") != null && StringUtils.isNotBlank(params.get("firmname").toString())) { if (params.get("firmname") != null && StringUtils.isNotBlank(params.get("firmname").toString())) {
queryWrapper.like("firmname", params.get("firmname").toString()); queryWrapper.like("firmname", params.get("firmname").toString());
} }
if (params.get("service") != null && StringUtils.isNotBlank(params.get("service").toString())) {
queryWrapper.like("service",params.get("service").toString());
}
if (params.get("technology") != null && StringUtils.isNotBlank(params.get("technology").toString())) {
queryWrapper.like("technology",params.get("technology").toString());
}
return baseMapper.selectPage(page, queryWrapper); return baseMapper.selectPage(page, queryWrapper);
//return partnersDao.selectByStatusAndLevels(status,levels); //return partnersDao.selectByStatusAndLevels(status,levels);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment