| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.time.temporal.ChronoUnit; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | |
| | | return R.ok(pageInfo); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | LocalDateTime localDateTime1 = LocalDateTime.now().withYear(2025).withMonth(11).withDayOfMonth(1); |
| | | LocalDateTime localDateTime2 = LocalDateTime.now().withYear(2025).withMonth(11).withDayOfMonth(28); |
| | | long allDays = ChronoUnit.DAYS.between(localDateTime1, localDateTime2); |
| | | System.err.println(allDays); |
| | | } |
| | | |
| | | @ApiOperation(value = "缴费账单查询列表") |
| | | @PostMapping("/getBillIds") |
| | | public R<List<String>> getBillIds(@RequestBody TBillQuery query){ |