PointsService.java 620 Bytes
package com.topdraw.business.module.points.service;

import com.topdraw.business.module.points.domain.Points;
import com.topdraw.business.module.points.service.dto.PointsDTO;

/**
 * @author XiangHan
 * @date 2021-10-22
 */
public interface PointsService {

    /**
     * 根据ID查询
     * @param id ID
     * @return PointsDTO
     */
    PointsDTO findById(Long id);

    /**
     *
     * @param resources
     */
    PointsDTO create(Points resources);

    /**
     *
     * @param resources
     */
    PointsDTO update(Points resources);

    /**
     *
     * @param id
     */
    void delete(Long id);

}