bug fix 1018

This commit is contained in:
Cauchy
2023-10-18 16:37:58 +08:00
parent 5dee4b619e
commit c90ecfb7ce
33 changed files with 309 additions and 114 deletions

View File

@@ -4,7 +4,7 @@
<mapper namespace="com.peanut.modules.book.dao.CityDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.peanut.modules.book.entity.CityEntity" id="cityMap">
<resultMap type="com.peanut.modules.book.entity.City" id="cityMap">
<result property="cityId" column="city_id"/>
<result property="provId" column="prov_id"/>
<result property="cityName" column="city_name"/>

View File

@@ -4,7 +4,7 @@
<mapper namespace="com.peanut.modules.book.dao.CountyDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.peanut.modules.book.entity.CountyEntity" id="countyMap">
<resultMap type="com.peanut.modules.book.entity.County" id="countyMap">
<result property="countyId" column="county_id"/>
<result property="cityId" column="city_id"/>
<result property="countyName" column="county_name"/>

View File

@@ -4,7 +4,7 @@
<mapper namespace="com.peanut.modules.book.dao.ProvinceDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="com.peanut.modules.book.entity.ProvinceEntity" id="provinceMap">
<resultMap type="com.peanut.modules.book.entity.Province" id="provinceMap">
<result property="provId" column="prov_id"/>
<result property="provName" column="prov_name"/>
<result property="createDate" column="create_date"/>