|
|
|
|
@ -12,9 +12,15 @@ import com.ass.ssm.model.mapper.dao.AssetTypeMapper;
@@ -12,9 +12,15 @@ import com.ass.ssm.model.mapper.dao.AssetTypeMapper;
|
|
|
|
|
import com.ass.ssm.model.mapper.server.AssetTypeServer; |
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.transaction.annotation.Propagation; |
|
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* timeout 秒 |
|
|
|
|
* |
|
|
|
|
* @author adiao |
|
|
|
|
*/ |
|
|
|
|
@Service |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
@Transactional(propagation = Propagation.REQUIRED, timeout = 30, rollbackFor = Exception.class) |
|
|
|
|
public class AssetTypeServerImpl extends ServiceImpl<AssetTypeMapper, AssetTypeDao> implements AssetTypeServer { |
|
|
|
|
} |
|
|
|
|
|