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 c5e9a0a8
authored
Jul 23, 2021
by
licy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能入参字段增加、字典时间类型转换、非空校验代码增加
1 parent
f35a2166
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
5 deletions
rop-merchants.iml
src/main/java/cn/com/glsx/merchants/request/dicttype/DictTypeListSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/dicttype/DictTypeUpdateRequest.java
src/main/java/cn/com/glsx/merchants/request/function/FunctionListSearchRequest.java
src/main/java/cn/com/glsx/merchants/response/DictTypeResponse.java
rop-merchants.iml
View file @
c5e9a0a
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
</content>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
name=
"Maven: com.alibaba:fastjson:1.2.44"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.com.glsx.merchants:platform-merchants-api:1.0-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.com.glsx.merchants:platform-merchants-api:1.0-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.com.glsx.framework:framework-core:2.0.0-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.com.glsx.framework:framework-core:2.0.0-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.persistence:javax.persistence-api:2.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.persistence:javax.persistence-api:2.2"
level=
"project"
/>
...
@@ -230,7 +231,7 @@
...
@@ -230,7 +231,7 @@
<orderEntry
type=
"library"
name=
"Maven: io.prometheus:simpleclient:0.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.prometheus:simpleclient:0.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: junit:junit:4.12"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: junit:junit:4.12"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hamcrest:hamcrest-core:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hamcrest:hamcrest-core:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.alibaba:fastjson:1.2.
44
"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.alibaba:fastjson:1.2.
76
"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-test:5.1.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-test:5.1.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-starter-test:2.1.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-starter-test:2.1.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-test:2.1.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-test:2.1.4.RELEASE"
level=
"project"
/>
...
...
src/main/java/cn/com/glsx/merchants/request/dicttype/DictTypeListSearchRequest.java
View file @
c5e9a0a
...
@@ -7,6 +7,8 @@ import com.rop.AbstractRopRequest;
...
@@ -7,6 +7,8 @@ import com.rop.AbstractRopRequest;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
/**
/**
* @author zhouhaibao
* @author zhouhaibao
* @version 1.0
* @version 1.0
...
@@ -16,10 +18,12 @@ import lombok.Data;
...
@@ -16,10 +18,12 @@ import lombok.Data;
@Data
@Data
public
class
DictTypeListSearchRequest
extends
AbstractRopRequest
{
public
class
DictTypeListSearchRequest
extends
AbstractRopRequest
{
@ApiModelProperty
(
notes
=
"分页数"
)
@ApiModelProperty
(
notes
=
"分页数"
,
required
=
true
)
@NotNull
private
Integer
pageSize
;
private
Integer
pageSize
;
@ApiModelProperty
(
notes
=
"当前页"
)
@ApiModelProperty
(
notes
=
"当前页"
,
required
=
true
)
@NotNull
private
Integer
pageNumer
;
private
Integer
pageNumer
;
/**
/**
...
...
src/main/java/cn/com/glsx/merchants/request/dicttype/DictTypeUpdateRequest.java
View file @
c5e9a0a
...
@@ -49,8 +49,7 @@ public class DictTypeUpdateRequest extends AbstractRopRequest {
...
@@ -49,8 +49,7 @@ public class DictTypeUpdateRequest extends AbstractRopRequest {
/**
/**
* 更新者
* 更新者
*/
*/
@ApiModelProperty
(
notes
=
"更新者"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"更新者"
)
@NotNull
private
Integer
updatedBy
;
private
Integer
updatedBy
;
}
}
src/main/java/cn/com/glsx/merchants/request/function/FunctionListSearchRequest.java
View file @
c5e9a0a
...
@@ -39,4 +39,16 @@ public class FunctionListSearchRequest extends AbstractRopRequest {
...
@@ -39,4 +39,16 @@ public class FunctionListSearchRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"功能名称"
)
@ApiModelProperty
(
notes
=
"功能名称"
)
private
String
functionName
;
private
String
functionName
;
/**
* 所属客户群 1.账户类型 2.商户层级 3.商户id 4.账户角色
*/
@ApiModelProperty
(
notes
=
"所属客户群 1.账户类型 2.商户层级 3.商户id 4.账户角色"
)
private
Integer
ownedCusgroupType
;
/**
* 所属客户群体值
*/
@ApiModelProperty
(
notes
=
"所属客户群体值"
)
private
String
ownedCusgroupValue
;
}
}
src/main/java/cn/com/glsx/merchants/response/DictTypeResponse.java
View file @
c5e9a0a
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -37,6 +38,7 @@ public class DictTypeResponse implements Serializable {
...
@@ -37,6 +38,7 @@ public class DictTypeResponse implements Serializable {
@ApiModelProperty
(
name
=
"createdDate"
,
notes
=
"创建时间"
,
dataType
=
"Date"
,
required
=
true
,
example
=
"assas"
,
value
=
"创建时间"
)
@ApiModelProperty
(
name
=
"createdDate"
,
notes
=
"创建时间"
,
dataType
=
"Date"
,
required
=
true
,
example
=
"assas"
,
value
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdDate
;
private
Date
createdDate
;
...
...
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