redis key过期 业务处理

This commit is contained in:
2024-03-05 09:41:41 +08:00
parent 48f43f7c4d
commit c6103ca00f
10 changed files with 112 additions and 55 deletions

View File

@@ -207,6 +207,12 @@ public class TbShopInfoServiceImpl implements TbShopInfoService {
tbShopInfoRepository.save(tbShopInfo);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(String account) {
tbShopInfoRepository.updateByAcc(account);
}
@Override
public void deleteAll(Integer[] ids) {
for (Integer id : ids) {

View File

@@ -69,6 +69,8 @@ public interface TbShopInfoService {
*/
void update(TbShopInfo resources);
void update(String account);
/**
* 多选删除
* @param ids /