/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.workreceiptsregister.dao;

import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import com.jeeplus.modules.workreceiptsregister.entity.WorkReceiptsRegister;
import com.jeeplus.modules.workreceiptsregister.entity.WorkReceiptsRegisterCompany;
import com.jeeplus.modules.workreceiptsregister.entity.WorkReceiptsRegisterInfo;
import com.jeeplus.modules.workreceiptsregister.entity.WorkReceiptsRegisterOffice;

import java.util.List;

/**
 * 收入登记DAO接口
 * @author ssrh
 * @version 2018-05-21
 */
@MyBatisDao
public interface WorkReceiptsRegisterDao extends CrudDao<WorkReceiptsRegister> {


    List<WorkReceiptsRegisterCompany> findCompanyList(WorkReceiptsRegisterCompany workReceiptsRegisterCompany);

    List<WorkReceiptsRegisterOffice> findOfficeList(WorkReceiptsRegisterOffice workReceiptsRegisterCompany);

    List<WorkReceiptsRegisterInfo> findInfoList(WorkReceiptsRegisterInfo workReceiptsRegisterInfo);

    List findCompMonthList(WorkReceiptsRegisterCompany workReceiptsRegisterCompany);

    List findOfficeMonthList(WorkReceiptsRegisterOffice workReceiptsRegisterCompany);
    WorkReceiptsRegisterOffice findOfficeListSum(WorkReceiptsRegisterOffice w);
}