| | |
| | | } else { |
| | | //说明是自行配置的 |
| | | //前端必须要传递小写的属性 |
| | | value = orderDTO.getData().getOrDefault(attrId, ""); |
| | | String orDefault = orderDTO.getData().getOrDefault(attrId, ""); |
| | | value = Func.isBlank(orDefault) ? orderDTO.getData() |
| | | .getOrDefault(attrId.toUpperCase(Locale.ROOT), ""):orDefault; |
| | | } |
| | | return value; |
| | | } |
| | |
| | | } |
| | | fieldVO.setOptionJsMap(eventJsMap); |
| | | fieldVO.setStyle(attrVO.getTableDisplayStyle()); |
| | | fieldVO.setTableDisplayFlag(attrVO.getTableDisplayFlag()); |
| | | //列表里不允许直接编辑 |
| | | fieldVO.setDateFormate(attrVO.getCodeDateFormat()); |
| | | return fieldVO; |
| | |
| | | // conditionMap.put(CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_CLASSIFY) |
| | | List<BtmTypeVO> classifyData = btmTypeClient.selectByIdCollection(Collections.singletonList(MdmBtmTypeConstant.CODE_CLASSIFY)).getData(); |
| | | if(Func.isEmpty(classifyData)){ |
| | | throw new ServiceException("业务类型配置不一致,请修改英文名称为"+MdmBtmTypeConstant.CODE_CLASSIFY); |
| | | throw new ServiceException("业务类型中英文名称和查询条件配置不一致,请修改业务类型中分类表英文名称为"+MdmBtmTypeConstant.CODE_CLASSIFY); |
| | | } |
| | | conditionMap.put("t." + CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + |
| | | classifyData.get(0).getTableName() + " where lcstatus='" + FrameWorkDefaultValueConstant |