mes报表验证分表配置

tags/yfai-mes-ext-v1.1
王杰 9 months ago
parent 7e50e2cf37
commit 0da6e7f2f6

@ -17,9 +17,9 @@ public interface IMesConfigService {
MesConfig getCfgValueByCode(String key);
@ApiOperation(value = "根据分隔符验证是否存在元素的配置")
Boolean checkCfgValueIsContainItem(String orginzeCode, String cfgCode, String cfgKey, String cfgType, String splitStr, String item);
Boolean checkCfgValueIsContainItem(String organizeCode, String cfgCode, String cfgKey, String cfgType, String splitStr, String item);
@ApiOperation(value = "验证分表配置")
Boolean checkShardingTablesObjectCfg(String orginzeCode, String cfgKey, String item);
Boolean checkShardingTablesObjectCfg(String organizeCode, String cfgKey, String item);
}

@ -51,8 +51,8 @@ public class MesConfigService implements IMesConfigService {
}
@Override
public Boolean checkCfgValueIsContainItem(String orginzeCode, String cfgCode, String cfgKey, String cfgType, String splitStr, String item) {
DdlPackBean packBean = DdlPackBean.getDdlPackBean(orginzeCode);
public Boolean checkCfgValueIsContainItem(String organizeCode, String cfgCode, String cfgKey, String cfgType, String splitStr, String item) {
DdlPackBean packBean = DdlPackBean.getDdlPackBean(organizeCode);
DdlPreparedPack.getStringEqualPack(cfgCode, MesExtConstWords.CFG_CODE, packBean);
DdlPreparedPack.getStringEqualPack(cfgKey, MesExtConstWords.CFG_KEY, packBean);
DdlPreparedPack.getStringEqualPack(cfgType, MesExtConstWords.CFG_TYPE, packBean);
@ -63,8 +63,8 @@ public class MesConfigService implements IMesConfigService {
}
@Override
public Boolean checkShardingTablesObjectCfg(String orginzeCode, String cfgKey, String item) {
return checkCfgValueIsContainItem(orginzeCode, MesExtConstWords.MES_SHARDING_TABLES_OBJECT_CFG, cfgKey, CommonEnumUtil.SOFT_TYPE.MES.name(), MesExtConstWords.SEMICOLON, item);
public Boolean checkShardingTablesObjectCfg(String organizeCode, String cfgKey, String item) {
return checkCfgValueIsContainItem(organizeCode, MesExtConstWords.MES_SHARDING_TABLES_OBJECT_CFG, cfgKey, CommonEnumUtil.SOFT_TYPE.MES.name(), MesExtConstWords.SEMICOLON, item);
}
}

Loading…
Cancel
Save