From e8e9d4975d457bb17d28dfbb39ee79be918034ba Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 26 十一月 2024 22:27:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
business/src/main/resources/mapper/ProcessConfigInfoMapper.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/business/src/main/resources/mapper/ProcessConfigInfoMapper.xml b/business/src/main/resources/mapper/ProcessConfigInfoMapper.xml
new file mode 100644
index 0000000..4cef98a
--- /dev/null
+++ b/business/src/main/resources/mapper/ProcessConfigInfoMapper.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ycl.mapper.ProcessConfigInfoMapper">
+
+ <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
+ <resultMap id="BaseResultMap" type="com.ycl.domain.vo.ProcessConfigInfoVO">
+ <result column="deploy_id" property="deployId" />
+ <result column="project_type" property="projectType" />
+ <result column="fund_type" property="fundType" />
+ <result column="invest_type" property="investType" />
+ <result column="importance_type" property="importanceType" />
+ <result column="deploy_version" property="deployVersion" />
+ </resultMap>
+
+
+
+
+
+
+
+ <select id="getById" resultMap="BaseResultMap">
+ SELECT
+ TPCI.deploy_id,
+ TPCI.project_type,
+ TPCI.fund_type,
+ TPCI.invest_type,
+ TPCI.importance_type,
+ TPCI.deploy_version,
+ TPCI.id
+ FROM
+ t_process_config_info TPCI
+ WHERE
+ TPCI.id = #{id} AND TPCI.deleted = 0
+ </select>
+
+
+ <select id="getPage" resultMap="BaseResultMap">
+ SELECT
+ TPCI.deploy_id,
+ TPCI.project_type,
+ TPCI.fund_type,
+ TPCI.invest_type,
+ TPCI.importance_type,
+ TPCI.deploy_version,
+ TPCI.id
+ FROM
+ t_process_config_info TPCI
+ WHERE
+ TPCI.deleted = 0
+ </select>
+
+</mapper>
--
Gitblit v1.8.0