Browse Source

获取头像是否可以修改

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
f899b2dcf0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      suser/src/main/resources/mapper/system/UserMapper.xml

+ 1
- 1
suser/src/main/resources/mapper/system/UserMapper.xml View File

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 &lt; 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
 

Loading…
Cancel
Save