Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-merchant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a034b9ec
authored
Aug 09, 2021
by
zhouhb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码修复
1 parent
7e93502c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
8 deletions
src/main/java/cn/com/glsx/merchants/convert/ConvertResponse.java
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantSaveRequest.java
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantUpdateRequest.java
src/main/java/cn/com/glsx/merchants/response/MerchantProTreeRopResponse.java
src/main/java/cn/com/glsx/merchants/response/MerchantRopResponse.java
src/main/java/cn/com/glsx/merchants/util/Pagination.java
src/main/java/cn/com/glsx/merchants/convert/ConvertResponse.java
View file @
a034b9e
...
@@ -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
.
set
Total
Count
((
int
)
list
.
getTotal
());
pagination
.
setCount
((
int
)
list
.
getTotal
());
pagination
.
setPageSize
(
list
.
getPageSize
());
pagination
.
setPageSize
(
list
.
getPageSize
());
return
pagination
;
return
pagination
;
}
}
...
...
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantSaveRequest.java
View file @
a034b9e
...
@@ -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
;
/**
/**
* 经度
* 经度
...
...
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantUpdateRequest.java
View file @
a034b9e
...
@@ -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.过期
...
...
src/main/java/cn/com/glsx/merchants/response/MerchantProTreeRopResponse.java
View file @
a034b9e
...
@@ -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
;
...
...
src/main/java/cn/com/glsx/merchants/response/MerchantRopResponse.java
View file @
a034b9e
...
@@ -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
;
/**
/**
* 商户过期时间
* 商户过期时间
...
...
src/main/java/cn/com/glsx/merchants/util/Pagination.java
View file @
a034b9e
...
@@ -14,7 +14,7 @@ public class Pagination<T> {
...
@@ -14,7 +14,7 @@ public class Pagination<T> {
private
Integer
pageNum
;
private
Integer
pageNum
;
private
Integer
totalC
ount
;
private
Integer
c
ount
;
private
List
<
T
>
data
;
private
List
<
T
>
data
;
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment