Commit 00d38d8d43bdda4db7f8f88170bae22741ea7582
1 parent
a56d6aae
category sql 修改
Showing
2 changed files
with
3 additions
and
3 deletions
src/main/resources/bootstrap.yml
@@ -20,5 +20,5 @@ spring: | @@ -20,5 +20,5 @@ spring: | ||
20 | active: dev | 20 | active: dev |
21 | 21 | ||
22 | mybatis: | 22 | mybatis: |
23 | - mapper-locations: classpath:mapping/com/diligrp/xtrade/*/*Dao.xml | 23 | + mapper-locations: classpath:mapping/com/diligrp/xtrade/product/*Dao.xml |
24 | type-aliases-package: com.diligrp.xtrade.*.domain.entity | 24 | type-aliases-package: com.diligrp.xtrade.*.domain.entity |
25 | \ No newline at end of file | 25 | \ No newline at end of file |
src/main/resources/mapping/com/diligrp/xtrade/product/ShopDao.xml
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | VALUES (#{id}, #{shopId}, #{shopName}, #{selfShop}, #{merId}, #{mainBiz}, #{type}, #{status}, #{address}, #{description}, now(), now()); | 27 | VALUES (#{id}, #{shopId}, #{shopName}, #{selfShop}, #{merId}, #{mainBiz}, #{type}, #{status}, #{address}, #{description}, now(), now()); |
28 | ]]> | 28 | ]]> |
29 | </insert> | 29 | </insert> |
30 | - <select id="selectByShopId" parameterType="lang" resultType="com.diligrp.xtrade.product.domain.entity.ShopDo"> | 30 | + <select id="selectByShopId" parameterType="long" resultType="com.diligrp.xtrade.product.domain.entity.ShopDo"> |
31 | <![CDATA[ | 31 | <![CDATA[ |
32 | SELECT | 32 | SELECT |
33 | ]]> | 33 | ]]> |
@@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
41 | <include refid="UPDATE_COLUMN_SET" /> | 41 | <include refid="UPDATE_COLUMN_SET" /> |
42 | <![CDATA[WHERE mer_id = #{merId}]]> | 42 | <![CDATA[WHERE mer_id = #{merId}]]> |
43 | </update> | 43 | </update> |
44 | - <select id="selectByMerId" parameterType="lang" resultType="com.diligrp.xtrade.product.domain.dto.ShopDo"> | 44 | + <select id="selectByMerId" parameterType="long" resultType="com.diligrp.xtrade.product.domain.entity.ShopDo"> |
45 | <![CDATA[ | 45 | <![CDATA[ |
46 | SELECT | 46 | SELECT |
47 | ]]> | 47 | ]]> |