| | |
| | | import javax.persistence.criteria.Predicate; |
| | | import javax.persistence.criteria.Root; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Service |
| | |
| | | } |
| | | |
| | | public OutPark count4(Long bId) { |
| | | return outParkDao.count4(bId); |
| | | return outParkDao.count4(bId).get(0); |
| | | } |
| | | |
| | | public OutPark findByCarNoAndBarrierId(String carNo, Long id) { |
| | | return outParkDao.findByCarNoAndBarrierId(carNo,id); |
| | | return outParkDao.findByCarNoAndBarrierId(carNo,id).get(0); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | Date startTime = DateUtil.getEndTime(); |
| | | System.out.println(startTime); |
| | | } |
| | | } |