新增器械公告功能

master
yuanwei 1 year ago
parent 7441edd0a3
commit f1a7437fa9

@ -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;
}
}

@ -102,7 +102,7 @@ public class AnncmntDevEntity implements Serializable {
* 12使3/4.5
*/
@TableField(value = "annType")
private Byte annType;
private Integer annType;
/**
*
@ -120,7 +120,7 @@ public class AnncmntDevEntity implements Serializable {
* 123
*/
@TableField(value = "checkType")
private Byte checkType;
private Integer checkType;
/**
*

@ -77,7 +77,7 @@ public class AnncmntDevEntityRequest extends ListPageRequest {
/**
* 12使3/4.5
*/
private String annType;
private Integer annType;
/**
*
@ -92,7 +92,7 @@ public class AnncmntDevEntityRequest extends ListPageRequest {
/**
* 123
*/
private String checkType;
private Integer checkType;
/**
*
@ -133,4 +133,14 @@ public class AnncmntDevEntityRequest extends ListPageRequest {
*
*/
private String remark;
/**
*
*/
private String startTime;
/**
*
*/
private String endTime;
}

Loading…
Cancel
Save