将Resource资源的类型改为时间戳

This commit is contained in:
季圣华
2019-11-17 23:02:28 +08:00
parent 4ee0c9874e
commit 47c90a0e26
26 changed files with 25 additions and 54 deletions

View File

@@ -140,9 +140,4 @@ public class CommonQueryManager {
return 0; return 0;
} }
} }

View File

@@ -4,30 +4,6 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua 2018-10-7 15:25:39 * @author jishenghua 2018-10-7 15:25:39
* user-5
* role-10
* depot-20
* log-25
* functions-30
* inOutItem-35
* unit-40
* person-45
* userBusiness-50
* systemConfig-55
* materialProperty-60
* account-65
* supplier-70
* materialCategory-75
* material-80
* depotHead-85
* depotItem-90
* accountHead-95
* accountItem-100
* serialNumber-105
* organization-110
* orgaUserRel-115
* tenant-120
* msg-125
*/ */
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE}) @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@@ -36,4 +12,4 @@ import java.lang.annotation.*;
public @interface ResourceInfo { public @interface ResourceInfo {
String value(); String value();
int type(); int type();
} }

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "account", type = 65) @ResourceInfo(value = "account", type = 1574002270)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "accountHead", type = 95) @ResourceInfo(value = "accountHead", type = 1574002281)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "accountItem", type = 100) @ResourceInfo(value = "accountItem", type = 1574002293)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "depot", type = 20) @ResourceInfo(value = "depot", type = 1574002302)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "depotHead", type = 85) @ResourceInfo(value = "depotHead", type = 1574002310)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "depotItem", type = 90) @ResourceInfo(value = "depotItem", type = 1574002318)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "functions", type = 30) @ResourceInfo(value = "functions", type = 1574002329)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "inOutItem", type = 35) @ResourceInfo(value = "inOutItem", type = 1574002340)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "log", type = 25) @ResourceInfo(value = "log", type = 1574002346)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "material", type = 80) @ResourceInfo(value = "material", type = 1574002355)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "materialCategory", type = 75) @ResourceInfo(value = "materialCategory", type = 1574002365)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "materialProperty", type = 60) @ResourceInfo(value = "materialProperty", type = 1574002372)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2019-9-7 22:52:35 * @author jishenghua qq752718920 2019-9-7 22:52:35
*/ */
@ResourceInfo(value = "msg", type = 125) @ResourceInfo(value = "msg", type = 1574002380)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -10,7 +10,7 @@ import java.lang.annotation.*;
* @Author: cjl * @Author: cjl
* @Date: 2019/3/11 18:11 * @Date: 2019/3/11 18:11
*/ */
@ResourceInfo(value = "orgaUserRel", type = 115) @ResourceInfo(value = "orgaUserRel", type = 1574002394)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -10,7 +10,7 @@ import java.lang.annotation.*;
* @Author: cjl * @Author: cjl
* @Date: 2019/3/6 15:10 * @Date: 2019/3/6 15:10
*/ */
@ResourceInfo(value = "organization", type = 110) @ResourceInfo(value = "organization", type = 1574002387)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "person", type = 45) @ResourceInfo(value = "person", type = 1574002402)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "role", type = 10) @ResourceInfo(value = "role", type = 1574002414)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -10,7 +10,7 @@ import java.lang.annotation.*;
* @Author: cjl * @Author: cjl
* @Date: 2019/1/21 16:33 * @Date: 2019/1/21 16:33
*/ */
@ResourceInfo(value = "serialNumber", type = 105) @ResourceInfo(value = "serialNumber", type = 1574002422)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "supplier", type = 70) @ResourceInfo(value = "supplier", type = 1574002430)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "systemConfig", type = 55) @ResourceInfo(value = "systemConfig", type = 1574002437)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2019-6-27 22:56:56 * @author jishenghua qq752718920 2019-6-27 22:56:56
*/ */
@ResourceInfo(value = "tenant", type = 120) @ResourceInfo(value = "tenant", type = 1574002444)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "unit", type = 40) @ResourceInfo(value = "unit", type = 1574002451)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "user", type = 5) @ResourceInfo(value = "user", type = 1574002461)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
/** /**
* @author jishenghua qq752718920 2018-10-7 15:26:27 * @author jishenghua qq752718920 2018-10-7 15:26:27
*/ */
@ResourceInfo(value = "userBusiness", type = 50) @ResourceInfo(value = "userBusiness", type = 1574002475)
@Inherited @Inherited
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)