记得上下班打卡 | 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
f220c786
Commit
f220c786
authored
Oct 21, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pre' into 'master'
Pre See merge request
!106
parents
66cd5672
23ec16bd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
9 deletions
+18
-9
PerformancesExpressController.java
...troller/zhengzai/kylin/PerformancesExpressController.java
+2
-2
ry-ui.js
...ent-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
+1
-1
performancesList.html
.../zhengzai/kylin/performancesExpress/performancesList.html
+10
-3
PerformancesExpressServiceImpl.java
...ai/kylin/service/impl/PerformancesExpressServiceImpl.java
+2
-2
KylinOrderExpressMapper.java
...quidnet/service/kylin/mapper/KylinOrderExpressMapper.java
+2
-1
KylinOrderExpressMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
+1
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/kylin/PerformancesExpressController.java
View file @
f220c786
...
@@ -293,8 +293,8 @@ public class PerformancesExpressController extends BaseController {
...
@@ -293,8 +293,8 @@ public class PerformancesExpressController extends BaseController {
@RequiresPermissions
(
"kylin:performancesExpress:batchPrintExpress"
)
@RequiresPermissions
(
"kylin:performancesExpress:batchPrintExpress"
)
@PostMapping
(
"/batchPrintExpress"
)
@PostMapping
(
"/batchPrintExpress"
)
@ResponseBody
@ResponseBody
public
ResponseDto
<
KylinOrderExpressPrintVo
>
batchPrintExpress
(
@RequestParam
(
"ids"
)
String
performanceId
,
@RequestParam
(
"ticketId"
)
String
ticketId
)
{
public
ResponseDto
<
KylinOrderExpressPrintVo
>
batchPrintExpress
(
@RequestParam
(
"ids"
)
String
performanceId
,
@RequestParam
(
"ticketId"
)
String
ticketId
,
@RequestParam
(
"printNum"
)
Integer
printNum
)
{
KylinOrderExpressPrintVo
res
=
performancesExpressServiceImpl
.
batchPrintExpress
(
performanceId
,
ticketId
);
KylinOrderExpressPrintVo
res
=
performancesExpressServiceImpl
.
batchPrintExpress
(
performanceId
,
ticketId
,
printNum
);
try
{
try
{
return
ResponseDto
.
success
(
res
);
return
ResponseDto
.
success
(
res
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
f220c786
...
@@ -47,7 +47,7 @@ var table = {
...
@@ -47,7 +47,7 @@ var table = {
paginationLoop
:
false
,
paginationLoop
:
false
,
pageSize
:
10
,
pageSize
:
10
,
pageNumber
:
1
,
pageNumber
:
1
,
pageList
:
[
10
,
25
,
50
,
200
],
pageList
:
[
10
,
25
,
50
,
200
,
500
,
2000
],
toolbar
:
"toolbar"
,
toolbar
:
"toolbar"
,
loadingFontSize
:
13
,
loadingFontSize
:
13
,
striped
:
false
,
striped
:
false
,
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performancesExpress/performancesList.html
View file @
f220c786
...
@@ -53,6 +53,12 @@
...
@@ -53,6 +53,12 @@
</select>
</select>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label is-required"
>
数量:
</label>
<div
class=
"col-sm-10"
>
<input
class=
"form-control"
type=
"text"
name=
"printNum"
id=
"printNum"
>
</div>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
...
@@ -266,7 +272,7 @@
...
@@ -266,7 +272,7 @@
LODOP
.
PRINT
();
LODOP
.
PRINT
();
}
}
function
printExpress
(
performanceId
,
ticketId
)
{
function
printExpress
(
performanceId
,
ticketId
,
printNum
)
{
var
message
=
"确定打印吗?"
;
var
message
=
"确定打印吗?"
;
$
.
modal
.
confirm
(
message
,
function
()
{
$
.
modal
.
confirm
(
message
,
function
()
{
try
{
try
{
...
@@ -279,7 +285,7 @@
...
@@ -279,7 +285,7 @@
}
}
var
data
=
''
;
var
data
=
''
;
var
ids
=
[
performanceId
];
var
ids
=
[
performanceId
];
data
=
{
"ids"
:
ids
.
join
(),
"ticketId"
:
ticketId
};
data
=
{
"ids"
:
ids
.
join
(),
"ticketId"
:
ticketId
,
"printNum"
:
printNum
};
var
configPrint
=
{
var
configPrint
=
{
url
:
prefix
+
"/batchPrintExpress"
,
url
:
prefix
+
"/batchPrintExpress"
,
type
:
"post"
,
type
:
"post"
,
...
@@ -355,7 +361,8 @@
...
@@ -355,7 +361,8 @@
shadeClose
:
true
,
shadeClose
:
true
,
btn1
:
function
(
index
,
layero
)
{
btn1
:
function
(
index
,
layero
)
{
var
ticketId
=
layero
.
find
(
'#openTicketListTplSelect'
).
val
();
var
ticketId
=
layero
.
find
(
'#openTicketListTplSelect'
).
val
();
printExpress
(
performanceId
,
ticketId
);
var
printNum
=
layero
.
find
(
'#printNum'
).
val
();
printExpress
(
performanceId
,
ticketId
,
printNum
);
}
}
});
});
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/PerformancesExpressServiceImpl.java
View file @
f220c786
...
@@ -622,13 +622,13 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
...
@@ -622,13 +622,13 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
return
kylinOrderExpressPrintVo
;
return
kylinOrderExpressPrintVo
;
}
}
public
KylinOrderExpressPrintVo
batchPrintExpress
(
String
performanceId
,
String
ticketId
)
{
public
KylinOrderExpressPrintVo
batchPrintExpress
(
String
performanceId
,
String
ticketId
,
Integer
printNum
)
{
List
<
OrderExpressListDao
>
newList
=
new
ArrayList
<>();
List
<
OrderExpressListDao
>
newList
=
new
ArrayList
<>();
int
count
=
0
;
int
count
=
0
;
int
limitNum
=
1000
;
int
limitNum
=
1000
;
int
mid
=
0
;
int
mid
=
0
;
do
{
do
{
List
<
OrderExpressListDao
>
list
=
kylinOrderExpressMapper
.
selectPrintListOfPerformanceId
(
performanceId
,
ticketId
,
mid
,
limitNum
);
List
<
OrderExpressListDao
>
list
=
kylinOrderExpressMapper
.
selectPrintListOfPerformanceId
(
performanceId
,
ticketId
,
mid
,
limitNum
,
printNum
);
if
(!
CollectionUtil
.
isEmpty
(
list
))
{
if
(!
CollectionUtil
.
isEmpty
(
list
))
{
newList
.
addAll
(
list
);
newList
.
addAll
(
list
);
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/mapper/KylinOrderExpressMapper.java
View file @
f220c786
...
@@ -23,7 +23,8 @@ public interface KylinOrderExpressMapper extends BaseMapper<KylinOrderExpress> {
...
@@ -23,7 +23,8 @@ public interface KylinOrderExpressMapper extends BaseMapper<KylinOrderExpress> {
@Param
(
"performanceId"
)
String
performanceId
,
@Param
(
"performanceId"
)
String
performanceId
,
@Param
(
"ticketId"
)
String
ticketId
,
@Param
(
"ticketId"
)
String
ticketId
,
@Param
(
"mid"
)
Integer
mid
,
@Param
(
"mid"
)
Integer
mid
,
@Param
(
"limitNum"
)
Integer
limitNum
@Param
(
"limitNum"
)
Integer
limitNum
,
@Param
(
"printNum"
)
Integer
printNum
);
);
List
<
KylinOrderExpress
>
getCanCancelExpressList
(
List
<
KylinOrderExpress
>
getCanCancelExpressList
(
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
View file @
f220c786
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
AND a.performances_id = #{performanceId}
AND a.performances_id = #{performanceId}
<if
test=
"ticketId != ''"
>
AND e.tickets_id = #{ticketId}
</if>
<if
test=
"ticketId != ''"
>
AND e.tickets_id = #{ticketId}
</if>
AND a.mid > ${mid}
AND a.mid > ${mid}
<if
test=
"printNum != '' and printNum > 0"
>
AND a.mid > ${printNum}
</if>
</where>
</where>
ORDER BY a.mid ASC
ORDER BY a.mid ASC
LIMIT ${limitNum}
LIMIT ${limitNum}
...
...
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