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

import market.Mes.Tpm.vo.PlnSkinrollingPlanDetail;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Update;

import com.hnshituo.orm.GenericMapper;

public interface PlnSkinrollingPlanDetailMapper extends GenericMapper<PlnSkinrollingPlanDetail,Object> {

	@Update("update PLN_SKINROLLING_PLAN_DETAIL t  set t.status = #{status} ,t.sender = #{sender,jdbcType=VARCHAR} , t.send_date = #{send_date,jdbcType=TIMESTAMP} where t.sr_plan_no = #{sr_plan_no} and t.object_no_vt = #{object_no_vt}")
	void doUpdateStatus(PlnSkinrollingPlanDetail plpd);

	@Delete("delete from PLN_SKINROLLING_PLAN_DETAIL t where t.sr_plan_no = #{sr_plan_no} and t.object_no_vt = #{object_no_vt}")
	void doDelete(PlnSkinrollingPlanDetail p);

	void doUpdate1(String string, String string2);

	List<PlnSkinrollingPlanDetail> doQuery3(String v_mch_code, String v_entry_coil_no);

	void doUpdate2(String v_opr_name, String plan_no, String entry_coil_no);

	void doUpdate3(String v_operator, String sr_plan_no, String v_entry_coil_no);

	void doUpdate4(String string, String sr_plan_no, String v_entry_coil_no);

	@Update("update PLN_SKINROLLING_PLAN_DETAIL t  set t.status = #{status}  where t.sr_plan_no = #{sr_plan_no} and t.object_no_vt = #{object_no_vt}")
	void doUpdateWSum(PlnSkinrollingPlanDetail plpd);
}
