package com.mortals.xhx.module.pj.service;
import com.mortals.framework.common.Rest;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.pj.model.PjEvaluateStatEntity;
import com.mortals.xhx.module.pj.dao.PjEvaluateStatDao;
import com.mortals.xhx.module.pj.model.PjEvaluateStatQuery;

import java.util.List;

/**
* PjEvaluateStatService
*
* 评价汇总统计 service接口
*
* @author zxfei
* @date 2024-06-24
*/
public interface PjEvaluateStatService extends ICRUDService<PjEvaluateStatEntity,Long>{

    PjEvaluateStatDao getDao();

    /**
     * 更新站点评价统计
     * @param entity
     * @param context
     * @return
     */
    Rest<Void> updateSitePjStat(PjEvaluateStatEntity entity, Context context);


    List<PjEvaluateStatEntity> getBillInfos(PjEvaluateStatQuery query, PageInfo pageInfo, Context context);


}