Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes
Project
Project
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
ximai
mes
Commits
59298a39
Commit
59298a39
authored
Dec 04, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料综合看板BUG修复
parent
9c98ce6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ErpDataDto.java
...in/java/com/ximai/mes/kanban/dto/material/ErpDataDto.java
+4
-2
KanbanMaterialService.java
...a/com/ximai/mes/kanban/service/KanbanMaterialService.java
+5
-1
No files found.
mes/src/main/java/com/ximai/mes/kanban/dto/material/ErpDataDto.java
View file @
59298a39
...
@@ -24,7 +24,7 @@ public class ErpDataDto {
...
@@ -24,7 +24,7 @@ public class ErpDataDto {
InventoryTrend
inventoryTrend
;
InventoryTrend
inventoryTrend
;
@ApiModelProperty
(
"销售出库计划"
)
@ApiModelProperty
(
"销售出库计划"
)
List
<
SalesOutboundPlan
>
salesOutboundPlanList
;
List
<
SalesOutboundPlan
>
salesOutboundPlanList
=
new
ArrayList
<>()
;
@Data
@Data
public
static
class
InventoryTrend
{
public
static
class
InventoryTrend
{
...
@@ -42,7 +42,9 @@ public class ErpDataDto {
...
@@ -42,7 +42,9 @@ public class ErpDataDto {
String
outApplyNo
;
String
outApplyNo
;
@ApiModelProperty
(
"产品名称"
)
@ApiModelProperty
(
"产品名称"
)
String
itemName
;
String
itemName
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
"产品名称"
)
String
itemNo
;
@JsonFormat
(
pattern
=
"yyyyMMdd"
)
@ApiModelProperty
(
"计划出库时间"
)
@ApiModelProperty
(
"计划出库时间"
)
Date
planOutDate
;
Date
planOutDate
;
@ApiModelProperty
(
"计划数量"
)
@ApiModelProperty
(
"计划数量"
)
...
...
mes/src/main/java/com/ximai/mes/kanban/service/KanbanMaterialService.java
View file @
59298a39
...
@@ -52,7 +52,11 @@ public class KanbanMaterialService {
...
@@ -52,7 +52,11 @@ public class KanbanMaterialService {
private
ErpKanbanService
erpKanbanService
;
private
ErpKanbanService
erpKanbanService
;
public
ErpDataDto
getErpData
(){
public
ErpDataDto
getErpData
(){
return
erpKanbanService
.
getMaterialStat
().
getData
();
ErpDataDto
rst
=
erpKanbanService
.
getMaterialStat
().
getData
();
rst
.
getSalesOutboundPlanList
().
forEach
(
s
->{
s
.
setItemName
(
s
.
getItemNo
());
});
return
rst
;
}
}
public
MesDataDto
getMesData
(){
public
MesDataDto
getMesData
(){
...
...
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