From 24cafe06c04f5bb26ded32525f3d2771fcb404f1 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Wed, 7 Jun 2023 14:36:36 +0800 Subject: [PATCH] =?UTF-8?q?#=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=8A=BD?= =?UTF-8?q?=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scheduled/mapper/safeproduct/InstanceMapper.java | 7 +------ .../safeproduct/mapper/CheckItemInstanceMapper.java | 16 ++++++++++++++++ .../safeproduct/mapper/CheckItemInstanceMapper.xml | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.java create mode 100644 hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.xml diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/mapper/safeproduct/InstanceMapper.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/mapper/safeproduct/InstanceMapper.java index 1dedec0..3e3d781 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/mapper/safeproduct/InstanceMapper.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/mapper/safeproduct/InstanceMapper.java @@ -2,15 +2,10 @@ package com.hnac.hzims.scheduled.mapper.safeproduct; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.hnac.hzims.safeproduct.entity.CheckItemInstanceEntity; -import org.apache.ibatis.annotations.Param; - -import java.util.List; /** - * Created by Sam Huang 2022/5/6 8:23 + * @author Lch */ public interface InstanceMapper extends BaseMapper { - List getCheckItemInstanceByMonth(@Param("months") List months, @Param("deptId") Long deptId); - } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.java new file mode 100644 index 0000000..b7c4ba8 --- /dev/null +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.java @@ -0,0 +1,16 @@ +package com.hnac.hzims.safeproduct.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.hnac.hzims.safeproduct.entity.CheckItemInstanceEntity; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * Created by Sam Huang 2022/5/6 8:23 + */ +public interface CheckItemInstanceMapper extends BaseMapper { + + List getCheckItemInstanceByMonth(@Param("months") List months, @Param("deptId") Long deptId); + +} diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.xml b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.xml new file mode 100644 index 0000000..4e2231b --- /dev/null +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CheckItemInstanceMapper.xml @@ -0,0 +1,20 @@ + + + + + + + + +