记得上下班打卡 | 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
5819a36c
Commit
5819a36c
authored
Jun 07, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
e8884ac8
3f27ff8b
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
278 deletions
+60
-278
details.html
...ces/templates/zhengzai/kylin/order/orderList/details.html
+1
-214
orderList.html
...s/templates/zhengzai/kylin/order/orderList/orderList.html
+6
-6
ServiceAdamApplication.java
...in/java/com/liquidnet/service/ServiceAdamApplication.java
+4
-5
ServiceKylinApplication.java
...n/java/com/liquidnet/service/ServiceKylinApplication.java
+4
-4
KylinStationController.java
...dnet/service/kylin/controller/KylinStationController.java
+45
-49
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/order/orderList/details.html
View file @
5819a36c
This diff is collapsed.
Click to expand it.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/order/orderList/orderList.html
View file @
5819a36c
...
@@ -37,23 +37,23 @@
...
@@ -37,23 +37,23 @@
</li>
</li>
<li>
<li>
<label>
支付方式:
</label>
<label>
支付方式:
</label>
<select
name=
"
orderType
"
>
<select
name=
"
paymentType"
th:with=
"type=${@dict.getType('zhengzai_pay_type')}
"
>
<option
value=
""
>
所有
</option>
<option
value=
""
>
所有
</option>
<option
value=
"-1"
>
代码生成请选择字典属性
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
>
</option>
</select>
</select>
</li>
</li>
<li>
<li>
<label>
订单状态:
</label>
<label>
订单状态:
</label>
<select
name=
"order
Type
"
>
<select
name=
"order
Status"
th:with=
"type=${@dict.getType('zhengzai_order_status')}
"
>
<option
value=
""
>
所有
</option>
<option
value=
""
>
所有
</option>
<option
value=
"-1"
>
代码生成请选择字典属性
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
>
</option>
</select>
</select>
</li>
</li>
<li>
<li>
<label>
客户端:
</label>
<label>
客户端:
</label>
<select
name=
"order
Type
"
>
<select
name=
"order
Source"
th:with=
"type=${@dict.getType('zhengzai_order_source')}
"
>
<option
value=
""
>
所有
</option>
<option
value=
""
>
所有
</option>
<option
value=
"-1"
>
代码生成请选择字典属性
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
>
</option>
</select>
</select>
</li>
</li>
<li>
<li>
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/ServiceAdamApplication.java
View file @
5819a36c
...
@@ -19,7 +19,6 @@ import java.util.Arrays;
...
@@ -19,7 +19,6 @@ import java.util.Arrays;
@Slf4j
@Slf4j
@EnableFeignClients
@EnableFeignClients
@MapperScan
(
basePackages
=
"com.liquidnet.service.adam.mapper"
)
@MapperScan
(
basePackages
=
"com.liquidnet.service.adam.mapper"
)
//@SpringBootApplication(scanBasePackages = {"com.liquidnet"},exclude = {MongoAutoConfiguration.class,})
@SpringBootApplication
(
scanBasePackages
=
{
"com.liquidnet"
})
@SpringBootApplication
(
scanBasePackages
=
{
"com.liquidnet"
})
public
class
ServiceAdamApplication
implements
CommandLineRunner
{
public
class
ServiceAdamApplication
implements
CommandLineRunner
{
@Autowired
@Autowired
...
@@ -48,8 +47,8 @@ public class ServiceAdamApplication implements CommandLineRunner {
...
@@ -48,8 +47,8 @@ public class ServiceAdamApplication implements CommandLineRunner {
}
}
}
}
@Bean
//
@Bean
MongoTransactionManager
transactionManager
(
MongoDbFactory
factory
){
//
MongoTransactionManager transactionManager(MongoDbFactory factory){
return
new
MongoTransactionManager
(
factory
);
//
return new MongoTransactionManager(factory);
}
//
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/ServiceKylinApplication.java
View file @
5819a36c
...
@@ -48,8 +48,8 @@ public class ServiceKylinApplication implements CommandLineRunner {
...
@@ -48,8 +48,8 @@ public class ServiceKylinApplication implements CommandLineRunner {
}
}
}
}
@Bean
//
@Bean
MongoTransactionManager
transactionManager
(
MongoDbFactory
factory
){
//
MongoTransactionManager transactionManager(MongoDbFactory factory){
return
new
MongoTransactionManager
(
factory
);
//
return new MongoTransactionManager(factory);
}
//
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/controller/KylinStationController.java
View file @
5819a36c
...
@@ -33,7 +33,6 @@ import org.springframework.web.bind.annotation.*;
...
@@ -33,7 +33,6 @@ import org.springframework.web.bind.annotation.*;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Pattern
;
import
javax.validation.constraints.Pattern
;
import
javax.validation.constraints.Size
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.nio.charset.StandardCharsets
;
import
java.nio.charset.StandardCharsets
;
import
java.time.LocalDate
;
import
java.time.LocalDate
;
...
@@ -119,13 +118,10 @@ public class KylinStationController {
...
@@ -119,13 +118,10 @@ public class KylinStationController {
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"Integer"
,
name
=
"pageSize"
,
value
=
"页记录数"
,
example
=
"5"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"Integer"
,
name
=
"pageSize"
,
value
=
"页记录数"
,
example
=
"5"
),
})
})
@GetMapping
(
"performances"
)
@GetMapping
(
"performances"
)
public
ResponseDto
<
PageInfo
<
KylinStationPerformanceVo
>>
performances
(
@Pattern
(
regexp
=
"\\
d{11}"
,
message
=
"手机号格式有误
"
)
public
ResponseDto
<
PageInfo
<
KylinStationPerformanceVo
>>
performances
(
@Pattern
(
regexp
=
"\\
b(recent|over)\\b"
,
message
=
"模块参数无效
"
)
@RequestParam
String
mod
,
@RequestParam
String
mod
,
@Size
(
max
=
30
,
message
=
"匹配字符过长"
)
@RequestParam
(
required
=
false
)
String
match
,
@RequestParam
(
required
=
false
)
String
match
,
@Size
(
min
=
1
,
max
=
100
,
message
=
"页码无效"
)
@RequestParam
(
defaultValue
=
"1"
,
required
=
false
)
int
pageNo
,
@RequestParam
(
defaultValue
=
"1"
,
required
=
false
)
int
pageNo
,
@Size
(
min
=
5
,
max
=
10
,
message
=
"页记录数无效"
)
@RequestParam
(
defaultValue
=
"5"
,
required
=
false
)
int
pageSize
)
{
@RequestParam
(
defaultValue
=
"5"
,
required
=
false
)
int
pageSize
)
{
List
<
KylinStationPerformanceVo
>
voList
=
new
ArrayList
<>();
List
<
KylinStationPerformanceVo
>
voList
=
new
ArrayList
<>();
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
...
@@ -199,8 +195,7 @@ public class KylinStationController {
...
@@ -199,8 +195,7 @@ public class KylinStationController {
// 演出的所有订单票明细
// 演出的所有订单票明细
List
<
KylinOrderTicketEntitiesVo
>
performanceTicketEntitiesVoList
=
oteVoMap
.
get
(
r
.
getPerformancesId
());
List
<
KylinOrderTicketEntitiesVo
>
performanceTicketEntitiesVoList
=
oteVoMap
.
get
(
r
.
getPerformancesId
());
if
(!
CollectionUtils
.
isEmpty
(
performanceTicketEntitiesVoList
))
continue
;
if
(!
CollectionUtils
.
isEmpty
(
performanceTicketEntitiesVoList
))
{
// 订单票明细按票种分组
// 订单票明细按票种分组
Map
<
String
,
List
<
KylinOrderTicketEntitiesVo
>>
performanceTicketEntitiesVoMap
=
Map
<
String
,
List
<
KylinOrderTicketEntitiesVo
>>
performanceTicketEntitiesVoMap
=
performanceTicketEntitiesVoList
.
stream
().
collect
(
Collectors
.
groupingBy
(
KylinOrderTicketEntitiesVo:
:
getTicketId
));
performanceTicketEntitiesVoList
.
stream
().
collect
(
Collectors
.
groupingBy
(
KylinOrderTicketEntitiesVo:
:
getTicketId
));
...
@@ -247,6 +242,7 @@ public class KylinStationController {
...
@@ -247,6 +242,7 @@ public class KylinStationController {
}
}
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"验票:查取演出列表异常:/station/performances/?"
,
e
);
log
.
error
(
"验票:查取演出列表异常:/station/performances/?"
,
e
);
}
}
...
...
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