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
c34093f5
Commit
c34093f5
authored
Nov 23, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料综合看板接口
parent
703fa953
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
KanbanMaterialService.java
...a/com/ximai/mes/kanban/service/KanbanMaterialService.java
+1
-1
ProTaskWorkunitMapper.java
.../com/ximai/mes/pro/mapper/task/ProTaskWorkunitMapper.java
+2
-2
No files found.
mes/src/main/java/com/ximai/mes/kanban/service/KanbanMaterialService.java
View file @
c34093f5
...
...
@@ -63,7 +63,7 @@ public class KanbanMaterialService {
if
(
basicRatio
.
getDenominator
()!=
null
&&
basicRatio
.
getDenominator
().
compareTo
(
BigDecimal
.
ZERO
)!=
0
){
rst
.
setStockInCompleteRatio
(
basicRatio
.
getNumerator
().
divide
(
basicRatio
.
getDenominator
(),
3
,
BigDecimal
.
ROUND_DOWN
).
multiply
(
new
BigDecimal
(
"100"
)));
}
List
<
MesDataDto
.
OrderInfoDto
>
orderInfoList
=
taskWorkunitMapper
.
selectTaskWorkUnitWithKanban
(
currMonth
,
nextMonth
);
List
<
MesDataDto
.
OrderInfoDto
>
orderInfoList
=
taskWorkunitMapper
.
selectTaskWorkUnitWithKanban
2
(
currMonth
,
nextMonth
);
rst
.
setOrderInfoList
(
orderInfoList
);
return
rst
;
}
...
...
mes/src/main/java/com/ximai/mes/pro/mapper/task/ProTaskWorkunitMapper.java
View file @
c34093f5
...
...
@@ -217,7 +217,7 @@ public interface ProTaskWorkunitMapper extends BaseMapper<ProTaskWorkunit> {
void
deleteByTaskIds
(
@Param
(
"taskIds"
)
List
<
Long
>
taskIds
);
/**
* 物料综合看板专用
* 物料综合看板专用
生产入库计划
* @param startDate 开始时间
* @param endDate 结束时间
* @return
...
...
@@ -228,7 +228,7 @@ public interface ProTaskWorkunitMapper extends BaseMapper<ProTaskWorkunit> {
"left join pro_workorder wo on wo.workorder_id = tw.workorder_id\n"
+
"where t1.schedule_end_date > #{startDate} and t1.schedule_end_date < #{endDate} \n"
+
"and t2.is_last_process = 1 group by t2.arrange_code,wo.product_name"
)
List
<
MesDataDto
.
OrderInfoDto
>
selectTaskWorkUnitWithKanban
(
@Param
(
"startDate"
)
LocalDateTime
startDate
,
@Param
(
"endDate"
)
LocalDateTime
endDate
);
List
<
MesDataDto
.
OrderInfoDto
>
selectTaskWorkUnitWithKanban
2
(
@Param
(
"startDate"
)
LocalDateTime
startDate
,
@Param
(
"endDate"
)
LocalDateTime
endDate
);
/**
* 物料综合看板入库完成率
...
...
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