| | |
| | | import com.panzhihua.sangeshenbian.service.ISystemUserService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | * @author |
| | | * @since 2025-02-22 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | @RequiredArgsConstructor(onConstructor_ = {@Lazy}) |
| | | public class ComplaintServiceImpl extends ServiceImpl<ComplaintMapper, Complaint> implements IComplaintService { |
| | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void saveReport(ComplaintReportDTO dto, LoginUserInfoVO loginUserInfoVO) { |
| | | System.err.println("用户登录数据---》" + JSON.toJSONString(loginUserInfoVO)); |
| | | log.info("用户登录数据----------------》" + JSON.toJSONString(loginUserInfoVO)); |
| | | String phone = loginUserInfoVO.getPhone(); |
| | | |
| | | SystemUser adminUser = systemUserService.getOne(new LambdaQueryWrapper<SystemUser>() |