package core.stlmes.server.sale.po;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class YdmZcBillMBean
{
	private String Bill_no_seq = "";
	private String Bill_no = "";
	private String Order_no = "";
	private String Order_seq = "";
	private String Delivery_no = "";
	private String Send_plan_no = "";
	private String Send_dayplan_no = "";
	private String Wagons_plan_no = "";
	private String Vstel_code = "";
	private String Vstel_desc = "";
	private String Plan_trans_type = "";
	private String Act_trans_type = "";
	private String Station_no = "";
	private String Station_nm = "";
	private String Spcl_ln_no = "";
	private String Spcl_ln_nm = "";
	private String Port_no = "";
	private String Port_desc = "";
	private String Delivy_place_code = "";
	private String Delivy_place_name = "";
	private String Sale_org = "";
	private String Sale_org_desc = "";
	private String Customer_no = "";
	private String Customer_nm = "";
	private String Receiv_no = "";
	private String Receiv_nm = "";
	private String Stlmt_unit_no = "";
	private String Stlmt_unit_nm = "";
	private String Carry_company_code = "";
	private String Carry_company_name = "";
	private String Prd_cls = "";
	private String Produccode = "";
	private String Producname = "";
	private String Std_code = "";
	private String Std_name = "";
	private String Steelcode = "";
	private String Steelname = "";
	private java.util.Date Plan_start_time = null;
	private java.util.Date Plan_end_time = null;
	private java.util.Date Act_start_time = null;
	private java.util.Date Act_end_time = null;
	private Double Plan_wt = 0.0;
	private Double Plan_num = 0.0;
	private Double Plan_totl_len = 0.0;
	private Double Act_wt = 0.0;
	private Double Act_num = 0.0;
	private Double Act_totl_len = 0.0;
	private String Spec_code = "";
	private String Spec_name = "";
	private String Bill_status = "";
	private String Memo = "";
	private String Validflag = "";
	private String Create_name = "";
	private java.util.Date Create_time = null;
	private String Update_name = "";
	private java.util.Date Update_time = null;
	private String Delete_name = "";
	private java.util.Date Delete_time = null;
	private String Loadvehicle_type = "";
	private String Fst_drawee_unit = "";
	private String Ispreclose = "";
	private String Ord_pk = "";
	private String Ord_ln_pk = "";
	private String Ord_ln_dly_pk = "";
	private String Agency_fl = "";
	private String Receiv_addr = "";
	private String Delvry_addr = "";
	private String Pickup_flag = "";

	private String Outstock_ticket_status = "";
	private String Transmny_ticket_status = "";
	private String Bill_ticket_status = "";

	public String getOutstock_ticket_status()
	{
		return Outstock_ticket_status;
	}

	public void setOutstock_ticket_status(String outstockTicketStatus)
	{
		Outstock_ticket_status = outstockTicketStatus;
	}

	public String getTransmny_ticket_status()
	{
		return Transmny_ticket_status;
	}

	public void setTransmny_ticket_status(String transmnyTicketStatus)
	{
		Transmny_ticket_status = transmnyTicketStatus;
	}

	public String getBill_ticket_status()
	{
		return Bill_ticket_status;
	}

	public void setBill_ticket_status(String billTicketStatus)
	{
		Bill_ticket_status = billTicketStatus;
	}

	public String getBill_no_seq()
	{
		return Bill_no_seq;
	}

	public void setBill_no_seq(String billNoSeq)
	{
		Bill_no_seq = billNoSeq;
	}

	public String getBill_no()
	{
		return Bill_no;
	}

	public void setBill_no(String billNo)
	{
		Bill_no = billNo;
	}

	public String getOrder_no()
	{
		return Order_no;
	}

	public void setOrder_no(String orderNo)
	{
		Order_no = orderNo;
	}

	public String getOrder_seq()
	{
		return Order_seq;
	}

	public void setOrder_seq(String orderSeq)
	{
		Order_seq = orderSeq;
	}

	public String getDelivery_no()
	{
		return Delivery_no;
	}

	public void setDelivery_no(String deliveryNo)
	{
		Delivery_no = deliveryNo;
	}

	public String getSend_plan_no()
	{
		return Send_plan_no;
	}

	public void setSend_plan_no(String sendPlanNo)
	{
		Send_plan_no = sendPlanNo;
	}

	public String getSend_dayplan_no()
	{
		return Send_dayplan_no;
	}

	public void setSend_dayplan_no(String sendDayplanNo)
	{
		Send_dayplan_no = sendDayplanNo;
	}

	public String getWagons_plan_no()
	{
		return Wagons_plan_no;
	}

	public void setWagons_plan_no(String wagonsPlanNo)
	{
		Wagons_plan_no = wagonsPlanNo;
	}

	public String getVstel_code()
	{
		return Vstel_code;
	}

	public void setVstel_code(String vstelCode)
	{
		Vstel_code = vstelCode;
	}

	public String getVstel_desc()
	{
		return Vstel_desc;
	}

	public void setVstel_desc(String vstelDesc)
	{
		Vstel_desc = vstelDesc;
	}

	public String getPlan_trans_type()
	{
		return Plan_trans_type;
	}

	public void setPlan_trans_type(String planTransType)
	{
		Plan_trans_type = planTransType;
	}

	public String getAct_trans_type()
	{
		return Act_trans_type;
	}

	public void setAct_trans_type(String actTransType)
	{
		Act_trans_type = actTransType;
	}

	public String getStation_no()
	{
		return Station_no;
	}

	public void setStation_no(String stationNo)
	{
		Station_no = stationNo;
	}

	public String getStation_nm()
	{
		return Station_nm;
	}

	public void setStation_nm(String stationNm)
	{
		Station_nm = stationNm;
	}

	public String getSpcl_ln_no()
	{
		return Spcl_ln_no;
	}

	public void setSpcl_ln_no(String spclLnNo)
	{
		Spcl_ln_no = spclLnNo;
	}

	public String getSpcl_ln_nm()
	{
		return Spcl_ln_nm;
	}

	public void setSpcl_ln_nm(String spclLnNm)
	{
		Spcl_ln_nm = spclLnNm;
	}

	public String getPort_no()
	{
		return Port_no;
	}

	public void setPort_no(String portNo)
	{
		Port_no = portNo;
	}

	public String getPort_desc()
	{
		return Port_desc;
	}

	public void setPort_desc(String portDesc)
	{
		Port_desc = portDesc;
	}

	public String getDelivy_place_code()
	{
		return Delivy_place_code;
	}

	public void setDelivy_place_code(String delivyPlaceCode)
	{
		Delivy_place_code = delivyPlaceCode;
	}

	public String getDelivy_place_name()
	{
		return Delivy_place_name;
	}

	public void setDelivy_place_name(String delivyPlaceName)
	{
		Delivy_place_name = delivyPlaceName;
	}

	public String getSale_org()
	{
		return Sale_org;
	}

	public void setSale_org(String saleOrg)
	{
		Sale_org = saleOrg;
	}

	public String getSale_org_desc()
	{
		return Sale_org_desc;
	}

	public void setSale_org_desc(String saleOrgDesc)
	{
		Sale_org_desc = saleOrgDesc;
	}

	public String getCustomer_no()
	{
		return Customer_no;
	}

	public void setCustomer_no(String customerNo)
	{
		Customer_no = customerNo;
	}

	public String getCustomer_nm()
	{
		return Customer_nm;
	}

	public void setCustomer_nm(String customerNm)
	{
		Customer_nm = customerNm;
	}

	public String getReceiv_no()
	{
		return Receiv_no;
	}

	public void setReceiv_no(String receivNo)
	{
		Receiv_no = receivNo;
	}

	public String getReceiv_nm()
	{
		return Receiv_nm;
	}

	public void setReceiv_nm(String receivNm)
	{
		Receiv_nm = receivNm;
	}

	public String getStlmt_unit_no()
	{
		return Stlmt_unit_no;
	}

	public void setStlmt_unit_no(String stlmtUnitNo)
	{
		Stlmt_unit_no = stlmtUnitNo;
	}

	public String getStlmt_unit_nm()
	{
		return Stlmt_unit_nm;
	}

	public void setStlmt_unit_nm(String stlmtUnitNm)
	{
		Stlmt_unit_nm = stlmtUnitNm;
	}

	public String getCarry_company_code()
	{
		return Carry_company_code;
	}

	public void setCarry_company_code(String carryCompanyCode)
	{
		Carry_company_code = carryCompanyCode;
	}

	public String getCarry_company_name()
	{
		return Carry_company_name;
	}

	public void setCarry_company_name(String carryCompanyName)
	{
		Carry_company_name = carryCompanyName;
	}

	public String getPrd_cls()
	{
		return Prd_cls;
	}

	public void setPrd_cls(String prdCls)
	{
		Prd_cls = prdCls;
	}

	public String getProduccode()
	{
		return Produccode;
	}

	public void setProduccode(String produccode)
	{
		Produccode = produccode;
	}

	public String getProducname()
	{
		return Producname;
	}

	public void setProducname(String producname)
	{
		Producname = producname;
	}

	public String getStd_code()
	{
		return Std_code;
	}

	public void setStd_code(String stdCode)
	{
		Std_code = stdCode;
	}

	public String getStd_name()
	{
		return Std_name;
	}

	public void setStd_name(String stdName)
	{
		Std_name = stdName;
	}

	public String getSteelcode()
	{
		return Steelcode;
	}

	public void setSteelcode(String steelcode)
	{
		Steelcode = steelcode;
	}

	public String getSteelname()
	{
		return Steelname;
	}

	public void setSteelname(String steelname)
	{
		Steelname = steelname;
	}

	public java.util.Date getPlan_start_time()
	{
		return Plan_start_time;
	}

	public void setPlan_start_time(java.util.Date planStartTime)
	{
		Plan_start_time = planStartTime;
	}

	public java.util.Date getPlan_end_time()
	{
		return Plan_end_time;
	}

	public void setPlan_end_time(java.util.Date planEndTime)
	{
		Plan_end_time = planEndTime;
	}

	public java.util.Date getAct_start_time()
	{
		return Act_start_time;
	}

	public void setAct_start_time(java.util.Date actStartTime)
	{
		Act_start_time = actStartTime;
	}

	public java.util.Date getAct_end_time()
	{
		return Act_end_time;
	}

	public void setAct_end_time(java.util.Date actEndTime)
	{
		Act_end_time = actEndTime;
	}

	public Double getPlan_wt()
	{
		return Plan_wt;
	}

	public void setPlan_wt(Double planWt)
	{
		Plan_wt = planWt;
	}

	public Double getPlan_num()
	{
		return Plan_num;
	}

	public void setPlan_num(Double planNum)
	{
		Plan_num = planNum;
	}

	public Double getPlan_totl_len()
	{
		return Plan_totl_len;
	}

	public void setPlan_totl_len(Double planTotlLen)
	{
		Plan_totl_len = planTotlLen;
	}

	public Double getAct_wt()
	{
		return Act_wt;
	}

	public void setAct_wt(Double actWt)
	{
		Act_wt = actWt;
	}

	public Double getAct_num()
	{
		return Act_num;
	}

	public void setAct_num(Double actNum)
	{
		Act_num = actNum;
	}

	public Double getAct_totl_len()
	{
		return Act_totl_len;
	}

	public void setAct_totl_len(Double actTotlLen)
	{
		Act_totl_len = actTotlLen;
	}

	public String getSpec_code()
	{
		return Spec_code;
	}

	public void setSpec_code(String specCode)
	{
		Spec_code = specCode;
	}

	public String getSpec_name()
	{
		return Spec_name;
	}

	public void setSpec_name(String specName)
	{
		Spec_name = specName;
	}

	public String getBill_status()
	{
		return Bill_status;
	}

	public void setBill_status(String billStatus)
	{
		Bill_status = billStatus;
	}

	public String getMemo()
	{
		return Memo;
	}

	public void setMemo(String memo)
	{
		Memo = memo;
	}

	public String getValidflag()
	{
		return Validflag;
	}

	public void setValidflag(String validflag)
	{
		Validflag = validflag;
	}

	public String getCreate_name()
	{
		return Create_name;
	}

	public void setCreate_name(String createName)
	{
		Create_name = createName;
	}

	public java.util.Date getCreate_time()
	{
		return Create_time;
	}

	public void setCreate_time(java.util.Date createTime)
	{
		Create_time = createTime;
	}

	public String getUpdate_name()
	{
		return Update_name;
	}

	public void setUpdate_name(String updateName)
	{
		Update_name = updateName;
	}

	public java.util.Date getUpdate_time()
	{
		return Update_time;
	}

	public void setUpdate_time(java.util.Date updateTime)
	{
		Update_time = updateTime;
	}

	public String getDelete_name()
	{
		return Delete_name;
	}

	public void setDelete_name(String deleteName)
	{
		Delete_name = deleteName;
	}

	public java.util.Date getDelete_time()
	{
		return Delete_time;
	}

	public void setDelete_time(java.util.Date deleteTime)
	{
		Delete_time = deleteTime;
	}

	public String getLoadvehicle_type()
	{
		return Loadvehicle_type;
	}

	public void setLoadvehicle_type(String loadvehicleType)
	{
		Loadvehicle_type = loadvehicleType;
	}

	public String getFst_drawee_unit()
	{
		return Fst_drawee_unit;
	}

	public void setFst_drawee_unit(String fstDraweeUnit)
	{
		Fst_drawee_unit = fstDraweeUnit;
	}

	public String getIspreclose()
	{
		return Ispreclose;
	}

	public void setIspreclose(String ispreclose)
	{
		Ispreclose = ispreclose;
	}

	public String getOrd_pk()
	{
		return Ord_pk;
	}

	public void setOrd_pk(String ordPk)
	{
		Ord_pk = ordPk;
	}

	public String getOrd_ln_pk()
	{
		return Ord_ln_pk;
	}

	public void setOrd_ln_pk(String ordLnPk)
	{
		Ord_ln_pk = ordLnPk;
	}

	public String getOrd_ln_dly_pk()
	{
		return Ord_ln_dly_pk;
	}

	public void setOrd_ln_dly_pk(String ordLnDlyPk)
	{
		Ord_ln_dly_pk = ordLnDlyPk;
	}

	public String getAgency_fl()
	{
		return Agency_fl;
	}

	public void setAgency_fl(String agencyFl)
	{
		Agency_fl = agencyFl;
	}

	public String getReceiv_addr()
	{
		return Receiv_addr;
	}

	public void setReceiv_addr(String receivAddr)
	{
		Receiv_addr = receivAddr;
	}

	public String getDelvry_addr()
	{
		return Delvry_addr;
	}

	public void setDelvry_addr(String delvryAddr)
	{
		Delvry_addr = delvryAddr;
	}

	public String getPickup_flag()
	{
		return Pickup_flag;
	}

	public void setPickup_flag(String pickupFlag)
	{
		Pickup_flag = pickupFlag;
	}

	public static YdmZcBillMBean convertHashMapToBean(HashMap hs)
	{
		YdmZcBillMBean bean = new YdmZcBillMBean();
		try
		{
			bean.setBill_ticket_status(( String)hs.get("BILL_TICKET_STATUS"));
		}
		catch (java.lang.Exception ex)
		{
		}

		try
		{
			bean.setOutstock_ticket_status(( String)hs
					.get("OUTSTOCK_TICKET_STATUS"));
		}
		catch (java.lang.Exception ex)
		{
		}

		try
		{
			bean.setTransmny_ticket_status(( String)hs
					.get("TRANSMNY_TICKET_STATUS"));
		}
		catch (java.lang.Exception ex)
		{
		}

		try
		{
			bean.setBill_no_seq(( String)hs.get("BILL_NO_SEQ"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setBill_no(( String)hs.get("BILL_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setOrder_no(( String)hs.get("ORDER_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setOrder_seq(( String)hs.get("ORDER_SEQ"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelivery_no(( String)hs.get("DELIVERY_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSend_plan_no(( String)hs.get("SEND_PLAN_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSend_dayplan_no(( String)hs.get("SEND_DAYPLAN_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setWagons_plan_no(( String)hs.get("WAGONS_PLAN_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setVstel_code(( String)hs.get("VSTEL_CODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setVstel_desc(( String)hs.get("VSTEL_DESC"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_trans_type(( String)hs.get("PLAN_TRANS_TYPE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_trans_type(( String)hs.get("ACT_TRANS_TYPE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStation_no(( String)hs.get("STATION_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStation_nm(( String)hs.get("STATION_NM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSpcl_ln_no(( String)hs.get("SPCL_LN_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSpcl_ln_nm(( String)hs.get("SPCL_LN_NM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPort_no(( String)hs.get("PORT_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPort_desc(( String)hs.get("PORT_DESC"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelivy_place_code(( String)hs.get("DELIVY_PLACE_CODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelivy_place_name(( String)hs.get("DELIVY_PLACE_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSale_org(( String)hs.get("SALE_ORG"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSale_org_desc(( String)hs.get("SALE_ORG_DESC"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCustomer_no(( String)hs.get("CUSTOMER_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCustomer_nm(( String)hs.get("CUSTOMER_NM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setReceiv_no(( String)hs.get("RECEIV_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setReceiv_nm(( String)hs.get("RECEIV_NM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStlmt_unit_no(( String)hs.get("STLMT_UNIT_NO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStlmt_unit_nm(( String)hs.get("STLMT_UNIT_NM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCarry_company_code(( String)hs.get("CARRY_COMPANY_CODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCarry_company_name(( String)hs.get("CARRY_COMPANY_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPrd_cls(( String)hs.get("PRD_CLS"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setProduccode(( String)hs.get("PRODUCCODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setProducname(( String)hs.get("PRODUCNAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStd_code(( String)hs.get("STD_CODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setStd_name(( String)hs.get("STD_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSteelcode(( String)hs.get("STEELCODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSteelname(( String)hs.get("STEELNAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_start_time(( java.util.Date)hs.get("PLAN_START_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_end_time(( java.util.Date)hs.get("PLAN_END_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_start_time(( java.util.Date)hs.get("ACT_START_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_end_time(( java.util.Date)hs.get("ACT_END_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_wt(( Double)hs.get("PLAN_WT"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_num(( Double)hs.get("PLAN_NUM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPlan_totl_len(( Double)hs.get("PLAN_TOTL_LEN"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_wt(( Double)hs.get("ACT_WT"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_num(( Double)hs.get("ACT_NUM"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAct_totl_len(( Double)hs.get("ACT_TOTL_LEN"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSpec_code(( String)hs.get("SPEC_CODE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setSpec_name(( String)hs.get("SPEC_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setBill_status(( String)hs.get("BILL_STATUS"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setMemo(( String)hs.get("MEMO"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setValidflag(( String)hs.get("VALIDFLAG"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCreate_name(( String)hs.get("CREATE_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setCreate_time(( java.util.Date)hs.get("CREATE_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setUpdate_name(( String)hs.get("UPDATE_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setUpdate_time(( java.util.Date)hs.get("UPDATE_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelete_name(( String)hs.get("DELETE_NAME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelete_time(( java.util.Date)hs.get("DELETE_TIME"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setLoadvehicle_type(( String)hs.get("LOADVEHICLE_TYPE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setFst_drawee_unit(( String)hs.get("FST_DRAWEE_UNIT"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setIspreclose(( String)hs.get("ISPRECLOSE"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setOrd_pk(( String)hs.get("ORD_PK"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setOrd_ln_pk(( String)hs.get("ORD_LN_PK"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setOrd_ln_dly_pk(( String)hs.get("ORD_LN_DLY_PK"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setAgency_fl(( String)hs.get("AGENCY_FL"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setReceiv_addr(( String)hs.get("RECEIV_ADDR"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setDelvry_addr(( String)hs.get("DELVRY_ADDR"));
		}
		catch (java.lang.Exception ex)
		{
		}
		try
		{
			bean.setPickup_flag(( String)hs.get("PICKUP_FLAG"));
		}
		catch (java.lang.Exception ex)
		{
		}
		return bean;

	}

	public static List<YdmZcBillMBean> convertResultSetToBeanList(ResultSet set)
			throws SQLException
	{
		List<YdmZcBillMBean> listbean = new ArrayList<YdmZcBillMBean>();
		YdmZcBillMBean bean = null;

		while (set.next())
		{
			bean = new YdmZcBillMBean();
			try
			{
				bean.setBill_ticket_status(( String)set
						.getObject("BILL_TICKET_STATUS"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOutstock_ticket_status(( String)set
						.getObject("OUTSTOCK_TICKET_STATUS"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setTransmny_ticket_status(( String)set
						.getObject("TRANSMNY_TICKET_STATUS"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setBill_no_seq(( String)set.getObject("BILL_NO_SEQ"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setBill_no(( String)set.getObject("BILL_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOrder_no(( String)set.getObject("ORDER_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOrder_seq(( String)set.getObject("ORDER_SEQ"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelivery_no(( String)set.getObject("DELIVERY_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSend_plan_no(( String)set.getObject("SEND_PLAN_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSend_dayplan_no(( String)set
						.getObject("SEND_DAYPLAN_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean
						.setWagons_plan_no(( String)set
								.getObject("WAGONS_PLAN_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setVstel_code(( String)set.getObject("VSTEL_CODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setVstel_desc(( String)set.getObject("VSTEL_DESC"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_trans_type(( String)set
						.getObject("PLAN_TRANS_TYPE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean
						.setAct_trans_type(( String)set
								.getObject("ACT_TRANS_TYPE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStation_no(( String)set.getObject("STATION_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStation_nm(( String)set.getObject("STATION_NM"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSpcl_ln_no(( String)set.getObject("SPCL_LN_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSpcl_ln_nm(( String)set.getObject("SPCL_LN_NM"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPort_no(( String)set.getObject("PORT_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPort_desc(( String)set.getObject("PORT_DESC"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelivy_place_code(( String)set
						.getObject("DELIVY_PLACE_CODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelivy_place_name(( String)set
						.getObject("DELIVY_PLACE_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSale_org(( String)set.getObject("SALE_ORG"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSale_org_desc(( String)set.getObject("SALE_ORG_DESC"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCustomer_no(( String)set.getObject("CUSTOMER_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCustomer_nm(( String)set.getObject("CUSTOMER_NM"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setReceiv_no(( String)set.getObject("RECEIV_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setReceiv_nm(( String)set.getObject("RECEIV_NM"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStlmt_unit_no(( String)set.getObject("STLMT_UNIT_NO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStlmt_unit_nm(( String)set.getObject("STLMT_UNIT_NM"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCarry_company_code(( String)set
						.getObject("CARRY_COMPANY_CODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCarry_company_name(( String)set
						.getObject("CARRY_COMPANY_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPrd_cls(( String)set.getObject("PRD_CLS"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setProduccode(( String)set.getObject("PRODUCCODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setProducname(( String)set.getObject("PRODUCNAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStd_code(( String)set.getObject("STD_CODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setStd_name(( String)set.getObject("STD_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSteelcode(( String)set.getObject("STEELCODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSteelname(( String)set.getObject("STEELNAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_start_time(( java.util.Date)set
						.getObject("PLAN_START_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_end_time(( java.util.Date)set
						.getObject("PLAN_END_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setAct_start_time(( java.util.Date)set
						.getObject("ACT_START_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setAct_end_time(( java.util.Date)set
						.getObject("ACT_END_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_wt( (( java.math.BigDecimal)set
						.getObject("PLAN_WT") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_num( (( java.math.BigDecimal)set
						.getObject("PLAN_NUM") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPlan_totl_len( (( java.math.BigDecimal)set
						.getObject("PLAN_TOTL_LEN") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean
						.setAct_wt( (( java.math.BigDecimal)set
								.getObject("ACT_WT") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setAct_num( (( java.math.BigDecimal)set
						.getObject("ACT_NUM") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setAct_totl_len( (( java.math.BigDecimal)set
						.getObject("ACT_TOTL_LEN") ).doubleValue());
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSpec_code(( String)set.getObject("SPEC_CODE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setSpec_name(( String)set.getObject("SPEC_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setBill_status(( String)set.getObject("BILL_STATUS"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setMemo(( String)set.getObject("MEMO"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setValidflag(( String)set.getObject("VALIDFLAG"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCreate_name(( String)set.getObject("CREATE_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setCreate_time(( java.util.Date)set
						.getObject("CREATE_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setUpdate_name(( String)set.getObject("UPDATE_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setUpdate_time(( java.util.Date)set
						.getObject("UPDATE_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelete_name(( String)set.getObject("DELETE_NAME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelete_time(( java.util.Date)set
						.getObject("DELETE_TIME"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setLoadvehicle_type(( String)set
						.getObject("LOADVEHICLE_TYPE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setFst_drawee_unit(( String)set
						.getObject("FST_DRAWEE_UNIT"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setIspreclose(( String)set.getObject("ISPRECLOSE"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOrd_pk(( String)set.getObject("ORD_PK"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOrd_ln_pk(( String)set.getObject("ORD_LN_PK"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setOrd_ln_dly_pk(( String)set.getObject("ORD_LN_DLY_PK"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setAgency_fl(( String)set.getObject("AGENCY_FL"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setReceiv_addr(( String)set.getObject("RECEIV_ADDR"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setDelvry_addr(( String)set.getObject("DELVRY_ADDR"));
			}
			catch (java.lang.Exception ex)
			{
			}
			try
			{
				bean.setPickup_flag(( String)set.getObject("PICKUP_FLAG"));
			}
			catch (java.lang.Exception ex)
			{
			}
			listbean.add(bean);
		}

		try
		{
			set.close();

		}
		catch (java.lang.Exception ex)
		{
		}
		return (listbean.size() == 0 ) ? null : listbean;
	}

	@Override
	public boolean equals(Object o)
	{
		if (! (o instanceof YdmZcBillMBean ))
		{
			return false;
		}
		YdmZcBillMBean bean = ( YdmZcBillMBean)o;
		return (this.getBill_no() + this.getOrder_no() + this.getOrder_seq() + this
				.getDelivery_no() ).equals(bean.getBill_no()
				+ bean.getOrder_no() + bean.getOrder_seq()
				+ bean.getDelivery_no());
	}

}
