...
|
...
|
@@ -79,8 +79,8 @@ |
|
|
create_time = #{createTime,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<select id="selectCountByCertNo" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select case when count(*) is null then 0 else count(*) end from seller_join_history
|
|
|
<select id="selectCountByCertNo" resultType="java.lang.Integer" parameterType="java.lang.String" >
|
|
|
select case when count(*) is null then 0 else count(*) end as num from seller_join_history
|
|
|
where cert_no = #{certNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|