package com.jisco.dynamicweight.dynamicworkauditdata.mapper;

import com.jisco.dynamicweight.dynamicworkauditdata.model.DynamicWorkAuditdata;
import com.steerinfo.framework.mapper.IBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;

@Mapper
public interface DynamicWorkAuditdataMapper extends IBaseMapper<DynamicWorkAuditdata, String> {
    void save(DynamicWorkAuditdata auditdata);

    List<DynamicWorkAuditdata> getUploadData(@Param("auditingTime1") String auditingTime1, @Param("auditingTime2") String auditingTime2);

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