Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
B
byh-family-doctor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
包
包
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
杨凯
byh-family-doctor
Commits
9c7a2eb9
提交
9c7a2eb9
authored
4月 01, 2024
作者:
杨凯
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:家庭医生初始化
上级
a5bb9f46
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
ImChatTemplateImpl.java
...family/doctor/server/service/impl/ImChatTemplateImpl.java
+2
-2
PatientServiceImpl.java
...family/doctor/server/service/impl/PatientServiceImpl.java
+9
-8
没有找到文件。
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/impl/ImChatTemplateImpl.java
浏览文件 @
9c7a2eb9
...
@@ -180,7 +180,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
...
@@ -180,7 +180,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
}
}
}
else
if
(
i
==
1
)
{
}
else
if
(
i
==
1
)
{
Map
<
String
,
Object
>
imageMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
imageMap
=
new
HashMap
<>();
if
(
reportDetailVo
.
getReportType
().
equals
(
1
))
{
//
if (reportDetailVo.getReportType().equals(1)) {
imageMap
.
put
(
"UserAction"
,
CommonConstants
.
USER_ACTION
);
imageMap
.
put
(
"UserAction"
,
CommonConstants
.
USER_ACTION
);
imageMap
.
put
(
"applicationCode"
,
IMInformConstants
.
IM_SYSTEM_BUSINESS_CODE
);
imageMap
.
put
(
"applicationCode"
,
IMInformConstants
.
IM_SYSTEM_BUSINESS_CODE
);
imageMap
.
put
(
"appointmentId"
,
sendImMsgDTO
.
getAdmId
());
imageMap
.
put
(
"appointmentId"
,
sendImMsgDTO
.
getAdmId
());
...
@@ -197,7 +197,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
...
@@ -197,7 +197,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
imageMap
.
put
(
"toApplicationCode"
,
IMInformConstants
.
IM_SYSTEM_BUSINESS_CODE
);
imageMap
.
put
(
"toApplicationCode"
,
IMInformConstants
.
IM_SYSTEM_BUSINESS_CODE
);
msgType
=
"TIMCustomElem"
;
msgType
=
"TIMCustomElem"
;
}
//
}
content
=
JSONObject
.
toJSONString
(
imageMap
);
content
=
JSONObject
.
toJSONString
(
imageMap
);
}
else
if
(
i
==
2
)
{
}
else
if
(
i
==
2
)
{
if
(
Objects
.
nonNull
(
reportDetailVo
))
{
if
(
Objects
.
nonNull
(
reportDetailVo
))
{
...
...
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/impl/PatientServiceImpl.java
浏览文件 @
9c7a2eb9
...
@@ -119,15 +119,16 @@ public class PatientServiceImpl implements PatientService {
...
@@ -119,15 +119,16 @@ public class PatientServiceImpl implements PatientService {
List
<
PatientSignEntity
>
patientSignEntities
=
getPatientSignList
(
reqVo
.
getPhone
(),
reqVo
.
getPackageOrderId
(),
List
<
PatientSignEntity
>
patientSignEntities
=
getPatientSignList
(
reqVo
.
getPhone
(),
reqVo
.
getPackageOrderId
(),
signStatus
,
status
);
signStatus
,
status
);
if
(!
patientSignEntities
.
isEmpty
())
{
if
(!
patientSignEntities
.
isEmpty
())
{
//
if (!SignStatus.CANCEL.getValue().equals(reqVo.getSignStatus())) {
if
(!
SignStatus
.
CANCEL
.
getValue
().
equals
(
reqVo
.
getSignStatus
()))
{
return
BaseResponse
.
error
(
"已经有进行中的签约或者改签医生,不能再进行签约或者改签!!!"
);
return
BaseResponse
.
error
(
"已经有进行中的签约或者改签医生,不能再进行签约或者改签!!!"
);
// }
}
// PatientSignEntity patientSignEntity = patientSignEntities.get(0);
PatientSignEntity
patientSignEntity
=
patientSignEntities
.
get
(
0
);
// Date signCreateTime = patientSignEntity.getCreateTime();
Date
signCreateTime
=
patientSignEntity
.
getCreateTime
();
// log.info("");
log
.
info
(
"signCreateTime={}, signStartTime={}, signEndTime={}"
,
signCreateTime
,
signStartTime
,
signEndTime
);
// if (signCreateTime.after(signStartTime) && signCreateTime.before(signEndTime)) {
if
(
signCreateTime
.
after
(
signStartTime
)
&&
signCreateTime
.
before
(
signEndTime
))
{
// return BaseResponse.error("已经有进行中的签约或者改签医生,不能再进行签约或者改签!!!");
log
.
info
(
"存在签约信息"
);
// }
return
BaseResponse
.
error
(
"已经有进行中的签约或者改签医生,不能再进行签约或者改签!!!"
);
}
}
}
}
else
{
}
else
{
QueryWrapper
<
PatientSignEntity
>
psWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
PatientSignEntity
>
psWrapper
=
new
QueryWrapper
<>();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论