From 75895eaa5630757036bd0d2bd81fc8b0c10014e4 Mon Sep 17 00:00:00 2001
From: hayu <1604366271@qq.com>
Date: Fri, 7 Jun 2024 09:58:35 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E8=B4=AD=E6=B5=81=E7=A8=8B=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../material/domain/PurchaseMacodeInfo.java | 12 ++
.../PurchaseCheckServiceCenterMapper.xml | 2 +
.../material/PurchaseMacodeInfoMapper.xml | 138 ++++++++++--------
.../newDevicesServiceCenterList.vue | 138 ++++++++----------
.../newDevices/newDevicesWarehousing.vue | 2 +-
5 files changed, 156 insertions(+), 136 deletions(-)
diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/PurchaseMacodeInfo.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/PurchaseMacodeInfo.java
index 1eeec65d..dd90d49b 100644
--- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/PurchaseMacodeInfo.java
+++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/PurchaseMacodeInfo.java
@@ -29,6 +29,10 @@ public class PurchaseMacodeInfo extends BaseEntity
@ApiModelProperty(value = "任务ID")
private Long taskId;
+ /** 任务状态 */
+ @ApiModelProperty(value = "任务状态")
+ private String taskStatus;
+
/** 类型ID */
@ApiModelProperty(value = "类型ID")
private Long typeId;
@@ -147,6 +151,14 @@ public class PurchaseMacodeInfo extends BaseEntity
@ApiModelProperty(value = "0,正常 1, 重复数据")
private int statusFlag;
+ public String getTaskStatus() {
+ return taskStatus;
+ }
+
+ public void setTaskStatus(String taskStatus) {
+ this.taskStatus = taskStatus;
+ }
+
public Long getId() {
return id;
}
diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseCheckServiceCenterMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseCheckServiceCenterMapper.xml
index 334b9c3f..ac8803a2 100644
--- a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseCheckServiceCenterMapper.xml
+++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseCheckServiceCenterMapper.xml
@@ -375,6 +375,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
pmi.fix_code fixCode,
pcd.type_id typeId,
pcd.task_id taskId,
+ tt.task_status taskStatus,
mt.code specsCode,
mt1.code typeCode,
CASE
@@ -393,6 +394,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
if(pmi.ma_code is not null, 1, pcd.check_num) checkNum
from purchase_check_details pcd
left join purchase_macode_info pmi on pmi.task_id = pcd.task_id and pmi.type_id = pcd.type_id
+ LEFT JOIN tm_task tt on tt.task_id=pcd.task_id
left join ma_machine mm on pmi.ma_code = mm.ma_code
left join ma_type mt on pcd.type_id = mt.type_id
left join ma_type mt1 on mt.parent_id = mt1.type_id
diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseMacodeInfoMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseMacodeInfoMapper.xml
index 3124dbc3..ca035e57 100644
--- a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseMacodeInfoMapper.xml
+++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/PurchaseMacodeInfoMapper.xml
@@ -353,48 +353,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"