| | |
| | | import com.by4cloud.platformx.business.service.ContractService; |
| | | import com.by4cloud.platformx.common.security.annotation.Inner; |
| | | import com.by4cloud.platformx.common.security.util.SecurityUtils; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import com.by4cloud.platformx.common.excel.annotation.ResponseExcel; |
| | |
| | | .gt(Contract::getBillingAmout,new BigDecimal("0")))); |
| | | } |
| | | |
| | | /** |
| | | * 根据模版生成word一煤机加工承揽合同 |
| | | * @param id id |
| | | * @return R |
| | | */ |
| | | @Operation(summary = "根据模版生成word合同" , description = "根据模版生成word合同" ) |
| | | @GetMapping("/exportContractYMJJGCLWord/{id}" ) |
| | | public void exportContractYMJJGCLWord(@PathVariable("id" ) Long id, HttpServletResponse response) { |
| | | contractService.exportContractYMJJGCLWord(id,response); |
| | | } |
| | | } |