lyhzzz il y a 2 ans
Parent
commit
3755cf1f16

+ 2 - 2
src/main/java/com/fdkankan/tk/service/impl/WxUserServiceImpl.java

@@ -24,6 +24,7 @@ import org.springframework.stereotype.Service;
 
 import javax.annotation.Resource;
 import java.security.spec.ECField;
+import java.util.Date;
 
 /**
  * <p>
@@ -90,8 +91,7 @@ public class WxUserServiceImpl extends ServiceImpl<IWxUserMapper, WxUser> implem
         }
         WxUser wxUser = new WxUser();
         BeanUtils.copyProperties(param,wxUser);
-        wxUser.setCreateTime(null);
-        wxUser.setUpdateTime(null);
+        wxUser.setUpdateTime(new Date());
         this.updateById(wxUser);
     }