/***文档注释***********************************************
 * 作者               :                   龙文航
 * 创建日期      :                   2017.11.27
 * 描述               :                   仓库管理-入库查询
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
 ***********************************************************/
package market.Lms.Warehouse.mapper;

import java.util.HashMap;
import java.util.List;

import market.Lms.Warehouse.vo.YdmProductDetail;
import market.Lms.Warehouse.vo.YdmProductInlist;

import com.hnshituo.orm.GenericMapper;

@SuppressWarnings("rawtypes")
public interface YdmProductInlistMapper extends GenericMapper<YdmProductInlist,Object> 
{
	public List<HashMap> getNo(String param);

	public List<YdmProductInlist> doQueryWebBySQL(int beginindex, int endindex,String starttime,String endtime,String coilno,String judgesteelcode,Object hmin,Object hmax,Object wmin, Object wmax,String storageattr,String intype);

	public List<YdmProductInlist> doQueryWebBySQLs(int beginindex, int endindex,String starttime,String endtime,
			YdmProductDetail ypd,Object hmin,Object hmax,Object wmin, Object wmax);
	public int doQueryWebBySQLCount(String starttime,String endtime,
			YdmProductDetail ypd,Object hmin,Object hmax,Object wmin, Object wmax); 

	public List<YdmProductInlist> doQueryWebBySQLWg(int beginindex, int endindex,String starttime,String endtime,String coilno,String judgesteelcode,Object hmin,Object hmax,Object wmin, Object wmax,String storageattr,String intype);
	
	public void doDelete(String param);
		
	public void doDeleteByCoilno(String queryNo, String string);
	
	
	/*报表:成品库入库查询 SQL实现 条件+分页*/
	public List<YdmProductInlist> doReportWebBySQL(int beginindex,
			int endindex, String starttime, String endtime, String coilno,
			String judgesteelcode, Object hmin, Object hmax, Object wmin,
			Object wmax, String storageattr, String intype, String string,
			String materailtype, String string2, String string3,
			String objectattr,
			YdmProductInlist YdmIn);
	
	/*报表:成品库入库查询 SQL实现 条件+汇总*/
	public int doReportWebBySQLCount(String starttime, String endtime,
			String coilno, String judgesteelcode, Object hmin, Object hmax,
			Object wmin, Object wmax, String storageattr, String intype,
			String string, String materailtype, String string2, String string3,
			String objectAttr,
			YdmProductInlist YdmIn);
	
	public void doDeleteByCoilnoStorage(String coilno,String storage);
}
