| | |
| | | |
| | | @Override |
| | | public int syncAnfmeToWeight() { |
| | | try { |
| | | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | Date date = new Date(2025, Calendar.JULY, 24); |
| | | Date date2 = new Date(2025, Calendar.JULY, 24, 23, 59, 59); |
| | | Date date = format.parse("2025-06-24 00:00:00"); |
| | | Date date2 = format.parse("2025-06-24 23:59:59"); |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>() |
| | | .ge("appe_time", format.format(date)) |
| | | .le("appe_time", format.format(date2)) |
| | |
| | | i++; |
| | | } |
| | | return i; |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | return 0; |
| | | } |
| | | } |