Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
customer-service
Commits
37475111
Commit
37475111
authored
Feb 15, 2022
by
yexiong.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
821aabb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
VccRest.java
src/main/java/cn/quantgroup/customer/rest/VccRest.java
+1
-1
OfflineRepaySubmitParam.java
...roup/customer/rest/param/vcc/OfflineRepaySubmitParam.java
+8
-11
No files found.
src/main/java/cn/quantgroup/customer/rest/VccRest.java
View file @
37475111
...
...
@@ -80,7 +80,7 @@ public class VccRest {
@PostMapping
(
"/offline_repay/save_submit"
)
public
JsonResult
saveSubmit
(
HttpServletRequest
request
,
@RequestBody@Valid
OfflineRepaySubmitParam
param
,
BindingResult
bindingResult
){
if
(
bindingResult
.
hasErrors
()){
return
JsonResult
.
buildErrorStateResult
(
bindingResult
.
getFieldError
().
getDefaultMessage
());
return
JsonResult
.
buildErrorStateResult
(
bindingResult
.
getFieldError
(
bindingResult
.
getFieldError
().
getField
()
).
getDefaultMessage
());
}
if
(
param
.
getRepayType
()
==
1
){
if
(
CollectionUtils
.
isEmpty
(
param
.
getList
())){
...
...
src/main/java/cn/quantgroup/customer/rest/param/vcc/OfflineRepaySubmitParam.java
View file @
37475111
package
cn
.
quantgroup
.
customer
.
rest
.
param
.
vcc
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.NotBlank
;
import
org.hibernate.validator.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
import
java.math.BigDecimal
;
import
java.time.LocalDate
;
...
...
@@ -20,24 +17,24 @@ public class OfflineRepaySubmitParam {
private
BigDecimal
actualAmount
;
@NotNull
private
LocalDate
actualDate
;
@Not
Blank
@Not
Null
private
String
transNo
;
@Not
Blank
@Not
Null
private
String
receiveAccount
;
@Not
Blank
@Not
Null
private
String
receiveAccountName
;
@Not
Empty
@Not
Null
private
List
<
String
>
credentialsAddress
;
private
String
mark
;
@NotNull
private
Integer
repayType
;
@Not
Blank
@Not
Null
private
String
name
;
@Not
Blank
@Not
Null
private
String
phone
;
@Not
Blank
@Not
Null
private
String
idNo
;
@Not
Blank
@Not
Null
private
String
repayStatus
;
@NotNull
private
Integer
userId
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment