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

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

@@ -84,7 +84,7 @@ public class MaterialPropertyService {
return 0;
}
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
public int batchDeleteMaterialPropertyByIds(String ids) {
public int batchDeleteMaterialPropertyByIds(String ids) throws Exception{
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_MATERIAL_PROPERTY,
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_DELETE).append(ids).toString(),
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());