44323
2023-09-20 ef96dbc9278ebae4af204cca9de98c63f0d6328e
cloud-server-other/src/main/java/com/dsh/other/mapper/BannerMapper.java
@@ -8,12 +8,20 @@
import org.springframework.web.bind.annotation.PathVariable;
import java.util.List;
import com.dsh.other.entity.CreateHistoryDto;
import com.dsh.other.entity.GetHistoryDto;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * @author zhibing.pu
 * @date 2023/7/11 17:46
 */
public interface BannerMapper extends BaseMapper<Banner> {
    void createHistory(@Param("createHistoryDto") CreateHistoryDto createHistoryDto);
    List<GetHistoryDto> getHistory(@Param("studentId") Integer studentId);
    int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state);
    List<Banner> listAll(@Param("query") AdvertisementQuery query);