KPI修改入出库类型判断、出库单据流水、平库入库流水、平库出库流水

This commit is contained in:
猫猫guowen
2025-05-29 17:57:33 +08:00
parent 4e4c64439c
commit a393347bab
25 changed files with 4561 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ public class KpiServiceImpl implements KpiService
for (MydoJobFinish job : list) {
// 检查入库作业标识是否小于10
if (job.getInOrOut() == null || Integer.parseInt(job.getInOrOut()) >= 10) {
if (job.getInOrOut() == null || Integer.parseInt(job.getInOrOut()) >= 20) {
continue;
}
@@ -89,11 +89,11 @@ public class KpiServiceImpl implements KpiService
}
/**
* 获取入库均匀分析数据
* 获取出库均匀分析数据
*
* @param warehouseId 仓库ID
* @param yearMonth 年月(格式:yyyy-MM)
* @return 入库均匀分析数据
* @return 出库均匀分析数据
*/
@Override
public Map<String, Object> getOutAnalysis(String warehouseId, String yearMonth)
@@ -106,7 +106,7 @@ public class KpiServiceImpl implements KpiService
for (MydoJobFinish job : list) {
// 检查出入库作业标识是否大于10
if (job.getInOrOut() == null || Integer.parseInt(job.getInOrOut()) < 10) {
if (job.getInOrOut() == null || Integer.parseInt(job.getInOrOut()) < 20) {
continue;
}
@@ -185,7 +185,7 @@ public class KpiServiceImpl implements KpiService
// 区分入库和出库作业
if (job.getInOrOut() != null) {
int inOrOut = Integer.parseInt(job.getInOrOut());
if (inOrOut < 10) {
if (inOrOut < 20) {
// 入库作业
inCounts.put(roadwayId, inCounts.getOrDefault(roadwayId, 0) + 1);
} else {