From cb46d99ac8c302334e8c39600de0d9a4ffbf5533 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 29 十月 2024 09:39:48 +0800 Subject: [PATCH] 1、删除global模块中Contant中的一些无用代码; 2、删除global模块中一些无用的备份; 3、一些有继承关系并注解有@Data的类中增加注解@EqualsAndHashCode(callSuper=false),防止编译时警告 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 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 0e40757..c011351 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml @@ -169,7 +169,7 @@ <!--鏍规嵁绾у埆鑾峰彇琛屾斂鍖哄垝鍒楄〃--> <select id="getDistrictgsByLevel" resultType="java.util.Map"> SELECT - id, + CAST(id AS char) AS id, name FROM ba_district WHERE `level` = ${level} </select> @@ -177,7 +177,7 @@ <!--鏍规嵁鐖禝D鑾峰彇琛屾斂鍖哄垝鍒楄〃--> <select id="getDistrictsBySupperId" resultType="java.util.Map"> SELECT - id, + CAST(id AS char) AS id, name FROM ba_district WHERE supperId = ${supperId} </select> -- Gitblit v1.8.0