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} + + + + +