不再清空游客的到期时间

This commit is contained in:
2025-02-05 11:22:45 +08:00
parent 0877ff8f66
commit 8d9f51f50f
3 changed files with 3 additions and 3 deletions

View File

@@ -30,6 +30,6 @@ public interface AccountMapper extends CommonMapper<Account> {
*/
// Account findById(String id);
void toVisitor(Long id, Date date);
void toVisitor(Long id);
}

View File

@@ -1746,7 +1746,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
}
public void toVisitor(Account account){
accountMapper.toVisitor(account.getId(), new Date());
accountMapper.toVisitor(account.getId());
}
public List<Long> setUserValidToDayEnd(){

View File

@@ -25,7 +25,7 @@
</select>
<update id="toVisitor">
update t_account
set is_trial = 0, credits = 0, system_user = 0, update_date = #{date}
set is_trial = 0, credits = 0, system_user = 0
where id = #{id}
</update>