| | |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | |
| | | public R fourAssociation(@ParameterObject Page page,@ParameterObject ContractQueryDTO queryDTO) { |
| | | return R.ok(contractService.fourAssociation(page,queryDTO)); |
| | | } |
| | | |
| | | @PostMapping("/importContractMultiSheet") |
| | | public R importContractMultiSheet(@RequestParam("file") MultipartFile file) { |
| | | if (file.isEmpty()) { |
| | | return R.failed("文件不能为空"); |
| | | } |
| | | return contractService.importContractMultiSheet(file); |
| | | } |
| | | } |