Merge remote-tracking branch 'origin/apps_dev' into apps_dev

This commit is contained in:
Mr-wang 2023-10-30 10:47:06 +08:00
commit d571cad4a3
3 changed files with 36 additions and 0 deletions

View File

@ -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<String, CoeCooperationRolePermModel> {
@Override
public String key(CoeCooperationRolePermModel model) {
return model.getTeamId();
}
}

View File

@ -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<String, CoeCooperationRolePermModel> {
@Override
public String key(CoeCooperationRolePermModel model) {
return model.getPalVersionId();
}
}

View File

@ -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<String, CoeCooperationTeamPermModel> {
@Override
public String key(CoeCooperationTeamPermModel model) {
return model.getPalVersionId();
}
}