|
@@ -189,7 +189,14 @@ public class LogAspect {
|
|
|
operationLog.setOperationDate(date);
|
|
|
operationLog.setGmtCreate(date);
|
|
|
operationLog.setOperationId(SysUserUtils.getCurrentPrincipleID());
|
|
|
- operationLog.setOperationName(SysUserUtils.getCurrentPrinciple());
|
|
|
+ try {
|
|
|
+ SysUser sysUser = operationLogFacade.getSysUser(Long.parseLong(SysUserUtils.getCurrentPrincipleID()));
|
|
|
+ if(sysUser!=null){
|
|
|
+ operationLog.setOperationName(sysUser.getLinkman());
|
|
|
+ }
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
String ip = HttpUtils.getIpAddress();
|
|
|
if (IpUtils.isIPv4LiteralAddress(ip)) {
|
|
|
operationLog.setOperationIp(ip);
|
|
@@ -495,21 +502,6 @@ public class LogAspect {
|
|
|
}
|
|
|
}
|
|
|
break;
|
|
|
- case "/qc/qcType/add"://新增质控类型
|
|
|
- if (null != args && args.length >= 0) {
|
|
|
- compareTwoClass(args[0], new Object(), outMap);
|
|
|
- }
|
|
|
- break;
|
|
|
- case "/qc/qcType/update"://修改质控类型
|
|
|
- if (null != args && args.length >= 0) {
|
|
|
- compareTwoClass(args[0], new Object(), outMap);
|
|
|
- }
|
|
|
- break;
|
|
|
- case "/qc/qcType/copy"://复制质控类型
|
|
|
- if (null != args && args.length >= 0) {
|
|
|
- compareTwoClass(args[0], new Object(), outMap);
|
|
|
- }
|
|
|
- break;
|
|
|
case "/qc/qcType/delete":
|
|
|
if (null != args && args.length >= 0) {
|
|
|
if (args[0] instanceof DeleteQcTypeVO) {
|