diff --git a/openhis-server-new/core-system/src/main/java/com/core/system/domain/SysTenantOption.java b/openhis-server-new/core-system/src/main/java/com/core/system/domain/SysTenantOption.java index afb2acdd..5adc708a 100644 --- a/openhis-server-new/core-system/src/main/java/com/core/system/domain/SysTenantOption.java +++ b/openhis-server-new/core-system/src/main/java/com/core/system/domain/SysTenantOption.java @@ -66,4 +66,6 @@ public class SysTenantOption implements Serializable { @TableField(fill = FieldFill.UPDATE) private Date updateTime; + + } diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java index 092b0a71..42b99c85 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/doctorstation/appservice/impl/DoctorStationAdviceAppServiceImpl.java @@ -177,28 +177,9 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp List< AdviceInventoryDto> inventoryList = adviceInventory.stream() -<<<<<<< HEAD - .filter(e -> baseDto.getAdviceDefinitionId().equals(e.getItemId()) - && baseDto.getAdviceTableName().equals(e.getItemTable())) - .collect(Collectors.toList()); - // 当存在按科室配置时:仅保留被允许的药房/药库的库存; - // 若该药品类别未在配置中出现,则视为不可开立(清空库存以便前端过滤掉) - if (!allowedLocByCategory.isEmpty()) { - Set allowedLoc = - allowedLocByCategory.get(String.valueOf(baseDto.getCategoryCode())); - if (allowedLoc == null || allowedLoc.isEmpty()) { - inventoryList = Collections.emptyList(); - } else { - inventoryList = inventoryList.stream() - .filter(inv -> allowedLoc.contains(inv.getLocationId())) - .collect(Collectors.toList()); - } - } -======= .filter(e -> baseDto.getAdviceDefinitionId().equals(e.getItemId()) && baseDto.getAdviceTableName().equals(e.getItemTable())) .collect(Collectors.toList()); ->>>>>>> upstream/develop // 库存信息 baseDto.setInventoryList(inventoryList); // 设置默认产品批号 @@ -210,17 +191,6 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp baseDto.setDefaultLotNumber(hasInventoryList.get(0).getLotNumber()); } } -<<<<<<< HEAD - if (!inventoryList.isEmpty() && !allowedLocByCategory.isEmpty()) { - Set allowedLoc = - allowedLocByCategory.get(String.valueOf(baseDto.getCategoryCode())); - if (allowedLoc != null && !allowedLoc.isEmpty()) { - AdviceInventoryDto hit = inventoryList.stream() - .filter(inv -> allowedLoc.contains(inv.getLocationId())) - .findFirst().orElse(null); - if (hit != null && hit.getLotNumber() != null) { - baseDto.setDefaultLotNumber(hit.getLotNumber()); -======= if (!inventoryList.isEmpty() && !medLocationConfig.isEmpty()) { // 第一步:在medLocationConfig中匹配categoryCode AdviceInventoryDto result1 = medLocationConfig.stream() @@ -233,7 +203,6 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp .orElse(null); if (result2 != null && result2.getLotNumber() != null) { baseDto.setDefaultLotNumber(result2.getLotNumber()); ->>>>>>> upstream/develop } } } diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/controller/PaymentReconciliationController.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/controller/PaymentReconciliationController.java index eee110f0..60461bc1 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/controller/PaymentReconciliationController.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/paymentmanage/controller/PaymentReconciliationController.java @@ -179,15 +179,9 @@ public class PaymentReconciliationController { * @return 操做结果 */ @PostMapping("/reg-pay") -<<<<<<< HEAD - public R regPay(@Valid @RequestBody OutpatientRegistrationSettleParam outpatientRegistrationSettleParam) { - R result = paymentReconciliationService.regPay(outpatientRegistrationSettleParam, - outpatientRegistrationSettleParam.getChrgBchno(), outpatientRegistrationSettleParam.getPaymentDetails()); -======= public R regPay(@Valid @RequestBody OutpatientRegistrationSettleParam outpatientRegistrationAddParam) { R result = paymentReconciliationService.regPay(outpatientRegistrationAddParam, outpatientRegistrationAddParam.getChrgBchno(), outpatientRegistrationAddParam.getPaymentDetails()); ->>>>>>> upstream/develop // 付款成功后,开具发票 if (result.getCode() == 200) { PaymentReconciliation paymentRecon = null; diff --git a/openhis-server-new/openhis-application/src/main/resources/application-test.yml b/openhis-server-new/openhis-application/src/main/resources/application-test.yml index ce841649..b4401162 100644 --- a/openhis-server-new/openhis-application/src/main/resources/application-test.yml +++ b/openhis-server-new/openhis-application/src/main/resources/application-test.yml @@ -62,11 +62,7 @@ spring: # redis 配置 redis: # 地址 -<<<<<<< HEAD:openhis-server-new/openhis-application/src/main/resources/application-test.yml host: 192.168.110.252 -======= - host: localhost ->>>>>>> upstream/develop:openhis-server-new/openhis-application/src/main/resources/application-local.yml # 端口,默认为6379 port: 6379 # 数据库索引 diff --git a/openhis-server-new/openhis-application/src/main/resources/application.yml b/openhis-server-new/openhis-application/src/main/resources/application.yml index 35c92f6d..a8228c06 100644 --- a/openhis-server-new/openhis-application/src/main/resources/application.yml +++ b/openhis-server-new/openhis-application/src/main/resources/application.yml @@ -49,11 +49,7 @@ spring: # 国际化资源文件路径 basename: i18n/messages profiles: -<<<<<<< HEAD active: dev -======= - active: local # (本地)local (生产)prod ->>>>>>> upstream/develop # 文件上传 servlet: multipart: diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/Inventorymanage/PurchaseInventoryMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/Inventorymanage/PurchaseInventoryMapper.xml index 0bf5f91f..feea11d5 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/Inventorymanage/PurchaseInventoryMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/Inventorymanage/PurchaseInventoryMapper.xml @@ -77,11 +77,7 @@ T2."name" AS item_name, T2.id AS item_id, T2.part_percent, -<<<<<<< HEAD - T2.manufacturer_text AS manufacturer_text, -======= T2.manufacturer_text, ->>>>>>> upstream/develop T3.total_volume, T5."name" AS practitioner_name, T6."name" AS purpose_location_name, @@ -97,23 +93,6 @@ ) AS total_quantity, T10."name" AS supplier_name FROM wor_supply_request T1 -<<<<<<< HEAD - INNER JOIN med_medication_definition T2 - ON T1.item_id = T2.id - LEFT JOIN med_medication T3 - ON T3.medication_def_id = T2.id - LEFT JOIN adm_practitioner T5 - ON T1.practitioner_id = T5.id - LEFT JOIN adm_location T6 - ON T1.purpose_location_id = T6.id - LEFT JOIN adm_location T7 - ON T1.purpose_location_store_id = T7.id - LEFT JOIN wor_inventory_item T9 - ON T1.item_id = T9.item_id - AND T1.purpose_location_id = T9.location_id - LEFT JOIN adm_supplier T10 - ON T1.supplier_id = T10.id -======= INNER JOIN med_medication_definition T2 ON T1.item_id = T2.id AND T2.delete_flag = '0' @@ -136,7 +115,6 @@ LEFT JOIN adm_supplier T10 ON T1.supplier_id = T10.id AND T10.delete_flag = '0' ->>>>>>> upstream/develop WHERE T1.bus_no = #{busNo} AND T1.delete_flag = '0' UNION @@ -158,11 +136,7 @@ T8."name" AS item_name, T8.id AS item_id, T8.part_percent, -<<<<<<< HEAD - T8.manufacturer_text AS manufacturer_text, -======= T8.manufacturer_text, ->>>>>>> upstream/develop T8."size" AS total_volume, T5."name" AS practitioner_name, T6."name" AS purpose_location_name, @@ -175,118 +149,8 @@ FROM wor_inventory_item T9 WHERE T9.item_id = T1.item_id AND T9.location_id = T1.purpose_location_id -<<<<<<< HEAD - ) AS total_quantity - FROM wor_supply_request T1 - INNER JOIN adm_device_definition T8 - ON T1.item_id = T8.id - LEFT JOIN adm_practitioner T5 - ON T1.practitioner_id = T5.id - LEFT JOIN adm_location T6 - ON T1.purpose_location_id = T6.id - LEFT JOIN adm_location T7 - ON T1.purpose_location_store_id = T7.id - LEFT JOIN wor_inventory_item T9 - ON T1.item_id = T9.item_id - AND T1.purpose_location_id = T9.location_id - LEFT JOIN adm_supplier T10 - ON T1.supplier_id = T10.id - WHERE T1.bus_no = #{busNo} - AND T1.delete_flag = '0' - - diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/reportmanage/InventoryProductReportMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/reportmanage/InventoryProductReportMapper.xml index b259f5bd..492d07d0 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/reportmanage/InventoryProductReportMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/reportmanage/InventoryProductReportMapper.xml @@ -4,159 +4,6 @@ diff --git a/openhis-server-new/openhis-domain/src/main/java/com/openhis/financial/domain/PaymentReconciliation.java b/openhis-server-new/openhis-domain/src/main/java/com/openhis/financial/domain/PaymentReconciliation.java index 847f20d2..16fb5d2e 100644 --- a/openhis-server-new/openhis-domain/src/main/java/com/openhis/financial/domain/PaymentReconciliation.java +++ b/openhis-server-new/openhis-domain/src/main/java/com/openhis/financial/domain/PaymentReconciliation.java @@ -102,13 +102,10 @@ public class PaymentReconciliation extends HisBaseEntity { private String ybSettleIds;// 记录医保结算id /** 医保清算标志 */ -<<<<<<< HEAD private Integer ybClearFlag;//默认值0 未清算 /** 退号/退费原因 */ @TableField("refund_reason") private String refundReason; -======= - private Integer ybClearFlag;// 默认值0 未清算 ->>>>>>> upstream/develop + } \ No newline at end of file diff --git a/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/OrganizationMapper.xml b/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/OrganizationMapper.xml index 658afa70..a40d0260 100644 --- a/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/OrganizationMapper.xml +++ b/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/OrganizationMapper.xml @@ -3,19 +3,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<<<<<<< HEAD - - - -======= ->>>>>>> upstream/develop \ No newline at end of file diff --git a/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionMedicineList.vue b/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionMedicineList.vue index 4775e4a8..81e9c968 100644 --- a/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionMedicineList.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionMedicineList.vue @@ -15,7 +15,6 @@ -->