异常封装之日志信息后台修改

This commit is contained in:
qiankunpingtai
2019-04-18 21:09:37 +08:00
parent 94c64dd905
commit fd7df68740
18 changed files with 141 additions and 63 deletions

View File

@@ -117,7 +117,7 @@ public class PersonService {
}
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
public int batchDeletePersonByIds(String ids) {
public int batchDeletePersonByIds(String ids)throws Exception {
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_PERSON,
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_DELETE).append(ids).toString(),
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());