From 15338c123b6a918fe632690b84462a938451bf05 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Fri, 11 Mar 2022 11:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/newpro/dao/QcItemDao.java | 4 ++-- src/main/java/com/xkrs/newpro/model/entity/QcItemEntity.java | 2 +- .../java/com/xkrs/newpro/model/entity/QcSourceEntity.java | 2 +- src/main/java/com/xkrs/newpro/model/entity/QcSpecEntity.java | 2 +- src/main/java/com/xkrs/newpro/model/qo/QcItemQoInsert.java | 2 +- src/main/java/com/xkrs/newpro/model/qo/QcItemQoUpdate.java | 2 +- src/main/java/com/xkrs/newpro/model/qo/QcSourceQoInsert.java | 2 +- src/main/java/com/xkrs/newpro/model/qo/QcSpecQoInsert.java | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/xkrs/newpro/dao/QcItemDao.java b/src/main/java/com/xkrs/newpro/dao/QcItemDao.java index 96c8852..3820dbf 100644 --- a/src/main/java/com/xkrs/newpro/dao/QcItemDao.java +++ b/src/main/java/com/xkrs/newpro/dao/QcItemDao.java @@ -17,14 +17,14 @@ public interface QcItemDao extends JpaRepository, JpaSpec Optional findByNo(String no); /** - * 更新质检项名称 + * 更新检验项目名称 */ @Modifying(clearAutomatically = true) @Query(value = "UPDATE qc_item SET update_time = ?2, name = ?3 WHERE id = ?1", nativeQuery = true) void updateNameById(Integer id, String updateTime, String name); /** - * 查询质检项 + * 查询检验项目 */ @Query(value = "SELECT id, no, name, type FROM qc_item WHERE no = ?1 AND name = ?2 ORDER BY create_time ASC", nativeQuery = true) List> queryQcItem(String no, String name); diff --git a/src/main/java/com/xkrs/newpro/model/entity/QcItemEntity.java b/src/main/java/com/xkrs/newpro/model/entity/QcItemEntity.java index 4a0ac1a..43760dc 100644 --- a/src/main/java/com/xkrs/newpro/model/entity/QcItemEntity.java +++ b/src/main/java/com/xkrs/newpro/model/entity/QcItemEntity.java @@ -3,7 +3,7 @@ package com.xkrs.newpro.model.entity; import javax.persistence.*; /** - * 质检项 + * 检验项目 */ @Entity @Table(name = "qc_item") diff --git a/src/main/java/com/xkrs/newpro/model/entity/QcSourceEntity.java b/src/main/java/com/xkrs/newpro/model/entity/QcSourceEntity.java index 29d52e4..ded322d 100644 --- a/src/main/java/com/xkrs/newpro/model/entity/QcSourceEntity.java +++ b/src/main/java/com/xkrs/newpro/model/entity/QcSourceEntity.java @@ -54,7 +54,7 @@ public class QcSourceEntity { private String varietyNo; /** - * 质检项编号 + * 检验项目编号 */ @Column(length = 85, columnDefinition = "varchar(85)") private String qcItemNo; diff --git a/src/main/java/com/xkrs/newpro/model/entity/QcSpecEntity.java b/src/main/java/com/xkrs/newpro/model/entity/QcSpecEntity.java index bafa49e..4c62767 100644 --- a/src/main/java/com/xkrs/newpro/model/entity/QcSpecEntity.java +++ b/src/main/java/com/xkrs/newpro/model/entity/QcSpecEntity.java @@ -36,7 +36,7 @@ public class QcSpecEntity { private String varietyNo; /** - * 质检项编号 + * 检验项目编号 */ @Column(length = 85, columnDefinition = "varchar(85)") private String qcItemNo; diff --git a/src/main/java/com/xkrs/newpro/model/qo/QcItemQoInsert.java b/src/main/java/com/xkrs/newpro/model/qo/QcItemQoInsert.java index b5021e9..cdacced 100644 --- a/src/main/java/com/xkrs/newpro/model/qo/QcItemQoInsert.java +++ b/src/main/java/com/xkrs/newpro/model/qo/QcItemQoInsert.java @@ -1,7 +1,7 @@ package com.xkrs.newpro.model.qo; /** - * 新增质检项接收类(编号、名称、类型) + * 新增检验项目接收类(编号、名称、类型) */ public class QcItemQoInsert { diff --git a/src/main/java/com/xkrs/newpro/model/qo/QcItemQoUpdate.java b/src/main/java/com/xkrs/newpro/model/qo/QcItemQoUpdate.java index 79b95bb..b775295 100644 --- a/src/main/java/com/xkrs/newpro/model/qo/QcItemQoUpdate.java +++ b/src/main/java/com/xkrs/newpro/model/qo/QcItemQoUpdate.java @@ -1,7 +1,7 @@ package com.xkrs.newpro.model.qo; /** - * 更新质检项接收类(根据id更新名称) + * 更新检验项目接收类(根据id更新名称) */ public class QcItemQoUpdate { diff --git a/src/main/java/com/xkrs/newpro/model/qo/QcSourceQoInsert.java b/src/main/java/com/xkrs/newpro/model/qo/QcSourceQoInsert.java index 7e8cf31..e9009fd 100644 --- a/src/main/java/com/xkrs/newpro/model/qo/QcSourceQoInsert.java +++ b/src/main/java/com/xkrs/newpro/model/qo/QcSourceQoInsert.java @@ -31,7 +31,7 @@ public class QcSourceQoInsert { private String varietyNo; /** - * 质检项编号 + * 检验项目编号 */ private String qcItemNo; diff --git a/src/main/java/com/xkrs/newpro/model/qo/QcSpecQoInsert.java b/src/main/java/com/xkrs/newpro/model/qo/QcSpecQoInsert.java index 6ac7a85..7495f75 100644 --- a/src/main/java/com/xkrs/newpro/model/qo/QcSpecQoInsert.java +++ b/src/main/java/com/xkrs/newpro/model/qo/QcSpecQoInsert.java @@ -11,7 +11,7 @@ public class QcSpecQoInsert { private String varietyNo; /** - * 质检项编号 + * 检验项目编号 */ private String qcItemNo;