|
|
@ -34,6 +34,7 @@ import org.apache.poi.ss.usermodel.HorizontalAlignment; |
|
|
|
import org.junit.Test; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import javax.servlet.ServletOutputStream; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
@ -66,6 +67,7 @@ public class VegeCellarReserveOrderService extends MybatisBaseService<VegeCellar |
|
|
|
// @Autowired
|
|
|
|
// private HttpServletResponse response;
|
|
|
|
//
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public ResultBean submission(VegeCellarReserveOrderDto dto) { |
|
|
|
ResultBean rb = new ResultBean().fail(); |
|
|
|
boolean b=isSatAndSun(dto.getReserveDate()); |
|
|
|