| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.moral.api.entity.ResponsibilityUnit; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface ResponsibilityUnitMapper extends BaseMapper<ResponsibilityUnit> { |
| | | |
| | | /** |
| | | * 查询责任单位id |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<Integer> selectResultList(@Param("id") Integer id); |
| | | |
| | | String selectAreaCode(@Param("id") Integer id); |
| | | |
| | | /** |
| | | * 查询字典id |
| | | */ |
| | | List<Integer> selectCodeList(@Param("code") String code,@Param("id") Integer id); |
| | | |
| | | /** |
| | | * 查询字典类型名字 |
| | | * @param code |
| | | * @param id |
| | | * @return |
| | | */ |
| | | String selectName(@Param("code") String code,@Param("id") Integer id); |
| | | } |