package market.Mes.OrderManager.Plan.mapper;
import java.util.HashMap;
import java.util.List;

import market.Mes.Lengthwise.Design.vo.PlnLengthwiseDsnMain;
import market.Mes.OrderManager.Plan.vo.PlnProdorderStatistic;

import com.hnshituo.orm.GenericMapper;

public interface PlnProdorderStatisticMapper extends GenericMapper<PlnProdorderStatistic,Object> {

	void doDelete(String order_no);

	List<HashMap> doQuerySum(String order_no);

	int doQueryMaxNo();

	PlnProdorderStatistic doSum(String sSum);

	void doDeleteProdOderNo(String sId);
	
	// 根据S2的 生产订单号，修改  生产订单进程表[PLN_PRODORDER_STATISTIC] 横剪纵剪信息
	void doUpdatePlaned(PlnProdorderStatistic pos);

	List<PlnProdorderStatistic> doSumForDsnNo(PlnLengthwiseDsnMain pldm);
	
	/**
	 * 修改生产订单统计量(完成量,发运量,结算量)
	 * @param pos
	 */
	void update_Pord_Stats(PlnProdorderStatistic pos);
}
