From f491c5491a21961f9df64e9d94e1e71d90c561a9 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 25 Feb 2025 09:00:40 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/dromara/mes/domain/ProdPlanInfo.java | 4 ++-- .../main/java/org/dromara/mes/domain/bo/ProdPlanInfoBo.java | 4 ++-- .../main/java/org/dromara/mes/domain/vo/ProdPlanInfoVo.java | 6 +++--- .../mes/service/impl/ProdBaseMachineInfoServiceImpl.java | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/ProdPlanInfo.java b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/ProdPlanInfo.java index b2fe4ebc..dc4617b5 100644 --- a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/ProdPlanInfo.java +++ b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/ProdPlanInfo.java @@ -115,7 +115,7 @@ public class ProdPlanInfo extends TenantEntity { private Long completeAmount; /** - * 计划开始时间 + * 计划时间 */ private Date planBeginTime; @@ -140,7 +140,7 @@ public class ProdPlanInfo extends TenantEntity { private String attachId; /** - * 工单计划状态(0未派工 1已派工 2已开始 3已完成) + * 工单计划状态(0未下发 1已下发 2已开始 3已完成) */ private String planStatus; diff --git a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/bo/ProdPlanInfoBo.java b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/bo/ProdPlanInfoBo.java index cba37a72..c87ca0f9 100644 --- a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/bo/ProdPlanInfoBo.java +++ b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/bo/ProdPlanInfoBo.java @@ -120,7 +120,7 @@ public class ProdPlanInfoBo extends BaseEntity { private Long completeAmount; /** - * 计划开始时间 + * 计划时间 */ private Date planBeginTime; @@ -145,7 +145,7 @@ public class ProdPlanInfoBo extends BaseEntity { private String attachId; /** - * 工单计划状态(0未派工 1已派工 2已开始 3已完成) + * 工单计划状态(0未下发 1已下发 2已开始 3已完成) */ private String planStatus; diff --git a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/vo/ProdPlanInfoVo.java b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/vo/ProdPlanInfoVo.java index 40a43f11..b9243f57 100644 --- a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/vo/ProdPlanInfoVo.java +++ b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/domain/vo/ProdPlanInfoVo.java @@ -143,9 +143,9 @@ public class ProdPlanInfoVo implements Serializable { private Long completeAmount; /** - * 计划开始时间 + * 计划时间 */ - @ExcelProperty(value = "计划开始时间") + @ExcelProperty(value = "计划时间") private Date planBeginTime; /** @@ -173,7 +173,7 @@ public class ProdPlanInfoVo implements Serializable { private String attachId; /** - * 工单计划状态(0未派工 1已派工 2已开始 3已完成) + * 工单计划状态(0未下发 1已下发 2已开始 3已完成) */ @ExcelProperty(value = "工单计划状态", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "mes_plan_status") diff --git a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/service/impl/ProdBaseMachineInfoServiceImpl.java b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/service/impl/ProdBaseMachineInfoServiceImpl.java index 677a04b7..893cc162 100644 --- a/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/service/impl/ProdBaseMachineInfoServiceImpl.java +++ b/ruoyi-modules/hwmom-mes/src/main/java/org/dromara/mes/service/impl/ProdBaseMachineInfoServiceImpl.java @@ -79,7 +79,7 @@ public class ProdBaseMachineInfoServiceImpl implements IProdBaseMachineInfoServi .leftJoin(ProdBaseStationInfo.class, ProdBaseStationInfo::getMachineId, ProdBaseMachineInfo::getMachineId) .leftJoin(ProdBaseProcessInfo.class, ProdBaseProcessInfo::getProcessId, ProdBaseStationInfo::getProcessId) .eq(bo.getMachineId() != null, ProdBaseMachineInfo::getMachineId, bo.getMachineId()) - .eq(StringUtils.isNotBlank(bo.getMachineCode()), ProdBaseMachineInfo::getMachineCode, bo.getMachineCode()) + .like(StringUtils.isNotBlank(bo.getMachineCode()), ProdBaseMachineInfo::getMachineCode, bo.getMachineCode()) .like(StringUtils.isNotBlank(bo.getMachineName()), ProdBaseMachineInfo::getMachineName, bo.getMachineName()) .eq(StringUtils.isNotBlank(bo.getAssetNumber()), ProdBaseMachineInfo::getAssetNumber, bo.getAssetNumber()) .eq(StringUtils.isNotBlank(bo.getMachineLocation()), ProdBaseMachineInfo::getMachineLocation, bo.getMachineLocation()) @@ -131,7 +131,7 @@ public class ProdBaseMachineInfoServiceImpl implements IProdBaseMachineInfoServi ProdBaseMachineInfoBo query = new ProdBaseMachineInfoBo(); query.setMachineCode(entity.getMachineCode()); MPJLambdaWrapper lqw = buildQueryWrapper(query); - ProdBaseMachineInfo baseProdBaseMachineInfo = baseMapper.selectOne(lqw); + ProdBaseMachineInfo baseProdBaseMachineInfo = baseMapper.selectOne(lqw); if (baseProdBaseMachineInfo != null && !baseProdBaseMachineInfo.getMachineId().equals(entity.getMachineId())) { throw new ServiceException("编码已存在");