| | |
| | | * nacos prod 地址 |
| | | */ |
| | | //String NACOS_PROD_ADDR = "dev.vci-tech.com:38848"; |
| | | String NACOS_PROD_ADDR = "127.0.0.1:8848"; |
| | | String NACOS_PROD_ADDR = "192.168.243.130:8848"; |
| | | |
| | | /** |
| | | * nacos test 地址 |
| | | */ |
| | | //String NACOS_TEST_ADDR = "dev.vci-tech.com:38848"; |
| | | String NACOS_TEST_ADDR = "127.0.0.1:8848"; |
| | | String NACOS_TEST_ADDR = "192.168.243.130:8848"; |
| | | |
| | | /** |
| | | * sentinel dev 地址 |
| | |
| | | } |
| | | String tenantId = AuthUtil.getTenantId().toString(); |
| | | Map<String, String> conditionMap = baseQueryObject.getConditionMap(); |
| | | if(Func.isNotEmpty(tenantId)){ |
| | | /*if(Func.isNotEmpty(tenantId)){ |
| | | conditionMap.put("TENANT_ID",tenantId); |
| | | } |
| | | }*/ |
| | | return CodeClstempattrService.gridCodeClassifyTemplateAttr(conditionMap,baseQueryObject.getPageHelper()); |
| | | } |
| | | |
| | |
| | | if(!CollectionUtils.isEmpty(oids)){ |
| | | this.removeBatchByIds(oids); |
| | | } |
| | | String tenantId = AuthUtil.getTenantId().toString(); |
| | | codeClassifyTemplateAttrDOInsert.parallelStream().forEach(item->{ |
| | | item.setTenantId(tenantId); |
| | | }); |
| | | //再新增 |
| | | if(!CollectionUtils.isEmpty(codeClassifyTemplateAttrDOInsert)){ |
| | | this.saveBatch(codeClassifyTemplateAttrDOInsert); |
| | |
| | | // conditionMap.put(CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_CLASSIFY) |
| | | |
| | | conditionMap.put("t." + CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + |
| | | btmTypeClient.selectByIdCollection(Collections.singletonList(MdmBtmTypeConstant.CODE_CLASSIFY)) |
| | | btmTypeClient.selectByIdCollection(Collections.singletonList("classify")) |
| | | .getData().get(0).getTableName() + " where lcstatus='" + FrameWorkDefaultValueConstant |
| | | .FRAMEWORK_DATA_ENABLED + "' start with parentCodeClassifyOid = '" + codeClassifyOid + |
| | | "' CONNECT BY PRIOR OID = parentCodeClassifyOid )"); |