记得上下班打卡 | 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
5e76394f
Commit
5e76394f
authored
Jun 29, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
ed201ee6
05f4b446
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
133 additions
and
40 deletions
+133
-40
memberInfo.html
...ces/templates/zhengzai/kylin/performances/memberInfo.html
+14
-4
KylinOrderTickets.java
...com/liquidnet/service/kylin/entity/KylinOrderTickets.java
+15
-0
bootstrap-service-consumer.yml
...onsumer/src/main/resources/bootstrap-service-consumer.yml
+2
-2
db_kylin_structure.sql
.../liquidnet-service-kylin-impl/docu/db_kylin_structure.sql
+93
-31
KylinOrderTicketsServiceImpl.java
...vice/kylin/service/impl/KylinOrderTicketsServiceImpl.java
+6
-0
application-dev.yml
...net-support-config/src/main/resources/application-dev.yml
+3
-3
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/memberInfo.html
View file @
5e76394f
...
@@ -149,12 +149,18 @@
...
@@ -149,12 +149,18 @@
"isExclusive"
:
parseInt
(
$
(
"input[name^='isExclusive']:checked"
).
val
())
"isExclusive"
:
parseInt
(
$
(
"input[name^='isExclusive']:checked"
).
val
())
}
}
if
(
$
.
validate
.
form
())
{
if
(
$
.
validate
.
form
())
{
var
canSubmit
=
1
;
$
(
"#ticket-table"
).
find
(
'.content-tr'
).
each
(
function
(
i
,
tr
)
{
$
(
"#ticket-table"
).
find
(
'.content-tr'
).
each
(
function
(
i
,
tr
)
{
$
(
tr
).
find
(
'td'
).
each
(
function
(
y
,
td
)
{
$
(
tr
).
find
(
'td'
).
each
(
function
(
y
,
td
)
{
var
inputName
=
$
(
td
).
find
(
"input"
).
attr
(
"name"
);
var
inputName
=
$
(
td
).
find
(
"input"
).
attr
(
"name"
);
var
inputValue
=
$
(
td
).
find
(
"input"
).
val
();
var
inputValue
=
$
(
td
).
find
(
"input"
).
val
();
if
(
inputName
==
"priceDiscountMember"
)
{
//过滤修改列
if
(
inputName
==
"priceDiscountMember"
)
{
//过滤修改列
performanceMemberAuditParam
[
"ticketMemberAudit["
+
i
+
"].priceDiscountMember"
]
=
parseFloat
(
inputValue
);
performanceMemberAuditParam
[
"ticketMemberAudit["
+
i
+
"].priceDiscountMember"
]
=
parseFloat
(
inputValue
);
if
(
parseFloat
(
$
(
"td[name^='price']"
).
text
())
-
parseFloat
(
inputValue
)
<=
0
)
{
canSubmit
=
0
;
}
}
}
if
(
inputName
==
"memberLimitCount"
)
{
//过滤修改列
if
(
inputName
==
"memberLimitCount"
)
{
//过滤修改列
performanceMemberAuditParam
[
"ticketMemberAudit["
+
i
+
"].memberLimitCount"
]
=
parseInt
(
inputValue
);
performanceMemberAuditParam
[
"ticketMemberAudit["
+
i
+
"].memberLimitCount"
]
=
parseInt
(
inputValue
);
...
@@ -168,9 +174,13 @@
...
@@ -168,9 +174,13 @@
});
});
});
});
$
.
operate
.
post
(
prefix
+
"/memberInfo/submit"
,
performanceMemberAuditParam
,
function
(
res
)
{
if
(
canSubmit
==
1
)
{
location
.
reload
();
$
.
operate
.
post
(
prefix
+
"/memberInfo/submit"
,
performanceMemberAuditParam
,
function
(
res
)
{
});
location
.
reload
();
});
}
else
{
alert
(
"会员优惠后不能小于0"
)
}
}
}
}
}
...
@@ -193,4 +203,4 @@
...
@@ -193,4 +203,4 @@
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/entity/KylinOrderTickets.java
View file @
5e76394f
...
@@ -153,6 +153,21 @@ public class KylinOrderTickets implements Serializable {
...
@@ -153,6 +153,21 @@ public class KylinOrderTickets implements Serializable {
*/
*/
private
String
expressAddress
;
private
String
expressAddress
;
/**
* 城市
*/
private
String
city
;
/**
* 区县
*/
private
String
county
;
/**
* 省份
*/
private
String
province
;
/**
/**
* 收货人联系方式
* 收货人联系方式
*/
*/
...
...
liquidnet-bus-service/liquidnet-service-consumer/src/main/resources/bootstrap-service-consumer.yml
View file @
5e76394f
...
@@ -9,9 +9,9 @@ eureka:
...
@@ -9,9 +9,9 @@ eureka:
spring
:
spring
:
cloud
:
cloud
:
config
:
config
:
# uri: http://
127.0.0.
1:7002/support-config
# uri: http://
39.106.122.20
1:7002/support-config
profile
:
${liquidnet.cloudConfig.profile}
profile
:
${liquidnet.cloudConfig.profile}
name
:
${spring.application.name}
#默认为spring.application.name
name
:
${spring.application.name}
#默认为spring.application.name
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
liquidnet-support-config
service-id
:
liquidnet-support-config
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/db_kylin_structure.sql
View file @
5e76394f
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsServiceImpl.java
View file @
5e76394f
...
@@ -373,6 +373,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -373,6 +373,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
orderTickets
.
setExpressContacts
(
addressesVo
.
getName
());
orderTickets
.
setExpressContacts
(
addressesVo
.
getName
());
orderTickets
.
setExpressAddress
(
addressesVo
.
getProvince
()
+
addressesVo
.
getCity
()
+
addressesVo
.
getCounty
()
+
addressesVo
.
getAddress
());
orderTickets
.
setExpressAddress
(
addressesVo
.
getProvince
()
+
addressesVo
.
getCity
()
+
addressesVo
.
getCounty
()
+
addressesVo
.
getAddress
());
orderTickets
.
setExpressPhone
(
addressesVo
.
getPhone
());
orderTickets
.
setExpressPhone
(
addressesVo
.
getPhone
());
orderTickets
.
setCity
(
addressesVo
.
getCity
());
orderTickets
.
setProvince
(
addressesVo
.
getProvince
());
orderTickets
.
setCounty
(
addressesVo
.
getCounty
());
orderTickets
.
setGetTicketType
(
"express"
);
orderTickets
.
setGetTicketType
(
"express"
);
currentTime
=
System
.
currentTimeMillis
()
-
currentTime
;
currentTime
=
System
.
currentTimeMillis
()
-
currentTime
;
log
.
debug
(
"feign 获取入场人 -> time:"
+
(
currentTime
)
+
"毫秒"
);
log
.
debug
(
"feign 获取入场人 -> time:"
+
(
currentTime
)
+
"毫秒"
);
...
@@ -380,6 +383,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -380,6 +383,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
orderTickets
.
setExpressContacts
(
""
);
orderTickets
.
setExpressContacts
(
""
);
orderTickets
.
setExpressAddress
(
""
);
orderTickets
.
setExpressAddress
(
""
);
orderTickets
.
setExpressPhone
(
""
);
orderTickets
.
setExpressPhone
(
""
);
orderTickets
.
setCity
(
""
);
orderTickets
.
setProvince
(
""
);
orderTickets
.
setCounty
(
""
);
orderTickets
.
setGetTicketType
(
"electronic"
);
orderTickets
.
setGetTicketType
(
"electronic"
);
}
}
orderTickets
.
setCouponType
(
"no"
);
orderTickets
.
setCouponType
(
"no"
);
...
...
liquidnet-bus-support/liquidnet-support-config/src/main/resources/application-dev.yml
View file @
5e76394f
...
@@ -18,10 +18,10 @@ liquidnet:
...
@@ -18,10 +18,10 @@ liquidnet:
username
:
admin
username
:
admin
password
:
admin
password
:
admin
config
:
config
:
# location: /Users/color/company_project/java/liquidnet-bus-v1-1/liquidnet-bus-config/liquidnet-config
# location: /Users/color/company_project/java/liquidnet-bus-v1-1/liquidnet-bus-config/liquidnet-config
location
:
/app/support-config
location
:
/app/support-config
# end-dev-这里是配置信息基本值
# end-dev-这里是配置信息基本值
spring
:
spring
:
profiles
:
profiles
:
include
:
support-config
include
:
support-config
\ No newline at end of file
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