Showing
1 changed file
with
2 additions
and
2 deletions
@@ -79,8 +79,8 @@ | @@ -79,8 +79,8 @@ | ||
79 | create_time = #{createTime,jdbcType=INTEGER} | 79 | create_time = #{createTime,jdbcType=INTEGER} |
80 | where id = #{id,jdbcType=INTEGER} | 80 | where id = #{id,jdbcType=INTEGER} |
81 | </update> | 81 | </update> |
82 | - <select id="selectCountByCertNo" resultMap="BaseResultMap" parameterType="java.lang.String" > | ||
83 | - select case when count(*) is null then 0 else count(*) end from seller_join_history | 82 | + <select id="selectCountByCertNo" resultType="java.lang.Integer" parameterType="java.lang.String" > |
83 | + select case when count(*) is null then 0 else count(*) end as num from seller_join_history | ||
84 | where cert_no = #{certNo,jdbcType=VARCHAR} | 84 | where cert_no = #{certNo,jdbcType=VARCHAR} |
85 | </select> | 85 | </select> |
86 | </mapper> | 86 | </mapper> |
-
Please register or login to post a comment