package com.hmit.kernes.dao;

import com.hmit.kernes.entity.CloudBaseInfoEntity;

import java.util.List;
import java.util.Map;

public interface CloudBaseInfoDao  extends  BaseDao<CloudBaseInfoEntity> {
    @Override
    void save(CloudBaseInfoEntity cloudBaseInfoEntity);

    @Override
    int update(CloudBaseInfoEntity cloudBaseInfoEntity);

    @Override
    int deleteBatch(Object[] id);

    @Override
    int queryTotal(Map<String, Object> map);

    @Override
    CloudBaseInfoEntity queryObject(Object id);

    @Override
    List<CloudBaseInfoEntity> queryList(Map<String, Object> map);

    Long getBaseInfoId(Long userid);

   List<Map> getTotalByDivision();

    List<Map> getIncreaseByDivision();
    List<Map> getIncrease();

    CloudBaseInfoEntity queryObjectByUserId(Long userid);

    void saveListByFancy(List<CloudBaseInfoEntity> list);


   int  queryMonthTotal();
   int queryYearTotal();

    void saveWithId(CloudBaseInfoEntity cloudBaseInfoEntity);

    List<Map> getMemDivCount();//左上

    List<Map> getApplyIncrease();//右上

    List<Map>  getReceptionIncrease();//右上

    List<Map>  getAppIncrease();//右下
    List<Map> getContractIncrease();

    List<Map>  getInfoCount(Map<String, Object> map);//中下
}