Commit ef2ad083 by caosy

调用voucherDao

parent 2e8e4614
......@@ -58,7 +58,7 @@ public class Voucher implements java.io.Serializable {
// 卷类型 1 -正常卷 2-体验卷需要身份证
private Integer voucherType;
@Column(name = "voucherType")
public Integer getVoucherType() {
return voucherType;
}
......
......@@ -14,6 +14,7 @@ import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.ctrip.fun.common.core.util.BeanConverter;
import com.ctrip.fun.common.core.util.DateUtil;
......@@ -133,11 +134,9 @@ public class EventActivityOrderService extends
private EventCustomerInfoService eventCustomerInfoService = null;
private VoucherDao voucherDao = null;
@Autowired
private VoucherDao voucherDao ;
public Order findByResourceId(String uid, int resourceId, Date playDate) {
List<EventActivityOrderItem> eventActivityOrderItemList = eventActivityOrderItemDao
......@@ -1439,13 +1438,7 @@ public class EventActivityOrderService extends
}
}
}
public VoucherDao getVoucherDao() {
return voucherDao;
}
public void setVoucherDao(VoucherDao voucherDao) {
this.voucherDao = voucherDao;
}
public ResourcePriceDao getResourcePriceDao() {
return resourcePriceDao;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment