From dd05b7d11d9101a88a61a0ac2b5b7fe7ea72820f Mon Sep 17 00:00:00 2001 From: chenxinying <1039655633@qq.com> Date: Wed, 17 Jan 2024 15:06:25 +0800 Subject: [PATCH] =?UTF-8?q?bus=5Fhotwork=5Fsign=E7=9A=84mapper=E5=88=9B?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eightwork/HotworkSignMapper.java | 31 +++++++ .../datasource/eightwork/HotwokSignMapper.xml | 87 +++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 src/main/java/com/zcloud/mapper/datasource/eightwork/HotworkSignMapper.java create mode 100644 src/main/resources/mybatis/datasource/eightwork/HotwokSignMapper.xml diff --git a/src/main/java/com/zcloud/mapper/datasource/eightwork/HotworkSignMapper.java b/src/main/java/com/zcloud/mapper/datasource/eightwork/HotworkSignMapper.java new file mode 100644 index 0000000..788ee87 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/eightwork/HotworkSignMapper.java @@ -0,0 +1,31 @@ +package com.zcloud.mapper.datasource.eightwork; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +/** + * @author fangjiakai + * @date 2024/01/17 11:31 + */ +public interface HotworkSignMapper { + + /**新增 + * @param pd + * @throws Exception + */ + void save(PageData pd); + + /**修改 + * @param pd + * @throws Exception + */ + void edit(PageData pd); + + /**根据动火ID查询签字列表 + * @param page + * @throws Exception + */ + List listById(Page page); +} diff --git a/src/main/resources/mybatis/datasource/eightwork/HotwokSignMapper.xml b/src/main/resources/mybatis/datasource/eightwork/HotwokSignMapper.xml new file mode 100644 index 0000000..5ea11f3 --- /dev/null +++ b/src/main/resources/mybatis/datasource/eightwork/HotwokSignMapper.xml @@ -0,0 +1,87 @@ + + + + + + + BUS_HOTWORK_SIGN + + + + + SYS_DICTIONARIES + + + + + f.HOTWORK_SIGN_ID, + f.HOTWORK_ID, + f.CORPINFO_ID, + f.SIGN_USER_DEPARTMENT_ID, + f.SIGN_USER_ID, + f.SIGN_PATH, + f.SIGN_TIME, + f.DESCR, + f.STEP_ID + + + + + HOTWORK_SIGN_ID, + HOTWORK_ID, + CORPINFO_ID, + SIGN_USER_DEPARTMENT_ID, + SIGN_USER_ID, + SIGN_PATH, + SIGN_TIME, + DESCR, + STEP_ID + + + + + #{HOTWORK_SIGN_ID}, + #{HOTWORK_ID}, + #{CORPINFO_ID}, + #{SIGN_USER_DEPARTMENT_ID}, + #{SIGN_USER_ID}, + #{SIGN_PATH}, + #{SIGN_TIME}, + #{DESCR}, + #{STEP_ID} + + + + + insert into + + ( + + ) values ( + + ) + + + + + update + + set + DESCR = #{DESCR}, + SIGN_PATH = #{SIGN_PATH}, + SIGN_TIME= #{SIGN_TIME}, + where + HOTWORK_ID = #{HOTWORK_ID} and SIGN_USER_ID = #{SIGN_USER_ID} + + + + +