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 | 20 | active: dev |
21 | 21 | |
22 | 22 | mybatis: |
23 | - mapper-locations: classpath:mapping/com/diligrp/xtrade/*/*Dao.xml | |
23 | + mapper-locations: classpath:mapping/com/diligrp/xtrade/product/*Dao.xml | |
24 | 24 | type-aliases-package: com.diligrp.xtrade.*.domain.entity |
25 | 25 | \ No newline at end of file | ... | ... |
src/main/resources/mapping/com/diligrp/xtrade/product/ShopDao.xml
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | VALUES (#{id}, #{shopId}, #{shopName}, #{selfShop}, #{merId}, #{mainBiz}, #{type}, #{status}, #{address}, #{description}, now(), now()); |
28 | 28 | ]]> |
29 | 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 | 31 | <![CDATA[ |
32 | 32 | SELECT |
33 | 33 | ]]> |
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | <include refid="UPDATE_COLUMN_SET" /> |
42 | 42 | <![CDATA[WHERE mer_id = #{merId}]]> |
43 | 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 | 45 | <![CDATA[ |
46 | 46 | SELECT |
47 | 47 | ]]> | ... | ... |