refactor project
This commit is contained in:
@@ -3,9 +3,9 @@ spring:
|
||||
redis:
|
||||
open: false # 是否开启redis缓存 true开启 false关闭
|
||||
database: 0
|
||||
host: 39.106.36.183
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: Jgll2015 # 密码(默认为空)
|
||||
# password: Jgll2015 # 密码(默认为空)
|
||||
timeout: 6000000ms # 连接超时时长(毫秒)
|
||||
jedis:
|
||||
pool:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<mapper namespace="com.peanut.modules.book.dao.PublisherDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.peanut.modules.book.entity.PublisherEntity" id="publisherMap">
|
||||
<resultMap type="com.peanut.modules.book.entity.Publisher" id="publisherMap">
|
||||
<result property="id" column="id"/>
|
||||
<result property="publisherName" column="publisher_name"/>
|
||||
<result property="introduction" column="introduction"/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<mapper namespace="com.peanut.modules.book.dao.ShopProductDao">
|
||||
|
||||
<!-- 可根据自己的需求,是否要使用 -->
|
||||
<resultMap type="com.peanut.modules.book.entity.ShopProductEntity" id="shopProductMap">
|
||||
<resultMap type="com.peanut.modules.book.entity.ShopProduct" id="shopProductMap">
|
||||
<result property="productId" column="product_id"/>
|
||||
<result property="productName" column="product_name"/>
|
||||
<result property="price" column="price"/>
|
||||
@@ -36,7 +36,7 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="appGetCategoryList" resultType="com.peanut.modules.book.entity.ShopProductEntity">
|
||||
<select id="appGetCategoryList" resultType="com.peanut.modules.book.entity.ShopProduct">
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
|
||||
Reference in New Issue
Block a user