Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
Overview
Overview
Details
Activity
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
胡懿
warehouse
Commits
472de492
Commit
472de492
authored
Aug 10, 2023
by
zhanglt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出台账调整
领用出库时间调整
parent
f1c0149b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
LedgerService.java
...eplus/modules/warehouse/ledger/service/LedgerService.java
+9
-0
MaterialRequisitionService.java
...terialrequisition/service/MaterialRequisitionService.java
+1
-1
OutboundInfoMapper.xml
...ules/warehouse/outbound/mapper/xml/OutboundInfoMapper.xml
+1
-0
No files found.
src/main/java/com/jeeplus/modules/warehouse/ledger/service/LedgerService.java
View file @
472de492
...
...
@@ -274,7 +274,16 @@ public class LedgerService extends CrudService<LedgerMapper, Ledger> {
ExcelExportInfo
eei
=
new
ExcelExportInfo
();
eei
.
setMonth
(
DateUtil
.
getMonth
(
oi
.
getOutbound
().
getOutboundTime
())
+
""
);
eei
.
setDay
(
DateUtil
.
getDay
(
oi
.
getOutbound
().
getOutboundTime
())
+
""
);
if
(
StringUtils
.
isNotBlank
(
oi
.
getOutbound
().
getType
())){
if
(
Objects
.
equals
(
oi
.
getOutbound
().
getType
(),
"2"
)){
eei
.
setBatch
(
oi
.
getLedgerInfo
().
getBatchNum
()+
"[盘亏]"
);
}
else
{
eei
.
setBatch
(
oi
.
getLedgerInfo
().
getBatchNum
());
}
}
else
{
eei
.
setBatch
(
oi
.
getLedgerInfo
().
getBatchNum
());
}
eei
.
setRemarks
(
oi
.
getRemarks
());
eei
.
setTaskOrSend
(
1
);
eei
.
setTask
(
""
);
...
...
src/main/java/com/jeeplus/modules/warehouse/materialrequisition/service/MaterialRequisitionService.java
View file @
472de492
...
...
@@ -130,7 +130,7 @@ public class MaterialRequisitionService extends CrudService<MaterialRequisitionM
//设置当 前的操作人 与 发放物资的操作人相同
outbound
.
setOperator
(
materialRequisition
.
getOperator
());
//当前出库时间
outbound
.
setOutboundTime
(
new
Dat
e
());
outbound
.
setOutboundTime
(
materialRequisition
.
getTim
e
());
//出库类型为 领用出库
outbound
.
setType
(
"1"
);
List
<
OutboundInfo
>
outboundInfoList
=
new
ArrayList
<>();
...
...
src/main/java/com/jeeplus/modules/warehouse/outbound/mapper/xml/OutboundInfoMapper.xml
View file @
472de492
...
...
@@ -6,6 +6,7 @@
a.id AS "id",
a.outbound_id AS "outbound.id",
outbound.outbound_time AS "outbound.outboundTime",
outbound.type AS "outbound.type",
a.ledger_info_id AS "ledgerInfo.id",
ledgerInfo.code AS "ledgerInfo.code",
ledgerInfo.batch_num AS "ledgerInfo.batchNum",
...
...
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