From 35a36f60cdbd9ef3bf2ab7be9f418f988c93c5eb Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 21 四月 2023 17:05:02 +0800 Subject: [PATCH] 1、主题库定义相关代码。 2、枚举定义相关代码移植修改。 --- Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictMapper.xml | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictBizMapper.xml b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictMapper.xml similarity index 76% rename from Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictBizMapper.xml rename to Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictMapper.xml index 1cb8b5f..6ab5794 100644 --- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictBizMapper.xml +++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/DictMapper.xml @@ -1,11 +1,10 @@ <?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.vci.ubcs.omd.mapper.DictBizMapper"> +<mapper namespace="com.vci.ubcs.omd.mapper.DictMapper"> <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> - <resultMap id="dictResultMap" type="com.vci.ubcs.omd.entity.DictBizM"> + <resultMap id="dictResultMap" type="com.vci.ubcs.omd.entity.Dict"> <id column="id" property="id"/> - <result column="tenant_id" property="tenantId"/> <result column="parent_id" property="parentId"/> <result column="code" property="code"/> <result column="dict_key" property="dictKey"/> @@ -26,7 +25,7 @@ <select id="getValue" resultType="java.lang.String"> select dict_value - from pl_sys_dict_biz where code = #{param1} and dict_key = #{param2} and is_deleted = 0 + from pl_sys_dict where code = #{param1} and dict_key = #{param2} and is_deleted = 0 </select> <!-- oracle 鐗堟湰 --> @@ -37,15 +36,15 @@ </select>--> <select id="getList" resultMap="dictResultMap"> - select id, tenant_id, parent_id, code, dict_key, dict_value, sort, remark from pl_sys_dict_biz where code = #{param1} and parent_id > 0 and is_sealed = 0 and is_deleted = 0 + select id, parent_id, code, dict_key, dict_value, sort, remark from pl_sys_dict where code = #{param1} and parent_id > 0 and is_sealed = 0 and is_deleted = 0 </select> <select id="tree" resultMap="treeNodeResultMap"> - select id, parent_id, dict_value as title, id as "value", id as "key" from pl_sys_dict_biz where is_deleted = 0 + select id, parent_id, dict_value as title, id as "value", id as "key" from pl_sys_dict where is_deleted = 0 </select> <select id="parentTree" resultMap="treeNodeResultMap"> - select id, parent_id, dict_value as title, id as "value", id as "key" from pl_sys_dict_biz where is_deleted = 0 and parent_id = 0 + select id, parent_id, dict_value as title, id as "value", id as "key" from pl_sys_dict where is_deleted = 0 and parent_id = 0 </select> </mapper> -- Gitblit v1.9.3