记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
董敬伟
liquidnet-bus-v1
Commits
af856b09
Commit
af856b09
authored
Jul 04, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
cae69328
5f576324
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
AdamEntersParam.java
.../java/com/liquidnet/service/adam/dto/AdamEntersParam.java
+3
-2
refundConfig.html
...s/templates/zhengzai/kylin/performances/refundConfig.html
+2
-1
LnsRegex.java
...in/java/com/liquidnet/commons/lang/constant/LnsRegex.java
+4
-0
KylinOrderTicketsServiceImpl.java
...vice/kylin/service/impl/KylinOrderTicketsServiceImpl.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-adam-api/src/main/java/com/liquidnet/service/adam/dto/AdamEntersParam.java
View file @
af856b09
...
@@ -23,7 +23,8 @@ public class AdamEntersParam implements java.io.Serializable {
...
@@ -23,7 +23,8 @@ public class AdamEntersParam implements java.io.Serializable {
@ApiModelProperty
(
position
=
13
,
required
=
true
,
value
=
"证件类型:1-大陆身份证,2-港澳通行证,3-台胞证,4-护照,5-军官证"
,
allowableValues
=
"1,2,3,4,5"
)
@ApiModelProperty
(
position
=
13
,
required
=
true
,
value
=
"证件类型:1-大陆身份证,2-港澳通行证,3-台胞证,4-护照,5-军官证"
,
allowableValues
=
"1,2,3,4,5"
)
@NotNull
@Min
(
1
)
@Max
(
5
)
@NotNull
@Min
(
1
)
@Max
(
5
)
private
Integer
type
;
private
Integer
type
;
@ApiModelProperty
(
position
=
14
,
required
=
true
,
value
=
"入场人证件号[11]"
,
example
=
"110101110001010111"
)
@ApiModelProperty
(
position
=
14
,
required
=
true
,
value
=
"入场人证件号[30]"
,
example
=
"110101110001010111"
)
// @Pattern(regexp = LnsRegex.Valid.CHINESE_ID_CARD, message = "身份证号格式有误")
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
LETTER_NUMBER
,
message
=
"证件号格式有误"
)
@Size
(
min
=
1
,
max
=
30
)
private
String
idCard
;
private
String
idCard
;
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/refundConfig.html
View file @
af856b09
...
@@ -80,7 +80,8 @@
...
@@ -80,7 +80,8 @@
refundOpenTime
:
$
(
"input[name^='refundOpenTime']"
).
val
(),
refundOpenTime
:
$
(
"input[name^='refundOpenTime']"
).
val
(),
refundCloseTime
:
$
(
"input[name^='refundCloseTime']"
).
val
()
refundCloseTime
:
$
(
"input[name^='refundCloseTime']"
).
val
()
}
}
if
(
$
(
"input[name^='refundCloseTime']"
).
text
()
==
""
||
$
(
"input[name^='refundOpenTime']"
).
text
())
{
if
(
$
(
"input[name^='refundCloseTime']"
).
val
()
==
""
||
$
(
"input[name^='refundOpenTime']"
).
val
()
==
""
)
{
alert
(
"定时时间不能为空"
);
alert
(
"定时时间不能为空"
);
}
else
{
}
else
{
$
.
operate
.
post
(
prefix
+
"/refundConfig/change"
,
$
.
operate
.
post
(
prefix
+
"/refundConfig/change"
,
...
...
liquidnet-bus-common/liquidnet-common-base/src/main/java/com/liquidnet/commons/lang/constant/LnsRegex.java
View file @
af856b09
...
@@ -22,5 +22,9 @@ public class LnsRegex {
...
@@ -22,5 +22,9 @@ public class LnsRegex {
* 身份证号(15位||18位)
* 身份证号(15位||18位)
*/
*/
public
static
final
String
CHINESE_ID_CARD
=
"(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)"
;
public
static
final
String
CHINESE_ID_CARD
=
"(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)"
;
/**
* 字母、数字组合
*/
public
static
final
String
LETTER_NUMBER
=
"^[A-Z0-9]+$"
;
}
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsServiceImpl.java
View file @
af856b09
...
@@ -1164,7 +1164,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -1164,7 +1164,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
}
}
BigDecimal
refundSinglePrice
=
dataUtils
.
getCanRefundOrderEntitiesPrice
(
orderTicketVo
,
kylinOrderRefundsVoBaseList
,
orderTicketEntitiesId
);
BigDecimal
refundSinglePrice
=
dataUtils
.
getCanRefundOrderEntitiesPrice
(
orderTicketVo
,
kylinOrderRefundsVoBaseList
,
orderTicketEntitiesId
);
if
(
refundSinglePrice
.
doubleValue
()
<=
0
)
{
if
(
refundSinglePrice
.
compareTo
(
BigDecimal
.
ZERO
)>
0
)
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20022"
));
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20022"
));
}
}
Map
token
=
CurrentUtil
.
getTokenClaims
();
Map
token
=
CurrentUtil
.
getTokenClaims
();
...
...
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