新增新病理

master
linjj 1 year ago
parent 24fdb095d6
commit 4d87cd4945

@ -15,6 +15,14 @@
</sourceRoots>
</configuration>
</facet>
<facet type="jpa" name="JPA">
<configuration>
<setting name="validation-enabled" value="true" />
<setting name="provider-name" value="Hibernate" />
<datasource-mapping />
<naming-strategy-map />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />

@ -16,6 +16,12 @@ public class AliasName {
// 病理检查报告单
public static final String PATHOLOGY_REPORT = "52";
// 新病理检查报告单
public static final String NEW_PATHOLOGY_REPORT = "53";
//心
// 放射诊断报告单 54
public static final String RADIATION_REPORT = "54";

@ -33,6 +33,12 @@ public class InterfaceName {
*
*/
public static final String PATHOLOGY_REPORT = "病理系统";
/**
*
*/
public static final String NEW_PATHOLOGY_REPORT = "新病理系统";
/**
*
*/

@ -131,7 +131,8 @@ public class AnalysisService {
|| Objects.equals(type, AliasName.RADIATION_REPORT)
|| Objects.equals(type, AliasName.ULTRASONIC_REPORT)
|| Objects.equals(type, AliasName.PETCT_REPORT )
|| Objects.equals(type, AliasName.OTHER_REPORT)) {
|| Objects.equals(type, AliasName.OTHER_REPORT)
|| Objects.equals(type, AliasName.NEW_PATHOLOGY_REPORT)) {
messageSubordinateService.save(new MessageSubordinate(messageLog.getId(), patientMainStr, JSON.toJSONString(messageLog)));
}
}

@ -215,6 +215,9 @@ public class XMLUtils {
// 根据source判断是哪个实体类
switch (source) {
case "病理诊断与研究中心":
messageDto = new MessageDto(UltrasonicReport.class.getName(), new UltrasonicReport(), AliasName.NEW_PATHOLOGY_REPORT, reportPath, InterfaceName.NEW_PATHOLOGY_REPORT);
break;
case "病理科":
messageDto = new MessageDto(UltrasonicReport.class.getName(), new UltrasonicReport(), AliasName.PATHOLOGY_REPORT, reportPath, InterfaceName.PATHOLOGY_REPORT);
break;
case "超声科":

@ -14,7 +14,7 @@ spring:
# database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
url: jdbc:sqlserver://localhost:1433;DatabaseName=zj_record_new
username: sa
password: docus702
password: admin123
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
jpa:
database: sql_server

Loading…
Cancel
Save