| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDate; |
| | | import java.util.ArrayList; |
| | | import java.util.Calendar; |
| | |
| | | |
| | | @Override |
| | | public int syncAnfmeToWeight() { |
| | | SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); |
| | | Date date = new Date(2025, Calendar.JULY, 24); |
| | | Date date2 = new Date(2025, Calendar.JULY, 24, 23, 59, 59); |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>() |
| | | .ge("appe_time", date) |
| | | .le("appe_time", date2) |
| | | .ge("appe_time", format.format(date)) |
| | | .le("appe_time", format.format(date2)) |
| | | ); |
| | | |
| | | int i = 0; |