小助手自动回复

This commit is contained in:
feng
2025-07-10 10:47:51 +08:00
parent e64091efde
commit d842bb1dbb
2 changed files with 1 additions and 4 deletions
@@ -36,7 +36,6 @@ import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.common.system.vo.LoginUserNew;
import org.jeecg.common.util.AgeCalculateUtil;
import org.jeecg.config.shiro.ClientSignThreadLocal;
import org.jeecg.global.GlobalUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -394,7 +393,7 @@ public class ConSessionApiServiceImpl implements ConSessionApiService {
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());
}
@@ -312,8 +312,6 @@ public class ConDoctorServiceImpl extends ServiceImpl<ConDoctorMapper, ConDoctor
ConDoctor conDoctor = new ConDoctor();
BeanUtils.copyProperties(dto, conDoctor);
boolean tfQh = GlobalUtils.isQh();
// 通过Mapper查询并获取分页数据
IPage<ConDoctor> conDoctorIPage = conDoctorMapper.queryPageList(page, conDoctor);
List<ConDoctor> records = conDoctorIPage.getRecords();