多媒体日志增加可查看配置信息功能
This commit is contained in:
@@ -52,8 +52,8 @@ public class AvCfgService extends BaseService{
|
||||
@Autowired
|
||||
protected AvCfgDao avCfgDao;
|
||||
|
||||
public AvFileSampleCfg getAvFileSampleById(Long cfgId){
|
||||
return avCfgDao.getAvFileSampleById(cfgId);
|
||||
public AvFileSampleCfg getAvFileSampleById(Long cfgId,Integer compileId){
|
||||
return avCfgDao.getAvFileSampleById(cfgId,compileId);
|
||||
}
|
||||
public AvSignSampleCfg getAvSignSampleById(Long cfgId){
|
||||
return avCfgDao.getAvSignSampleById(cfgId);
|
||||
@@ -112,7 +112,7 @@ public class AvCfgService extends BaseService{
|
||||
throw new MaatConvertException("<spring:message code=\"request_service_failed\"/>");
|
||||
}
|
||||
}else{
|
||||
AvFileSampleCfg oldEntity = this.getAvFileSampleById(entity.getCfgId());
|
||||
AvFileSampleCfg oldEntity = this.getAvFileSampleById(entity.getCfgId(),entity.getCompileId());
|
||||
entity.setEditorId(UserUtils.getUser().getId());
|
||||
entity.setEditTime(new Date());
|
||||
entity.setIsValid(0);
|
||||
|
||||
Reference in New Issue
Block a user