package market.Mes.Tpm.mapper;
import java.util.List;

import market.Mes.Lengthwise.Performance.vo.MesCrSlittingDSum;
import market.Mes.Lengthwise.Plan.vo.PlnMaterielDetail;
import market.Mes.Tpm.vo.MesTpmD;
import market.Mes.Tpm.vo.MesTpmM;
import market.Mes.Tpm.vo.PlnTpmMaterialDetailSum;
import market.Mes.Tpm.vo.TpmPrintView;

import org.apache.ibatis.annotations.Update;

import com.hnshituo.orm.GenericMapper;

public interface MesTpmDMapper extends GenericMapper<MesTpmD,Object> {

	void doUpdate(MesTpmD med);

	List<PlnTpmMaterialDetailSum> doQueryWeb(PlnMaterielDetail mcsm);

	void deleteByProcessNo(String schedule_no, String material_no);

	Integer doQuery2(String sNo);

	List<MesTpmD> FindMescrcrDByprocessNo(String schedule_no, String material_no);

	List<MesTpmD> doQueryMes(String schedule_no, String material_no);

	void updateMescrcrossD(MesTpmD d, String vOprname, String schedule_no,
			String material_no);

	List<TpmPrintView> doQueryPrint1(List<String> strList, String string);
	List<TpmPrintView> doQueryPrintOut(List<String> strList, String string);

	List<MesCrSlittingDSum> doQuery(MesTpmM object);

	List<MesCrSlittingDSum> doQuery_wgt(MesTpmM object);

	void doUpdate1(MesTpmD mtd);

	@Update("update mes_tpm_d set coil_no_vt = null where coil_no = #{coil_no}")
	void doUpdate111(MesTpmD mcsd);

}
