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