|
@@ -9,7 +9,6 @@ import com.diagbot.enums.StandConvertEnum;
|
|
|
import com.diagbot.model.ai.AIAnalyze;
|
|
|
import com.diagbot.model.entity.BodyPart;
|
|
|
import com.diagbot.model.entity.Modification;
|
|
|
-import com.diagbot.model.entity.Negative;
|
|
|
import com.diagbot.model.entity.Operation;
|
|
|
import com.diagbot.model.entity.Pacs;
|
|
|
import com.diagbot.model.label.ChiefLabel;
|
|
@@ -36,7 +35,6 @@ import com.diagbot.vo.neoPushEntity.PresentPushVo;
|
|
|
import com.diagbot.vo.neoPushEntity.Symptom;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
|
-import org.apache.commons.collections4.map.LinkedMap;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -389,30 +387,6 @@ public class CommonFacade {
|
|
|
CoreUtil.setFieldValue(obj, listProperty, operationNewList);
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- WordCrfDTO wordCrfDTO = new WordCrfDTO();
|
|
|
- List<Operation> operations = Lists.newArrayList();
|
|
|
- Operation operation = new Operation();
|
|
|
- Negative negative = new Negative();
|
|
|
- negative.setName("否认");
|
|
|
- negative.setStandName("fou");
|
|
|
- operation.setNegative(negative);
|
|
|
- operation.setName("糖尿病");
|
|
|
- operation.setStandName("糖尿病1");
|
|
|
- operations.add(operation);
|
|
|
- wordCrfDTO.getPresentLabel().setOperations(operations);
|
|
|
-
|
|
|
- Map<String, Map<String, Long>> configMap = new LinkedMap<>();
|
|
|
- Map<String, Long> map1 = new LinkedMap<>();
|
|
|
- map1.put("糖尿病映射", 1L);
|
|
|
- map1.put("糖尿病映射2", 2L);
|
|
|
- configMap.put("糖尿病", map1);
|
|
|
-
|
|
|
- CommonFacade commonFacade = new CommonFacade();
|
|
|
- commonFacade.setListProperty(wordCrfDTO.getPresentLabel(), "operations", "standName", configMap);
|
|
|
- System.out.println(111);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 标准名称转换
|
|
|
*
|