| | |
| | | |
| | | String sql = "SELECT T_OID,T_BTWNAME FROM PLATFORMLT_INPUT WHERE F_OID = '" + wfOid + "'"; |
| | | ClientBusinessObjectOperation operation = new ClientBusinessObjectOperation(); |
| | | List<ClientBusinessObject> queryResult = boService.queryBySql(sql, new HashMap<>()); |
| | | List<com.vci.client.bof.ClientBusinessObject> queryResult = boService.queryBySql(sql, new HashMap<>()); |
| | | if (queryResult.size() == 0) { |
| | | logger.info("没有找到业务数据"); |
| | | return; |
| | |
| | | " where wp.OID = '" + oid + "'"; |
| | | Map<String, String> conditionMap = new HashMap<>(); |
| | | conditionMap.put("oid", oid); |
| | | List<ClientBusinessObject> codeResult = boService.queryCBO(btmName, conditionMap); |
| | | List<com.vci.client.bof.ClientBusinessObject> codeResult = boService.queryCBO(btmName, conditionMap); |
| | | conditionMap.clear(); |
| | | conditionMap.put("createCodeOid", codeResult.get(0).getAttributeValue("oid")); |
| | | List<ClientBusinessObject> allCodeList = boService.queryCBO("codeAllCode", conditionMap); |
| | | List<com.vci.client.bof.ClientBusinessObject> allCodeList = boService.queryCBO("codeAllCode", conditionMap); |
| | | if (allCodeList.size() == 0) { |
| | | logger.info("没有找到编码"); |
| | | return; |
| | | } |
| | | for (ClientBusinessObject codeAllCode : allCodeList) { |
| | | for (com.vci.client.bof.ClientBusinessObject codeAllCode : allCodeList) { |
| | | codeAllCode.setLcStatus("Editing"); |
| | | codeAllCode.setAttributeValue("lcstatus", "Editing"); |
| | | } |