REQ-2596-删除超时锁新开事务
This commit is contained in:
parent
6fc64d7c69
commit
e37ae47d6d
@ -67,6 +67,8 @@ public class ExtAxPropertyServiceImpl implements ExtAxPropertyService {
|
||||
return mapper.deleteByMap(deleteMap);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(propagation = Propagation.REQUIRES_NEW)
|
||||
public int deleteByNameWithDuration(String name, Long timeOut, TimeUnit timeUnit) {
|
||||
if (!StringUtils.hasText(name) || timeOut == null || timeUnit == null) {
|
||||
log.error("argument not valid,name:{},timeOut:{},timeUnit:{}", name, timeOut, timeUnit);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user