Java Code Examples for org.jeecg.common.constant.CommonConstant#OPERATE_TYPE_6
The following examples show how to use
org.jeecg.common.constant.CommonConstant#OPERATE_TYPE_6 .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AutoLogAspect.java From jeecg-cloud with Apache License 2.0 | 6 votes |
/** * 获取操作类型 */ private int getOperateType(String methodName,int operateType) { if (operateType > 0) { return operateType; } if (methodName.startsWith("list")) { return CommonConstant.OPERATE_TYPE_1; } if (methodName.startsWith("add")) { return CommonConstant.OPERATE_TYPE_2; } if (methodName.startsWith("edit")) { return CommonConstant.OPERATE_TYPE_3; } if (methodName.startsWith("delete")) { return CommonConstant.OPERATE_TYPE_4; } if (methodName.startsWith("import")) { return CommonConstant.OPERATE_TYPE_5; } if (methodName.startsWith("export")) { return CommonConstant.OPERATE_TYPE_6; } return CommonConstant.OPERATE_TYPE_1; }
Example 2
Source File: AutoLogAspect.java From jeecg-boot-with-activiti with MIT License | 6 votes |
/** * 获取操作类型 */ private int getOperateType(String methodName,int operateType) { if (operateType > 0) { return operateType; } if (methodName.startsWith("list")) { return CommonConstant.OPERATE_TYPE_1; } if (methodName.startsWith("add")) { return CommonConstant.OPERATE_TYPE_2; } if (methodName.startsWith("edit")) { return CommonConstant.OPERATE_TYPE_3; } if (methodName.startsWith("delete")) { return CommonConstant.OPERATE_TYPE_4; } if (methodName.startsWith("import")) { return CommonConstant.OPERATE_TYPE_5; } if (methodName.startsWith("export")) { return CommonConstant.OPERATE_TYPE_6; } return CommonConstant.OPERATE_TYPE_1; }
Example 3
Source File: AutoLogAspect.java From teaching with Apache License 2.0 | 6 votes |
/** * 获取操作类型 */ private int getOperateType(String methodName,int operateType) { if (operateType > 0) { return operateType; } if (methodName.startsWith("list")) { return CommonConstant.OPERATE_TYPE_1; } if (methodName.startsWith("add")) { return CommonConstant.OPERATE_TYPE_2; } if (methodName.startsWith("edit")) { return CommonConstant.OPERATE_TYPE_3; } if (methodName.startsWith("delete")) { return CommonConstant.OPERATE_TYPE_4; } if (methodName.startsWith("import")) { return CommonConstant.OPERATE_TYPE_5; } if (methodName.startsWith("export")) { return CommonConstant.OPERATE_TYPE_6; } return CommonConstant.OPERATE_TYPE_1; }
Example 4
Source File: AutoLogAspect.java From jeecg-boot with Apache License 2.0 | 6 votes |
/** * 获取操作类型 */ private int getOperateType(String methodName,int operateType) { if (operateType > 0) { return operateType; } if (methodName.startsWith("list")) { return CommonConstant.OPERATE_TYPE_1; } if (methodName.startsWith("add")) { return CommonConstant.OPERATE_TYPE_2; } if (methodName.startsWith("edit")) { return CommonConstant.OPERATE_TYPE_3; } if (methodName.startsWith("delete")) { return CommonConstant.OPERATE_TYPE_4; } if (methodName.startsWith("import")) { return CommonConstant.OPERATE_TYPE_5; } if (methodName.startsWith("export")) { return CommonConstant.OPERATE_TYPE_6; } return CommonConstant.OPERATE_TYPE_1; }