小助手自动回复
This commit is contained in:
+1
-2
@@ -36,7 +36,6 @@ import org.jeecg.common.system.vo.LoginUser;
|
|||||||
import org.jeecg.common.system.vo.LoginUserNew;
|
import org.jeecg.common.system.vo.LoginUserNew;
|
||||||
import org.jeecg.common.util.AgeCalculateUtil;
|
import org.jeecg.common.util.AgeCalculateUtil;
|
||||||
import org.jeecg.config.shiro.ClientSignThreadLocal;
|
import org.jeecg.config.shiro.ClientSignThreadLocal;
|
||||||
import org.jeecg.global.GlobalUtils;
|
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
@@ -394,7 +393,7 @@ public class ConSessionApiServiceImpl implements ConSessionApiService {
|
|||||||
ClientSignThreadLocal.setClientSign(CommonConstant.QUARRY);
|
ClientSignThreadLocal.setClientSign(CommonConstant.QUARRY);
|
||||||
}
|
}
|
||||||
//如果是用户咨询全科医生 并且是青海
|
//如果是用户咨询全科医生 并且是青海
|
||||||
if (StrUtil.equals(conSession.getSessionType(), "2") && StrUtil.equals(conSession.getTfQh(), "1")) {
|
if (StrUtil.equals(conSession.getSessionType(), "2")) {
|
||||||
//如果用户发验 并且小助手在休息时间 那么自动发送消息
|
//如果用户发验 并且小助手在休息时间 那么自动发送消息
|
||||||
this.helperSendMessage(conSession.getImId(), fromAccount, conSession.getToAccount());
|
this.helperSendMessage(conSession.getImId(), fromAccount, conSession.getToAccount());
|
||||||
}
|
}
|
||||||
|
|||||||
-2
@@ -312,8 +312,6 @@ public class ConDoctorServiceImpl extends ServiceImpl<ConDoctorMapper, ConDoctor
|
|||||||
ConDoctor conDoctor = new ConDoctor();
|
ConDoctor conDoctor = new ConDoctor();
|
||||||
BeanUtils.copyProperties(dto, conDoctor);
|
BeanUtils.copyProperties(dto, conDoctor);
|
||||||
|
|
||||||
boolean tfQh = GlobalUtils.isQh();
|
|
||||||
|
|
||||||
// 通过Mapper查询并获取分页数据
|
// 通过Mapper查询并获取分页数据
|
||||||
IPage<ConDoctor> conDoctorIPage = conDoctorMapper.queryPageList(page, conDoctor);
|
IPage<ConDoctor> conDoctorIPage = conDoctorMapper.queryPageList(page, conDoctor);
|
||||||
List<ConDoctor> records = conDoctorIPage.getRecords();
|
List<ConDoctor> records = conDoctorIPage.getRecords();
|
||||||
|
|||||||
Reference in New Issue
Block a user