Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms_api
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
高宇
wms_api
Commits
ffe9b468
Commit
ffe9b468
authored
Dec 24, 2024
by
方建宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善导出表格式
parent
25efecb8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
+20
-18
CustRecharge.java
...ava/org/rcisoft/bus/custrecharge/entity/CustRecharge.java
+17
-16
StoreGoodsLogController.java
...bus/storegoodslog/controller/StoreGoodsLogController.java
+1
-1
StoreGoodsLog.java
...a/org/rcisoft/bus/storegoodslog/entity/StoreGoodsLog.java
+2
-1
No files found.
src/main/java/org/rcisoft/bus/custrecharge/entity/CustRecharge.java
View file @
ffe9b468
...
...
@@ -25,7 +25,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column customer_id
* @default
*/
@Excel
(
name
=
"客户"
,
orderNum
=
"
0
"
,
width
=
20
)
@Excel
(
name
=
"客户"
,
orderNum
=
"
1
"
,
width
=
20
)
private
Integer
customerId
;
/**
...
...
@@ -33,7 +33,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column actual_recharge
* @default
*/
@Excel
(
name
=
"实际充值"
,
orderNum
=
"
1
"
,
width
=
20
)
@Excel
(
name
=
"实际充值"
,
orderNum
=
"
2
"
,
width
=
20
)
private
BigDecimal
actualRecharge
;
/**
...
...
@@ -41,7 +41,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column actual_receipt
* @default
*/
@Excel
(
name
=
"实际到账"
,
orderNum
=
"
2
"
,
width
=
20
)
@Excel
(
name
=
"实际到账"
,
orderNum
=
"
4
"
,
width
=
20
)
private
BigDecimal
actualReceipt
;
/**
...
...
@@ -49,7 +49,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column order_number
* @default
*/
@Excel
(
name
=
"消费订单号"
,
orderNum
=
"
3
"
,
width
=
20
)
@Excel
(
name
=
"消费订单号"
,
orderNum
=
"
5
"
,
width
=
20
)
private
String
orderNumber
;
/**
...
...
@@ -57,7 +57,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column consumption_amount
* @default
*/
@Excel
(
name
=
"消费金额"
,
orderNum
=
"
4
"
,
width
=
20
)
@Excel
(
name
=
"消费金额"
,
orderNum
=
"
7
"
,
width
=
20
)
private
BigDecimal
consumptionAmount
;
/**
...
...
@@ -65,7 +65,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column customer_balance
* @default
*/
@Excel
(
name
=
"充值/消费余额"
,
orderNum
=
"
5
"
,
width
=
20
)
@Excel
(
name
=
"充值/消费余额"
,
orderNum
=
"
8
"
,
width
=
20
)
private
BigDecimal
customerBalance
;
/**
...
...
@@ -73,7 +73,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column store_id
* @default
*/
@Excel
(
name
=
"门店"
,
orderNum
=
"
6
"
,
width
=
20
)
@Excel
(
name
=
"门店"
,
orderNum
=
"
0
"
,
width
=
20
)
private
String
storeId
;
/**
...
...
@@ -81,7 +81,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
* @column is_recharge
* @default
*/
@Excel
(
name
=
"(0消费 1充值)"
,
orderNum
=
"
7
"
,
width
=
20
)
@Excel
(
name
=
"(0消费 1充值)"
,
orderNum
=
"
6
"
,
width
=
20
)
private
String
isRecharge
;
/**
...
...
@@ -131,6 +131,7 @@ public class CustRecharge extends CyIdIncreEntity<CustRecharge> {
/**
* 是否为退款
*/
@Excel
(
name
=
"充值类型(1为退款)"
,
orderNum
=
"3"
,
width
=
20
)
private
String
isReturn
;
}
src/main/java/org/rcisoft/bus/storegoodslog/controller/StoreGoodsLogController.java
View file @
ffe9b468
...
...
@@ -133,6 +133,6 @@ public class StoreGoodsLogController extends CyPaginationController<StoreGoodsLo
case
"2"
:
excelName
=
"商品记录表信息.csv"
;
break
;
}
List
<
StoreGoodsLog
>
storeGoodsLogList
=
storeGoodsLogServiceImpl
.
export
(
storeGoodsLog
);
CyEpExcelUtil
.
exportExcel
(
storeGoodsLogList
,
"
商品记录表信息"
,
"商品记录
表信息"
,
StoreGoodsLog
.
class
,
excelName
,
response
);
CyEpExcelUtil
.
exportExcel
(
storeGoodsLogList
,
"
销售明细表信息"
,
"销售明细
表信息"
,
StoreGoodsLog
.
class
,
excelName
,
response
);
}
}
src/main/java/org/rcisoft/bus/storegoodslog/entity/StoreGoodsLog.java
View file @
ffe9b468
...
...
@@ -25,6 +25,7 @@ public class StoreGoodsLog extends CyIdIncreEntity<StoreGoodsLog> {
@Excel
(
name
=
"商品编码"
,
orderNum
=
"2"
,
width
=
20
)
private
String
goodsCode
;
private
Integer
applyId
;
@Excel
(
name
=
"总数量"
,
orderNum
=
"8"
,
width
=
20
)
private
Integer
goodsCounts
;
private
Integer
updateCounts
;
private
Integer
goodsId
;
...
...
@@ -78,7 +79,7 @@ public class StoreGoodsLog extends CyIdIncreEntity<StoreGoodsLog> {
* @default
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Excel
(
name
=
"销售日期"
,
orderNum
=
"
8
"
,
width
=
20
,
format
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"销售日期"
,
orderNum
=
"
9
"
,
width
=
20
,
format
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updateDate
;
...
...
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