yanghb
2024-04-15 6bc25b33e90d45904d1843e927fa709dfeb51d7f
guns/src/main/java/cn/stylefeng/guns/modular/business/controller/CounsellingOrderController.java
@@ -163,7 +163,7 @@
                        .set(CounsellingUser::getClassHours,0).set(CounsellingUser::getResidueClassHours,0)
                        .eq(CounsellingUser::getCounsellingInfoId,counsellingOrder.getCounsellingInfoId()).eq(CounsellingUser::getUserId,counsellingOrder.getUserId());
                if (counsellingOrder.getOrderType().intValue() ==1){
                    counsellingUserLambdaUpdateWrapper.set(CounsellingUser::getIsFirstAppointment,null);
                    counsellingUserLambdaUpdateWrapper.set(CounsellingUser::getIsFirstAppointment,1);
                }
                //更新咨询师用户信息
                this.counsellingUserService.update(counsellingUserLambdaUpdateWrapper);