use of com.stardata.starshop2.sharedcontext.domain.BizParameter in project starshop by beautautumn.
the class OrderManagingService method getConfirmExpired.
public List<Order> getConfirmExpired() {
BizParameter parameter = parameterRepository.instanceOf("max_minutes_remain_toconfirm");
int maxMinutes = parameter.toInteger();
return orderRepository.findConfirmExpired(maxMinutes);
}
use of com.stardata.starshop2.sharedcontext.domain.BizParameter in project starshop by beautautumn.
the class OrderManagingService method getPayExpired.
public List<Order> getPayExpired() {
BizParameter parameter = parameterRepository.instanceOf("max_minutes_remain_topay");
int maxMinutes = parameter.toInteger();
return orderRepository.findPayExpired(maxMinutes);
}
Aggregations