package com.newfiber.api.pc.service.impl; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.newfiber.api.core.commons.CustomException; import com.newfiber.api.core.commons.ResultCode; import com.newfiber.api.pc.dao.WarnTeamBossMapper; import com.newfiber.api.pc.dao.WarnTeamSupMapper; import com.newfiber.api.pc.model.entity.WarnTeamSup; import com.newfiber.api.pc.service.WarnTeamSupService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; /** * @ClassName WarnTeamSupServiceImpl * @Description TODO * @Author 张鸿志 * @Date sj2 19:19 * Version 1.0 **/ @Service public class WarnTeamSupServiceImpl extends ServiceImpl<WarnTeamSupMapper, WarnTeamSup> implements WarnTeamSupService { @Autowired private WarnTeamBossMapper warnTeamBossMapper; @Override public void changeApprUser(Integer bossId) { if(StringUtils.isEmpty(bossId)){ throw new CustomException(ResultCode.PARAM_NULL); } warnTeamBossMapper.changeApprUser(bossId); } }