guohongjin
2024-05-08 339d15eb99805ce78fdd07005d64faacb57d649d
rest/src/main/java/cn/stylefeng/rest/modular/home/service/MentalTestBizService.java
@@ -60,6 +60,9 @@
    public MentalTestRecord answerSubmit(MentalTestAnswerSubmitRequest req) {
        // 获取用户信息
        Customer customer = customerService.getById(req.getUserId());
        if (customer == null) {
            throw new RuntimeException("获取用户信息失败!");
        }
        // 获取用户咨询顾问ID
        Long consultWorkerId;
        if (customer != null && customer.getConsultWorkerId() != null) {