From ef1ed72d6ebd16f4a1e8c754ddab74725d945671 Mon Sep 17 00:00:00 2001 From: "446052889@qq.com" <446052889@qq.com> Date: Mon, 30 Oct 2023 08:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=8F=90=E4=BA=A4Java=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cache/CoeCooperationRolePermCacheIndex2.java | 12 ++++++++++++ .../cache/CoeCooperationRolePermCacheIndex3.java | 12 ++++++++++++ .../cache/CoeCooperationTeamPermCacheIndex2.java | 12 ++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java create mode 100644 com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java create mode 100644 com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java new file mode 100644 index 00000000..62b1de34 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationRolePermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationRolePermCacheIndex2 extends ListValueIndex { + + @Override + public String key(CoeCooperationRolePermModel model) { + return model.getTeamId(); + } +} diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java new file mode 100644 index 00000000..502d8d30 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationRolePermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationRolePermCacheIndex3 extends ListValueIndex { + + @Override + public String key(CoeCooperationRolePermModel model) { + return model.getPalVersionId(); + } +} diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java new file mode 100644 index 00000000..dbbe6998 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationTeamPermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationTeamPermCacheIndex2 extends ListValueIndex { + + @Override + public String key(CoeCooperationTeamPermModel model) { + return model.getPalVersionId(); + } +}