|  |  |  | 
|---|
|  |  |  | AppointmentDO appointmentDO = appointmentMapper.getByApplyNo(createReqVO.getApplyNo()); | 
|---|
|  |  |  | ApplicationTemplate app = new ApplicationTemplate(); | 
|---|
|  |  |  | String action = "S0405"; | 
|---|
|  |  |  | String message = app.getXML(createReqVO.getApplyNo(), "4", "取消检查", createReqVO.getOperater(), appointmentDO.getPatDeptCode(), appointmentDO.getPatDeptDesc(), appointmentDO.getPatWardCode(), appointmentDO.getPatWardDesc(), appointmentDO.getPatBedNo(), appointmentDO.getEpisodeId(), "" + appointmentDO.getBookSrc(), appointmentDO.getPatId(), appointmentDO.getPatName()); | 
|---|
|  |  |  | String message = app.getXML(createReqVO.getApplyNo(), "3", "检查登记", createReqVO.getOperater(), appointmentDO.getPatDeptCode(), appointmentDO.getPatDeptDesc(), appointmentDO.getPatWardCode(), appointmentDO.getPatWardDesc(), appointmentDO.getPatBedNo(), appointmentDO.getEpisodeId(), "" + appointmentDO.getBookSrc(), appointmentDO.getPatId(), appointmentDO.getPatName()); | 
|---|
|  |  |  | String s = webServiceClient.callJHFWTYRK(action, "", message); | 
|---|
|  |  |  | log.info("routineFinishWebServiceClient的返回值为:{}", s); | 
|---|
|  |  |  | if (s.contains("更新成功")) { | 
|---|
|  |  |  | //需要根据applyNo,将appiontment表里的status改成3 | 
|---|
|  |  |  | appointmentMapper.updateStatusByApplyNo(createReqVO.getApplyNo(), "4"); | 
|---|
|  |  |  | appointmentMapper.updateStatusByApplyNo(createReqVO.getApplyNo(), "3"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | //检查类型是床边的或常规的,需要根据applyNo,将appiontment表里的status改成7 | 
|---|
|  |  |  | 
|---|
|  |  |  | name: jh-server | 
|---|
|  |  |  |  | 
|---|
|  |  |  | profiles: | 
|---|
|  |  |  | #    active: prod | 
|---|
|  |  |  | active: stage | 
|---|
|  |  |  | active: prod | 
|---|
|  |  |  | #    active: stage | 
|---|
|  |  |  |  | 
|---|
|  |  |  | main: | 
|---|
|  |  |  | allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。 | 
|---|