package com.jisco.dynamicweight.dynamicworkauditdata.service;

import com.jisco.dynamicweight.dynamicworkauditdata.model.DynamicWorkAuditdata;
import com.jisco.dynamicweight.dynamicworkupdata.vo.AuditDataVO;
import com.steerinfo.framework.service.IBaseService;
import com.steerinfo.framework.service.pagehelper.PageList;

import java.util.Date;
import java.util.List;

/**
 * DynamicWorkAuditdata服务接口：
 * @author generator
 * @version 1.0-SNAPSHORT 2022-02-08 02:48
 * 类描述
 * 修订历史：
 * 日期：2022-02-08
 * 作者：generator
 * 参考：
 * 描述：DynamicWorkAuditdata服务接口
 * @see null
 * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
 */
public interface IDynamicWorkAuditdataService extends IBaseService<DynamicWorkAuditdata, String>{

    void audit(String date, List<AuditDataVO> list);

    /**
     * 查询上传数据
     * @param auditingTime1
     * @param auditingTime2
     * @return
     */
    List<DynamicWorkAuditdata> getUploadData(String auditingTime1, String auditingTime2);

    void cancelAudit(List<DynamicWorkAuditdata> list);

    void cancelUpload(List<DynamicWorkAuditdata> list);

    void upload(List<DynamicWorkAuditdata> list);

    /**
     * 动态秤报表
     * @param startTime
     * @param endTime
     * @return
     */
    List<DynamicWorkAuditdata> getCollectData(String startTime, String endTime);
}