Commit a034b9ec by zhouhb

[+]代码修复

1 parent 7e93502c
...@@ -51,7 +51,7 @@ public class ConvertResponse { ...@@ -51,7 +51,7 @@ public class ConvertResponse {
pagination.setPageNum(list.getPageNum()); pagination.setPageNum(list.getPageNum());
List<T> newList = convertList(list.getList(), clazz); List<T> newList = convertList(list.getList(), clazz);
pagination.setData(newList); pagination.setData(newList);
pagination.setTotalCount((int) list.getTotal()); pagination.setCount((int) list.getTotal());
pagination.setPageSize(list.getPageSize()); pagination.setPageSize(list.getPageSize());
return pagination; return pagination;
} }
......
...@@ -133,13 +133,13 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable ...@@ -133,13 +133,13 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable
* 营业开始时间 * 营业开始时间
*/ */
@ApiModelProperty(notes = "营业开始时间") @ApiModelProperty(notes = "营业开始时间")
private Date bussinessBegintime; private String bussinessBegintime;
/** /**
* 营业结束时间 * 营业结束时间
*/ */
@ApiModelProperty(notes = "营业结束时间") @ApiModelProperty(notes = "营业结束时间")
private Date bussinessEndtime; private String bussinessEndtime;
/** /**
* 经度 * 经度
......
...@@ -122,13 +122,13 @@ public class MerchantUpdateRequest extends DefaultRequest implements Serializabl ...@@ -122,13 +122,13 @@ public class MerchantUpdateRequest extends DefaultRequest implements Serializabl
* 营业开始时间 * 营业开始时间
*/ */
@ApiModelProperty(notes = "营业开始时间") @ApiModelProperty(notes = "营业开始时间")
private Date bussinessBegintime; private String bussinessBegintime;
/** /**
* 营业结束时间 * 营业结束时间
*/ */
@ApiModelProperty(notes = "营业结束时间") @ApiModelProperty(notes = "营业结束时间")
private Date bussinessEndtime; private String bussinessEndtime;
/** /**
* 1.草稿 2.发布 3.注销 4.过期 * 1.草稿 2.发布 3.注销 4.过期
......
...@@ -28,6 +28,9 @@ public class MerchantProTreeRopResponse { ...@@ -28,6 +28,9 @@ public class MerchantProTreeRopResponse {
@ApiModelProperty(name = "logo", notes = "节点标识", dataType = "String", required = true, example = "1") @ApiModelProperty(name = "logo", notes = "节点标识", dataType = "String", required = true, example = "1")
private String logo; private String logo;
@ApiModelProperty(name = "disabled", notes = "disabled")
private Boolean disabled;
@ApiModelProperty(name = "parentId", notes = "父id", dataType = "Integer", required = true, example = "1") @ApiModelProperty(name = "parentId", notes = "父id", dataType = "Integer", required = true, example = "1")
private Integer parentId; private Integer parentId;
......
...@@ -140,14 +140,14 @@ public class MerchantRopResponse { ...@@ -140,14 +140,14 @@ public class MerchantRopResponse {
*/ */
@ApiModelProperty(name = "bussinessBegintime", notes = "营业开始时间", dataType = "Date", required = true, example = "1") @ApiModelProperty(name = "bussinessBegintime", notes = "营业开始时间", dataType = "Date", required = true, example = "1")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date bussinessBegintime; private String bussinessBegintime;
/** /**
* 营业结束时间 * 营业结束时间
*/ */
@ApiModelProperty(name = "bussinessEndtime", notes = "营业结束时间", dataType = "Date", required = true, example = "1") @ApiModelProperty(name = "bussinessEndtime", notes = "营业结束时间", dataType = "Date", required = true, example = "1")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date bussinessEndtime; private String bussinessEndtime;
/** /**
* 商户过期时间 * 商户过期时间
......
...@@ -14,7 +14,7 @@ public class Pagination<T> { ...@@ -14,7 +14,7 @@ public class Pagination<T> {
private Integer pageNum; private Integer pageNum;
private Integer totalCount; private Integer count;
private List<T> data; private List<T> data;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!