1 public static String getNumberByCodingRule(Context ctx, IObjectValue info, String orgUnitId) 2 throws Exception 3 { 4 ICodingRuleManager iCodingRuleManager = null; 5 if(ctx == null) 6 iCodingRuleManager = CodingRuleManagerFactory.getRemoteInstance(); 7 else 8 iCodingRuleManager = CodingRuleManagerFactory.getLocalInstance(ctx); 9 if(iCodingRuleManager.isExist(info, orgUnitId)) 10 return iCodingRuleManager.getNumber(info, orgUnitId); 11 else 12 return null; 13 }
EAS BOS 根据编码规则获取编码,布布扣,bubuko.com
时间: 2024-10-08 01:01:49