From 97d0878e7c2eaa7eda861e13de04a988f5b9702f Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 4 Apr 2023 10:14:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=94=9F=E6=88=90=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E5=AE=9E=E4=BD=93=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/SysPdfTemplateRelevanceBizDao.java | 31 ++ .../SysPdfTemplateRelevanceCodeDao.java | 31 ++ .../SysPdfTemplateRelevanceLabelDao.java | 31 ++ .../SysPdfTemplateRelevanceStatemenDao.java | 31 ++ .../SysPdfTemplateRelevanceBizEntity.java | 49 ++ .../SysPdfTemplateRelevanceCodeEntity.java | 49 ++ .../SysPdfTemplateRelevanceLabelEntity.java | 49 ++ ...SysPdfTemplateRelevanceStatemenEntity.java | 49 ++ .../system/SysPdfTemplateRelevanceBizDao.xml | 482 ++++++++++++++++++ .../system/SysPdfTemplateRelevanceCodeDao.xml | 482 ++++++++++++++++++ .../SysPdfTemplateRelevanceLabelDao.xml | 482 ++++++++++++++++++ .../SysPdfTemplateRelevanceStatemenDao.xml | 482 ++++++++++++++++++ 12 files changed, 2248 insertions(+) create mode 100644 src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceBizDao.java create mode 100644 src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceCodeDao.java create mode 100644 src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceLabelDao.java create mode 100644 src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceStatemenDao.java create mode 100644 src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceBizEntity.java create mode 100644 src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceCodeEntity.java create mode 100644 src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceLabelEntity.java create mode 100644 src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceStatemenEntity.java create mode 100644 src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceBizDao.xml create mode 100644 src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceCodeDao.xml create mode 100644 src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceLabelDao.xml create mode 100644 src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceStatemenDao.xml diff --git a/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceBizDao.java b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceBizDao.java new file mode 100644 index 00000000..9547b59a --- /dev/null +++ b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceBizDao.java @@ -0,0 +1,31 @@ +package com.glxp.api.dao.system; + +import com.glxp.api.entity.system.SysPdfTemplateRelevanceBizEntity; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +public interface SysPdfTemplateRelevanceBizDao { + int deleteByPrimaryKey(Integer id); + + int insert(SysPdfTemplateRelevanceBizEntity record); + + int insertOrUpdate(SysPdfTemplateRelevanceBizEntity record); + + int insertOrUpdateSelective(SysPdfTemplateRelevanceBizEntity record); + + int insertSelective(SysPdfTemplateRelevanceBizEntity record); + + SysPdfTemplateRelevanceBizEntity selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(SysPdfTemplateRelevanceBizEntity record); + + int updateByPrimaryKey(SysPdfTemplateRelevanceBizEntity record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(@Param("list") List list); +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceCodeDao.java b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceCodeDao.java new file mode 100644 index 00000000..106f7989 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceCodeDao.java @@ -0,0 +1,31 @@ +package com.glxp.api.dao.system; + +import com.glxp.api.entity.system.SysPdfTemplateRelevanceCodeEntity; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +public interface SysPdfTemplateRelevanceCodeDao { + int deleteByPrimaryKey(Integer id); + + int insert(SysPdfTemplateRelevanceCodeEntity record); + + int insertOrUpdate(SysPdfTemplateRelevanceCodeEntity record); + + int insertOrUpdateSelective(SysPdfTemplateRelevanceCodeEntity record); + + int insertSelective(SysPdfTemplateRelevanceCodeEntity record); + + SysPdfTemplateRelevanceCodeEntity selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(SysPdfTemplateRelevanceCodeEntity record); + + int updateByPrimaryKey(SysPdfTemplateRelevanceCodeEntity record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(@Param("list") List list); +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceLabelDao.java b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceLabelDao.java new file mode 100644 index 00000000..f484daca --- /dev/null +++ b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceLabelDao.java @@ -0,0 +1,31 @@ +package com.glxp.api.dao.system; + +import com.glxp.api.entity.system.SysPdfTemplateRelevanceLabelEntity; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +public interface SysPdfTemplateRelevanceLabelDao { + int deleteByPrimaryKey(Integer id); + + int insert(SysPdfTemplateRelevanceLabelEntity record); + + int insertOrUpdate(SysPdfTemplateRelevanceLabelEntity record); + + int insertOrUpdateSelective(SysPdfTemplateRelevanceLabelEntity record); + + int insertSelective(SysPdfTemplateRelevanceLabelEntity record); + + SysPdfTemplateRelevanceLabelEntity selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(SysPdfTemplateRelevanceLabelEntity record); + + int updateByPrimaryKey(SysPdfTemplateRelevanceLabelEntity record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(@Param("list") List list); +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceStatemenDao.java b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceStatemenDao.java new file mode 100644 index 00000000..dd768fb8 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/system/SysPdfTemplateRelevanceStatemenDao.java @@ -0,0 +1,31 @@ +package com.glxp.api.dao.system; + +import com.glxp.api.entity.system.SysPdfTemplateRelevanceStatemenEntity; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +public interface SysPdfTemplateRelevanceStatemenDao { + int deleteByPrimaryKey(Integer id); + + int insert(SysPdfTemplateRelevanceStatemenEntity record); + + int insertOrUpdate(SysPdfTemplateRelevanceStatemenEntity record); + + int insertOrUpdateSelective(SysPdfTemplateRelevanceStatemenEntity record); + + int insertSelective(SysPdfTemplateRelevanceStatemenEntity record); + + SysPdfTemplateRelevanceStatemenEntity selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(SysPdfTemplateRelevanceStatemenEntity record); + + int updateByPrimaryKey(SysPdfTemplateRelevanceStatemenEntity record); + + int updateBatch(List list); + + int updateBatchSelective(List list); + + int batchInsert(@Param("list") List list); +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceBizEntity.java b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceBizEntity.java new file mode 100644 index 00000000..52607f48 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceBizEntity.java @@ -0,0 +1,49 @@ +package com.glxp.api.entity.system; + +import lombok.Data; + +/** + * PDF用户对应表 + */ +@Data +public class SysPdfTemplateRelevanceBizEntity { + private Integer id; + + /** + * 模板 id + */ + private Integer templateId; + + /** + * 自定义ID + */ + private Long customerId; + + /** + * 用户 id + */ + private Integer adminId; + + /** + * 模块ID + */ + private Integer moduleId; + + /** + * 业务单据ID + */ + private String localAction; + + private String remark1; + + private String remark2; + + private String remark3; + + /** + * 打印方式:0:批次号打印,1:条码清单打印 + */ + private Byte printType; + + private String modelKey; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceCodeEntity.java b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceCodeEntity.java new file mode 100644 index 00000000..c00ef32b --- /dev/null +++ b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceCodeEntity.java @@ -0,0 +1,49 @@ +package com.glxp.api.entity.system; + +import lombok.Data; + +/** + * PDF用户对应表 + */ +@Data +public class SysPdfTemplateRelevanceCodeEntity { + private Integer id; + + /** + * 模板 id + */ + private Integer templateId; + + /** + * 自定义ID + */ + private Long customerId; + + /** + * 用户 id + */ + private Integer adminId; + + /** + * 模块ID + */ + private Integer moduleId; + + /** + * 业务单据ID + */ + private String localAction; + + private String remark1; + + private String remark2; + + private String remark3; + + /** + * 打印方式:0:批次号打印,1:条码清单打印 + */ + private Byte printType; + + private String modelKey; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceLabelEntity.java b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceLabelEntity.java new file mode 100644 index 00000000..38d8e16d --- /dev/null +++ b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceLabelEntity.java @@ -0,0 +1,49 @@ +package com.glxp.api.entity.system; + +import lombok.Data; + +/** + * PDF用户对应表 + */ +@Data +public class SysPdfTemplateRelevanceLabelEntity { + private Integer id; + + /** + * 模板 id + */ + private Integer templateId; + + /** + * 自定义ID + */ + private Long customerId; + + /** + * 用户 id + */ + private Integer adminId; + + /** + * 模块ID + */ + private Integer moduleId; + + /** + * 业务单据ID + */ + private String localAction; + + private String remark1; + + private String remark2; + + private String remark3; + + /** + * 打印方式:0:批次号打印,1:条码清单打印 + */ + private Byte printType; + + private String modelKey; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceStatemenEntity.java b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceStatemenEntity.java new file mode 100644 index 00000000..eccd30f7 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/system/SysPdfTemplateRelevanceStatemenEntity.java @@ -0,0 +1,49 @@ +package com.glxp.api.entity.system; + +import lombok.Data; + +/** + * PDF用户对应表 + */ +@Data +public class SysPdfTemplateRelevanceStatemenEntity { + private Integer id; + + /** + * 模板 id + */ + private Integer templateId; + + /** + * 自定义ID + */ + private Long customerId; + + /** + * 用户 id + */ + private Integer adminId; + + /** + * 模块ID + */ + private Integer moduleId; + + /** + * 业务单据ID + */ + private String localAction; + + private String remark1; + + private String remark2; + + private String remark3; + + /** + * 打印方式:0:批次号打印,1:条码清单打印 + */ + private Byte printType; + + private String modelKey; +} \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceBizDao.xml b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceBizDao.xml new file mode 100644 index 00000000..7c7c59a5 --- /dev/null +++ b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceBizDao.xml @@ -0,0 +1,482 @@ + + + + + + + + + + + + + + + + + + + + + id, templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey + + + + + delete from sys_pdf_template_relevance_biz + where id = #{id,jdbcType=INTEGER} + + + + insert into sys_pdf_template_relevance_biz (templateId, customerId, adminId, + moduleId, localAction, remark1, + remark2, remark3, printType, + modelKey) + values (#{templateId,jdbcType=INTEGER}, #{customerId,jdbcType=BIGINT}, #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, #{localAction,jdbcType=VARCHAR}, #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, #{remark3,jdbcType=VARCHAR}, #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}) + + + + insert into sys_pdf_template_relevance_biz + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + + + + update sys_pdf_template_relevance_biz + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_biz + set templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_biz + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + update sys_pdf_template_relevance_biz + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + insert into sys_pdf_template_relevance_biz + (templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey) + values + + (#{item.templateId,jdbcType=INTEGER}, #{item.customerId,jdbcType=BIGINT}, #{item.adminId,jdbcType=INTEGER}, + #{item.moduleId,jdbcType=INTEGER}, #{item.localAction,jdbcType=VARCHAR}, #{item.remark1,jdbcType=VARCHAR}, + #{item.remark2,jdbcType=VARCHAR}, #{item.remark3,jdbcType=VARCHAR}, #{item.printType,jdbcType=TINYINT}, + #{item.modelKey,jdbcType=VARCHAR}) + + + + + insert into sys_pdf_template_relevance_biz + + + id, + + templateId, + customerId, + adminId, + moduleId, + localAction, + remark1, + remark2, + remark3, + printType, + modelKey, + + values + + + #{id,jdbcType=INTEGER}, + + #{templateId,jdbcType=INTEGER}, + #{customerId,jdbcType=BIGINT}, + #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, + #{localAction,jdbcType=VARCHAR}, + #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, + #{remark3,jdbcType=VARCHAR}, + #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}, + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + + insert into sys_pdf_template_relevance_biz + + + id, + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + values + + + #{id,jdbcType=INTEGER}, + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceCodeDao.xml b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceCodeDao.xml new file mode 100644 index 00000000..7b79c5a7 --- /dev/null +++ b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceCodeDao.xml @@ -0,0 +1,482 @@ + + + + + + + + + + + + + + + + + + + + + id, templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey + + + + + delete from sys_pdf_template_relevance_code + where id = #{id,jdbcType=INTEGER} + + + + insert into sys_pdf_template_relevance_code (templateId, customerId, adminId, + moduleId, localAction, remark1, + remark2, remark3, printType, + modelKey) + values (#{templateId,jdbcType=INTEGER}, #{customerId,jdbcType=BIGINT}, #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, #{localAction,jdbcType=VARCHAR}, #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, #{remark3,jdbcType=VARCHAR}, #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}) + + + + insert into sys_pdf_template_relevance_code + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + + + + update sys_pdf_template_relevance_code + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_code + set templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_code + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + update sys_pdf_template_relevance_code + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + insert into sys_pdf_template_relevance_code + (templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey) + values + + (#{item.templateId,jdbcType=INTEGER}, #{item.customerId,jdbcType=BIGINT}, #{item.adminId,jdbcType=INTEGER}, + #{item.moduleId,jdbcType=INTEGER}, #{item.localAction,jdbcType=VARCHAR}, #{item.remark1,jdbcType=VARCHAR}, + #{item.remark2,jdbcType=VARCHAR}, #{item.remark3,jdbcType=VARCHAR}, #{item.printType,jdbcType=TINYINT}, + #{item.modelKey,jdbcType=VARCHAR}) + + + + + insert into sys_pdf_template_relevance_code + + + id, + + templateId, + customerId, + adminId, + moduleId, + localAction, + remark1, + remark2, + remark3, + printType, + modelKey, + + values + + + #{id,jdbcType=INTEGER}, + + #{templateId,jdbcType=INTEGER}, + #{customerId,jdbcType=BIGINT}, + #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, + #{localAction,jdbcType=VARCHAR}, + #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, + #{remark3,jdbcType=VARCHAR}, + #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}, + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + + insert into sys_pdf_template_relevance_code + + + id, + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + values + + + #{id,jdbcType=INTEGER}, + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceLabelDao.xml b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceLabelDao.xml new file mode 100644 index 00000000..0261ca2b --- /dev/null +++ b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceLabelDao.xml @@ -0,0 +1,482 @@ + + + + + + + + + + + + + + + + + + + + + id, templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey + + + + + delete from sys_pdf_template_relevance_label + where id = #{id,jdbcType=INTEGER} + + + + insert into sys_pdf_template_relevance_label (templateId, customerId, adminId, + moduleId, localAction, remark1, + remark2, remark3, printType, + modelKey) + values (#{templateId,jdbcType=INTEGER}, #{customerId,jdbcType=BIGINT}, #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, #{localAction,jdbcType=VARCHAR}, #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, #{remark3,jdbcType=VARCHAR}, #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}) + + + + insert into sys_pdf_template_relevance_label + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + + + + update sys_pdf_template_relevance_label + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_label + set templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_label + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + update sys_pdf_template_relevance_label + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + insert into sys_pdf_template_relevance_label + (templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey) + values + + (#{item.templateId,jdbcType=INTEGER}, #{item.customerId,jdbcType=BIGINT}, #{item.adminId,jdbcType=INTEGER}, + #{item.moduleId,jdbcType=INTEGER}, #{item.localAction,jdbcType=VARCHAR}, #{item.remark1,jdbcType=VARCHAR}, + #{item.remark2,jdbcType=VARCHAR}, #{item.remark3,jdbcType=VARCHAR}, #{item.printType,jdbcType=TINYINT}, + #{item.modelKey,jdbcType=VARCHAR}) + + + + + insert into sys_pdf_template_relevance_label + + + id, + + templateId, + customerId, + adminId, + moduleId, + localAction, + remark1, + remark2, + remark3, + printType, + modelKey, + + values + + + #{id,jdbcType=INTEGER}, + + #{templateId,jdbcType=INTEGER}, + #{customerId,jdbcType=BIGINT}, + #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, + #{localAction,jdbcType=VARCHAR}, + #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, + #{remark3,jdbcType=VARCHAR}, + #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}, + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + + insert into sys_pdf_template_relevance_label + + + id, + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + values + + + #{id,jdbcType=INTEGER}, + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceStatemenDao.xml b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceStatemenDao.xml new file mode 100644 index 00000000..f313d561 --- /dev/null +++ b/src/main/resources/mybatis/mapper/system/SysPdfTemplateRelevanceStatemenDao.xml @@ -0,0 +1,482 @@ + + + + + + + + + + + + + + + + + + + + + id, templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey + + + + + delete from sys_pdf_template_relevance_statemen + where id = #{id,jdbcType=INTEGER} + + + + insert into sys_pdf_template_relevance_statemen (templateId, customerId, adminId, + moduleId, localAction, remark1, + remark2, remark3, printType, + modelKey) + values (#{templateId,jdbcType=INTEGER}, #{customerId,jdbcType=BIGINT}, #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, #{localAction,jdbcType=VARCHAR}, #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, #{remark3,jdbcType=VARCHAR}, #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}) + + + + insert into sys_pdf_template_relevance_statemen + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + + + + update sys_pdf_template_relevance_statemen + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_statemen + set templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + + + update sys_pdf_template_relevance_statemen + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + update sys_pdf_template_relevance_statemen + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.templateId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.customerId,jdbcType=BIGINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.adminId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.moduleId,jdbcType=INTEGER} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.localAction,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark1,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark2,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.remark3,jdbcType=VARCHAR} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.printType,jdbcType=TINYINT} + + + + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.modelKey,jdbcType=VARCHAR} + + + + + where id in + + #{item.id,jdbcType=INTEGER} + + + + + insert into sys_pdf_template_relevance_statemen + (templateId, customerId, adminId, moduleId, localAction, remark1, remark2, remark3, + printType, modelKey) + values + + (#{item.templateId,jdbcType=INTEGER}, #{item.customerId,jdbcType=BIGINT}, #{item.adminId,jdbcType=INTEGER}, + #{item.moduleId,jdbcType=INTEGER}, #{item.localAction,jdbcType=VARCHAR}, #{item.remark1,jdbcType=VARCHAR}, + #{item.remark2,jdbcType=VARCHAR}, #{item.remark3,jdbcType=VARCHAR}, #{item.printType,jdbcType=TINYINT}, + #{item.modelKey,jdbcType=VARCHAR}) + + + + + insert into sys_pdf_template_relevance_statemen + + + id, + + templateId, + customerId, + adminId, + moduleId, + localAction, + remark1, + remark2, + remark3, + printType, + modelKey, + + values + + + #{id,jdbcType=INTEGER}, + + #{templateId,jdbcType=INTEGER}, + #{customerId,jdbcType=BIGINT}, + #{adminId,jdbcType=INTEGER}, + #{moduleId,jdbcType=INTEGER}, + #{localAction,jdbcType=VARCHAR}, + #{remark1,jdbcType=VARCHAR}, + #{remark2,jdbcType=VARCHAR}, + #{remark3,jdbcType=VARCHAR}, + #{printType,jdbcType=TINYINT}, + #{modelKey,jdbcType=VARCHAR}, + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + templateId = #{templateId,jdbcType=INTEGER}, + customerId = #{customerId,jdbcType=BIGINT}, + adminId = #{adminId,jdbcType=INTEGER}, + moduleId = #{moduleId,jdbcType=INTEGER}, + localAction = #{localAction,jdbcType=VARCHAR}, + remark1 = #{remark1,jdbcType=VARCHAR}, + remark2 = #{remark2,jdbcType=VARCHAR}, + remark3 = #{remark3,jdbcType=VARCHAR}, + printType = #{printType,jdbcType=TINYINT}, + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + + insert into sys_pdf_template_relevance_statemen + + + id, + + + templateId, + + + customerId, + + + adminId, + + + moduleId, + + + localAction, + + + remark1, + + + remark2, + + + remark3, + + + printType, + + + modelKey, + + + values + + + #{id,jdbcType=INTEGER}, + + + #{templateId,jdbcType=INTEGER}, + + + #{customerId,jdbcType=BIGINT}, + + + #{adminId,jdbcType=INTEGER}, + + + #{moduleId,jdbcType=INTEGER}, + + + #{localAction,jdbcType=VARCHAR}, + + + #{remark1,jdbcType=VARCHAR}, + + + #{remark2,jdbcType=VARCHAR}, + + + #{remark3,jdbcType=VARCHAR}, + + + #{printType,jdbcType=TINYINT}, + + + #{modelKey,jdbcType=VARCHAR}, + + + on duplicate key update + + + id = #{id,jdbcType=INTEGER}, + + + templateId = #{templateId,jdbcType=INTEGER}, + + + customerId = #{customerId,jdbcType=BIGINT}, + + + adminId = #{adminId,jdbcType=INTEGER}, + + + moduleId = #{moduleId,jdbcType=INTEGER}, + + + localAction = #{localAction,jdbcType=VARCHAR}, + + + remark1 = #{remark1,jdbcType=VARCHAR}, + + + remark2 = #{remark2,jdbcType=VARCHAR}, + + + remark3 = #{remark3,jdbcType=VARCHAR}, + + + printType = #{printType,jdbcType=TINYINT}, + + + modelKey = #{modelKey,jdbcType=VARCHAR}, + + + + \ No newline at end of file