|
@@ -5,7 +5,7 @@
|
5
|
5
|
<id column="id" jdbcType="INTEGER" property="id" />
|
6
|
6
|
<result column="community_id" jdbcType="INTEGER" property="communityId" />
|
7
|
7
|
<result column="shop_id" jdbcType="INTEGER" property="shopId" />
|
8
|
|
- <result column="score" jdbcType="VARCHAR" property="score" />
|
|
8
|
+ <result column="score" jdbcType="INTEGER" property="score" />
|
9
|
9
|
<result column="content" jdbcType="VARCHAR" property="content" />
|
10
|
10
|
<result column="appraisal_people" jdbcType="VARCHAR" property="appraisalPeople" />
|
11
|
11
|
<result column="appraisal_tel" jdbcType="VARCHAR" property="appraisalTel" />
|
|
@@ -36,7 +36,7 @@
|
36
|
36
|
status, create_user, create_date
|
37
|
37
|
)
|
38
|
38
|
values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER},
|
39
|
|
- #{score,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{appraisalPeople,jdbcType=VARCHAR},
|
|
39
|
+ #{score,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{appraisalPeople,jdbcType=VARCHAR},
|
40
|
40
|
#{appraisalTel,jdbcType=VARCHAR}, #{appraisalAvatar,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
|
41
|
41
|
#{status,jdbcType=VARCHAR}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}
|
42
|
42
|
)
|
|
@@ -92,7 +92,7 @@
|
92
|
92
|
#{shopId,jdbcType=INTEGER},
|
93
|
93
|
</if>
|
94
|
94
|
<if test="score != null">
|
95
|
|
- #{score,jdbcType=VARCHAR},
|
|
95
|
+ #{score,jdbcType=INTEGER},
|
96
|
96
|
</if>
|
97
|
97
|
<if test="content != null">
|
98
|
98
|
#{content,jdbcType=VARCHAR},
|
|
@@ -130,7 +130,7 @@
|
130
|
130
|
shop_id = #{shopId,jdbcType=INTEGER},
|
131
|
131
|
</if>
|
132
|
132
|
<if test="score != null">
|
133
|
|
- score = #{score,jdbcType=VARCHAR},
|
|
133
|
+ score = #{score,jdbcType=INTEGER},
|
134
|
134
|
</if>
|
135
|
135
|
<if test="content != null">
|
136
|
136
|
content = #{content,jdbcType=VARCHAR},
|
|
@@ -163,7 +163,7 @@
|
163
|
163
|
update tp_shop_appraisal
|
164
|
164
|
set community_id = #{communityId,jdbcType=INTEGER},
|
165
|
165
|
shop_id = #{shopId,jdbcType=INTEGER},
|
166
|
|
- score = #{score,jdbcType=VARCHAR},
|
|
166
|
+ score = #{score,jdbcType=INTEGER},
|
167
|
167
|
content = #{content,jdbcType=VARCHAR},
|
168
|
168
|
appraisal_people = #{appraisalPeople,jdbcType=VARCHAR},
|
169
|
169
|
appraisal_tel = #{appraisalTel,jdbcType=VARCHAR},
|