代理文件批量审核
This commit is contained in:
@@ -85,8 +85,10 @@ public class ProxyFileStrategyService extends BaseService{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
|
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
|
||||||
public void audit(Integer isAudit,Integer isValid,Integer functionId,String id){
|
public void audit(Integer isAudit,Integer isValid,Integer functionId,String ids){
|
||||||
Date auditTime = new Date();//审核时间
|
Date auditTime = new Date();//审核时间
|
||||||
|
String[] idArray = ids.split(",");
|
||||||
|
for(String id : idArray) {
|
||||||
ProxyFileStrategyCfg entity = proxyFileDao.getCfgById(Long.parseLong(id));
|
ProxyFileStrategyCfg entity = proxyFileDao.getCfgById(Long.parseLong(id));
|
||||||
entity.setIsAudit(isAudit);
|
entity.setIsAudit(isAudit);
|
||||||
entity.setIsValid(isValid);
|
entity.setIsValid(isValid);
|
||||||
@@ -124,6 +126,8 @@ public class ProxyFileStrategyService extends BaseService{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取所有的 响应文件 策略
|
* 获取所有的 响应文件 策略
|
||||||
* @return
|
* @return
|
||||||
|
|||||||
Reference in New Issue
Block a user