luodangjia
2024-04-29 1211571e32f67dac5ccf957a3ad808a2ebc4fe8b
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) {