ruoyi-admin/src/main/resources/application-druid.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-admin/src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-admin/src/main/resources/logback.xml | 补丁 | 查看 | 原始文档 | blame | 历史 | |
smartor/src/main/java/com/smartor/domain/PatMedOuthosp.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-admin/src/main/resources/application-druid.yml
@@ -13,10 +13,10 @@ # 公司 # url: jdbc:mysql://192.168.2.9:3308/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # 丽水 # url: jdbc:mysql://127.0.0.1:3308/smartor-lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # username: smartor # password: Smartor.2023 # driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3308/smartor-lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: smartor password: Smartor.2023 driverClassName: com.mysql.cj.jdbc.Driver # # 新华 # url: jdbc:mysql://192.168.191.181:3308/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # username: smartor @@ -24,10 +24,10 @@ # driverClassName: com.mysql.cj.jdbc.Driver # 公司云 url: jdbc:mysql://116.62.18.175:6002/smartor_lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: hxsoft password: Hxerp2000 driverClassName: com.mysql.cj.jdbc.Driver # url: jdbc:mysql://116.62.18.175:6002/smartor_lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # username: hxsoft # password: Hxerp2000 # driverClassName: com.mysql.cj.jdbc.Driver # 从库数据源 ruoyi-admin/src/main/resources/application.yml
@@ -18,7 +18,7 @@ # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 port: 8095 port: 8096 servlet: # 应用的访问路径 context-path: / ruoyi-admin/src/main/resources/logback.xml
smartor/src/main/java/com/smartor/domain/PatMedOuthosp.java
@@ -160,6 +160,12 @@ private String hpi; /** 患者档案编号 现病史 */ @ApiModelProperty(value = "患者档案编号") private String patno; /** * 主述 */ @ApiModelProperty(value = "主述") smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
@@ -561,7 +561,10 @@ PatMedOuthosp patMedOuthosp = new PatMedOuthosp(); patMedOuthosp.setOuthospno(externalInHospPatientInfo.getBingAnHao()); patMedOuthosp.setSerialnum(ObjectUtils.isNotEmpty(yeWuXX.get("JiuZhenYWID")) ? yeWuXX.get("JiuZhenYWID").toString() : null); List<PatMedOuthosp> patMedOuthosps = patMedOuthospMapper.selectPatMedOuthospList(patMedOuthosp); patMedOuthosp.setPatid(patArchive.getId()); patMedOuthosp.setPatno(externalInHospPatientInfo.getBingAnHao()); patMedOuthosp.setPatname(externalInHospPatientInfo.getXingMing()); patMedOuthosp.setHospitalname(externalInHospPatientInfo.getZuZhiJGMC()); patMedOuthosp.setHospitalcode(externalInHospPatientInfo.getZuZhiJGID()); @@ -586,9 +589,16 @@ patMedOuthosp.setMainsuit(externalWZInfo.getNeiRong()); } } int i = 0; if (CollectionUtils.isNotEmpty(patMedOuthosps)) { patMedOuthosp.setId(patMedOuthosps.get(0).getId()); patMedOuthosp.setUpdateTime(new Date()); i = patMedOuthospMapper.updatePatMedOuthosp(patMedOuthosp); } else { patMedOuthosp.setCreateTime(new Date()); patMedOuthosp.setUpdateTime(new Date()); int i = patMedOuthospMapper.insertPatMedOuthosp(patMedOuthosp); i = patMedOuthospMapper.insertPatMedOuthosp(patMedOuthosp); } if (i > 0) { return true; } smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
@@ -33,11 +33,13 @@ <result property="outhospno" column="outhospno"/> <result property="patname" column="patname"/> <result property="guid" column="guid"/> <result property="patno" column="patno"/> </resultMap> <sql id="selectPatMedOuthospVo"> select id, outhospno, patno, serialnum, patid, hospitalname, @@ -72,6 +74,7 @@ select pmo.id, pmo.outhospno, pmo.patno, pmo.serialnum, pmo.patid, pmo.hospitalname, @@ -112,6 +115,7 @@ <if test="patname != null and patname != ''">and pmo.patname like concat('%', #{patname}, '%')</if> <if test="admitdate != null ">and pmo.admitdate = #{admitdate}</if> <if test="patid != null ">and pmo.patid = #{patid}</if> <if test="patno != null ">and pmo.patno = #{patno}</if> <if test="orgid != null and orgid != ''">and pmo.orgid = #{orgid}</if> <if test="outhospno != null and outhospno != ''">and pmo.outhospno = #{outhospno}</if> </where> @@ -154,6 +158,7 @@ <if test="outhospno != null">outhospno,</if> <if test="patname != null">patname,</if> <if test="guid != null">guid,</if> <if test="patno != null">patno,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="serialnum != null">#{serialnum},</if> @@ -183,6 +188,7 @@ <if test="outhospno != null">#{outhospno},</if> <if test="patname != null">#{patname},</if> <if test="guid != null">#{guid},</if> <if test="patno != null">#{patno},</if> </trim> </insert> @@ -216,6 +222,7 @@ <if test="outhospno != null">outhospno = #{outhospno},</if> <if test="patname != null">patname = #{patname},</if> <if test="guid != null">guid = #{guid},</if> <if test="patno != null">patno = #{patno},</if> </trim> where id = #{id} </update> smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -273,11 +273,11 @@ <if test="sendstate != null ">and sendstate = #{sendstate}</if> <if test="drname != null and drname != ''">and drname like concat('%', #{drname}, '%')</if> <if test="taskName != null and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if> <if test="drcode != null ">and drcode = #{drcode}</if> <if test="drcode != null and drcode != ''">and (drcode = #{drcode}</if> <if test="nurseId != null and nurseId != ''">or nurse_id = #{nurseId})</if> <if test="starttime != null ">and starttime = #{starttime}</if> <if test="endtime != null ">and endtime = #{endtime}</if> <if test="excep != null ">and excep = #{excep}</if> <if test="nurseId != null ">and nurse_id = #{nurseId}</if> <if test="nurseName != null ">and nurse_name = #{nurseName}</if> <if test="score != null">and score = #{score}</if> <if test="remark != null">and remark = #{remark}</if>