|
@@ -36,30 +36,6 @@ public class MournServiceImpl extends IBaseServiceImpl<MournEntity, Long> implem
|
|
return this.entityMapper;
|
|
return this.entityMapper;
|
|
}
|
|
}
|
|
|
|
|
|
-// @Override
|
|
|
|
-// public Result<MournEntity> search(PageDateDto param, Integer display) {
|
|
|
|
-// startPage(param);
|
|
|
|
-// Condition condition = new Condition(MournEntity.class);
|
|
|
|
-// String searchKey = param.getSearchKey();
|
|
|
|
-// if (StringUtils.isNotBlank(searchKey)) {
|
|
|
|
-// searchKey = StringUtils.trim(searchKey);
|
|
|
|
-// condition.and().orLike("realName", "%" + searchKey + "%")
|
|
|
|
-// .orLike("unit", "%" + searchKey + "%");
|
|
|
|
-// }
|
|
|
|
-// String startTime = param.getStartTime();
|
|
|
|
-// String endTime = param.getEndTime();
|
|
|
|
-// if (StringUtils.isNotBlank(startTime) && StringUtils.isNotBlank(endTime)) {
|
|
|
|
-// condition.and().andBetween("createTime", startTime, endTime);
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// if (display != null) {
|
|
|
|
-// condition.and().andEqualTo("display", display);
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// condition.orderBy("createTime").desc();
|
|
|
|
-// PageInfo<MournEntity> pageInfo = this.findAll(condition, param.getPageNum(), param.getPageSize());
|
|
|
|
-// return Result.success(pageInfo);
|
|
|
|
-// }
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public Result<MournEntity> search(PageDateDto param, Integer display) {
|
|
public Result<MournEntity> search(PageDateDto param, Integer display) {
|