|
|
|
@ -122,7 +122,14 @@ public class AnncmntDevController extends BaseController {
|
|
|
|
|
public static QueryWrapper<AnncmntDevEntity> getQueryWrapper(AnncmntDevEntityRequest request) {
|
|
|
|
|
AnncmntDevEntity entity = new AnncmntDevEntity();
|
|
|
|
|
BeanCopyUtils.copy(request, entity);
|
|
|
|
|
return new QueryWrapper(entity);
|
|
|
|
|
QueryWrapper queryWrapper = new QueryWrapper(entity);
|
|
|
|
|
if(StringUtils.isNotBlank(request.getEndTime())){
|
|
|
|
|
queryWrapper.le("publicTime",request.getEndTime());
|
|
|
|
|
}
|
|
|
|
|
if(StringUtils.isNotBlank(request.getStartTime())){
|
|
|
|
|
queryWrapper.ge("publicTime",request.getStartTime());
|
|
|
|
|
}
|
|
|
|
|
return queryWrapper;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|