|
@@ -5,11 +5,10 @@ import com.diagbot.dto.BillMsg;
|
|
import com.diagbot.dto.BillNeoDTO;
|
|
import com.diagbot.dto.BillNeoDTO;
|
|
import com.diagbot.dto.BillNeoMaxDTO;
|
|
import com.diagbot.dto.BillNeoMaxDTO;
|
|
import com.diagbot.dto.IndicationDTO;
|
|
import com.diagbot.dto.IndicationDTO;
|
|
-import com.diagbot.dto.NodeNeoDTO;
|
|
|
|
import com.diagbot.dto.WordCrfDTO;
|
|
import com.diagbot.dto.WordCrfDTO;
|
|
import com.diagbot.enums.NeoEnum;
|
|
import com.diagbot.enums.NeoEnum;
|
|
|
|
+import com.diagbot.enums.TypeEnum;
|
|
import com.diagbot.facade.NeoFacade;
|
|
import com.diagbot.facade.NeoFacade;
|
|
-import com.diagbot.model.entity.AllergyMedicine;
|
|
|
|
import com.diagbot.model.entity.Clinical;
|
|
import com.diagbot.model.entity.Clinical;
|
|
import com.diagbot.model.entity.Medicine;
|
|
import com.diagbot.model.entity.Medicine;
|
|
import com.diagbot.model.entity.Operation;
|
|
import com.diagbot.model.entity.Operation;
|
|
@@ -71,14 +70,19 @@ public class BillProcess {
|
|
BillNeoMaxDTO billNeoMaxDTO = new BillNeoMaxDTO();
|
|
BillNeoMaxDTO billNeoMaxDTO = new BillNeoMaxDTO();
|
|
if (billNeoDTO.getDrugBillNeoDTO() != null) {
|
|
if (billNeoDTO.getDrugBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getDrugBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getDrugBillNeoDTO(), billNeoMaxDTO);
|
|
|
|
+ billNeoMaxDTO.setType(TypeEnum.drug.getName());
|
|
} else if (billNeoDTO.getLisBillNeoDTO() != null) {
|
|
} else if (billNeoDTO.getLisBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getLisBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getLisBillNeoDTO(), billNeoMaxDTO);
|
|
|
|
+ billNeoMaxDTO.setType(TypeEnum.lis.getName());
|
|
} else if (billNeoDTO.getPacsBillNeoDTO() != null) {
|
|
} else if (billNeoDTO.getPacsBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getPacsBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getPacsBillNeoDTO(), billNeoMaxDTO);
|
|
|
|
+ billNeoMaxDTO.setType(TypeEnum.pacs.getName());
|
|
} else if (billNeoDTO.getOperationBillNeoDTO() != null) {
|
|
} else if (billNeoDTO.getOperationBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getOperationBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getOperationBillNeoDTO(), billNeoMaxDTO);
|
|
|
|
+ billNeoMaxDTO.setType(TypeEnum.operation.getName());
|
|
} else if (billNeoDTO.getTransfusionBillNeoDTO() != null) {
|
|
} else if (billNeoDTO.getTransfusionBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getTransfusionBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getTransfusionBillNeoDTO(), billNeoMaxDTO);
|
|
|
|
+ billNeoMaxDTO.setType(TypeEnum.transfusion.getName());
|
|
}
|
|
}
|
|
billNeoMaxDTO.setOrderName(billNeoDTO.getName()); // 开单名称
|
|
billNeoMaxDTO.setOrderName(billNeoDTO.getName()); // 开单名称
|
|
billNeoMaxDTO.setOrderStandName(billNeoDTO.getStandname()); // 开单标准名称
|
|
billNeoMaxDTO.setOrderStandName(billNeoDTO.getStandname()); // 开单标准名称
|