设备审核接口
This commit is contained in:
@ -93,6 +93,9 @@ public class AjaxResultPro extends HashMap<String, Object>
|
||||
return AjaxResultPro.success("操作成功", data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 返回成功数据
|
||||
*
|
||||
@ -126,6 +129,19 @@ public class AjaxResultPro extends HashMap<String, Object>
|
||||
return new AjaxResultPro(HttpStatus.SUCCESS, msg, data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 返回成功消息
|
||||
*
|
||||
* @param msg 返回内容
|
||||
* @param data 数据对象
|
||||
* @return 成功消息
|
||||
*/
|
||||
public static AjaxResultPro success(int code,String msg, Object data)
|
||||
{
|
||||
return new AjaxResultPro(code, msg, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回警告消息
|
||||
*
|
||||
|
@ -25,9 +25,9 @@ public class BaseEntity implements Serializable
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 搜索值 */
|
||||
@ApiModelProperty("搜索值")
|
||||
@JsonIgnore
|
||||
private String searchValue;
|
||||
// @ApiModelProperty("搜索值")
|
||||
// @JsonIgnore
|
||||
// private String searchValue;
|
||||
|
||||
/** 创建者 */
|
||||
@ApiModelProperty("创建者")
|
||||
@ -57,15 +57,15 @@ public class BaseEntity implements Serializable
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
private Map<String, Object> params;
|
||||
|
||||
public String getSearchValue()
|
||||
{
|
||||
return searchValue;
|
||||
}
|
||||
|
||||
public void setSearchValue(String searchValue)
|
||||
{
|
||||
this.searchValue = searchValue;
|
||||
}
|
||||
// public String getSearchValue()
|
||||
// {
|
||||
// return searchValue;
|
||||
// }
|
||||
//
|
||||
// public void setSearchValue(String searchValue)
|
||||
// {
|
||||
// this.searchValue = searchValue;
|
||||
// }
|
||||
|
||||
public String getCreateBy()
|
||||
{
|
||||
|
Reference in New Issue
Block a user