| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.io.UnsupportedEncodingException; |
| | | import java.net.URL; |
| | | import java.net.URLDecoder; |
| | | import java.nio.charset.StandardCharsets; |
| | | import java.util.List; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 对接志邦国际鹰联 erp |
| | | * 通过id作废 |
| | | * |
| | | * @param contractNo |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "通过合同编码作废", notes = "通过合同编码作废") |
| | | @GetMapping("/dropByContractNo/{contractNo}") |
| | | public R dropByContractNo(@PathVariable("contractNo") String contractNo) { |
| | | customerOrderService.dropByContractNo(contractNo); |
| | | @ApiOperation(value = "通过id作废", notes = "通过id作废") |
| | | @GetMapping("/dropByContractNo") |
| | | public R dropByContractNo(@RequestParam("id") Long id) { |
| | | customerOrderService.removeById(id); |
| | | return R.ok(); |
| | | } |
| | | |