From 5ebea680d776c0647f83a5e4d1038b8708b3f3e7 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 14 十二月 2023 11:23:42 +0800 Subject: [PATCH] 1、优化多数据源模块代码; 2、优化通信中间件代码; 3、通信中间件数据库插入数据测试Po、Mapper.java、Mapper.xml --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml index db51681..4234af5 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml @@ -30,7 +30,7 @@ select <include refid="Base_Column_List" /> from ba_district - where level = #{level,jdbcType=TINYINT} + where deleted != 1 and level = #{level,jdbcType=TINYINT} </select> <select id="selectBySupperId" parameterType="java.lang.Long" resultMap="BaseResultMap"> @@ -38,10 +38,10 @@ select <include refid="Base_Column_List" /> from ba_district - where supperId = #{supperId,jdbcType=BIGINT} + where deleted != 1 and supperId = #{supperId,jdbcType=BIGINT} </select> - <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDistrict"> + <insert id="putin" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDistrict"> <!--@mbg.generated--> insert into ba_district (id, supperId, `name`, num, `level`, deleted) values (#{id,jdbcType=BIGINT}, -- Gitblit v1.8.0