AjhWasteProduceMapper.java 1.0 KB
package com.skua.modules.ajh.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.ajh.entity.AjhWasteMonthReport;
import com.skua.modules.ajh.entity.AjhWasteYearReport;
import org.apache.ibatis.annotations.Param;
import com.skua.modules.ajh.entity.AjhWasteProduce;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 危废产生记录表
 */
public interface AjhWasteProduceMapper extends BaseMapper<AjhWasteProduce> {
    /***
     * 月报
     * @param page
     * @param
     * @return
     */
    IPage<AjhWasteMonthReport> queryPageListByMonth(Page<AjhWasteMonthReport> page,@Param("departId") String departId,@Param("reportMonth")String reportMonth);

    /**
     * 年报
     * @param page
     * @param
     * @return
     */
    IPage<AjhWasteYearReport> queryPageListByYear(Page<AjhWasteYearReport> page,@Param("departId") String departId,@Param("reportYear")String reportYear);
}