@@ -164,7 +164,7 @@
</select>
<!--获取头像是否可以修改-->
<select id="getHeadTime" resultType="java.lang.Integer">
- select (case when headtime is null then 1 when headtime+6*30*24*60*60>unix_timestamp() then 1 else 0 end)
+ select (case when headtime is null then 1 when headtime+6*30*24*60*60 < unix_timestamp() then 1 else 0 end)
from t_user where userid=#{userid}