You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
787 B
28 lines
787 B
package web.service;
|
|
|
|
import db.annotation.Aliyun;
|
|
import db.annotation.Model;
|
|
import db.model.AbstractModel;
|
|
import org.springframework.dao.DataAccessException;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
@Service
|
|
@Model(Aliyun.class)
|
|
|
|
public class BiliService extends BaseService{
|
|
@Override
|
|
@Transactional(value = "Tweb.service.BiliService")
|
|
public <T extends AbstractModel> Serializable save(T command) throws DataAccessException {
|
|
return super.save(command);
|
|
}
|
|
|
|
@Override
|
|
@Transactional(value = "Tweb.service.BiliService")
|
|
public <T extends AbstractModel> void delete(T command) throws DataAccessException {
|
|
super.delete(command);
|
|
}
|
|
}
|
|
|