|
|
@ -87,12 +87,12 @@ public class SupplierTypeRest { |
|
|
|
return rb.success().setData(vo); |
|
|
|
} |
|
|
|
@ApiOperation("根据SID获取一条记录") |
|
|
|
@GetMapping("/checkSaveCode/{sid}/") |
|
|
|
@GetMapping("/checkSaveCode/{supplierTypeCode}/{useOrgSid}") |
|
|
|
public ResultBean<Integer> checkSaveCode(@PathVariable("supplierTypeCode") String supplierTypeCode,@PathVariable("useOrgSid") String useOrgSid){ |
|
|
|
return supplierTypeService.checkSaveCode(supplierTypeCode,useOrgSid); |
|
|
|
} |
|
|
|
@ApiOperation("根据SID获取一条记录") |
|
|
|
@GetMapping("/checkUpdateCode/{sid}/{}") |
|
|
|
@GetMapping("/checkUpdateCode/{supplierTypeCode}/{useOrgSid}/{dtoSid}") |
|
|
|
public ResultBean<Integer> checkUpdateCode(@PathVariable("supplierTypeCode") String supplierTypeCode,@PathVariable("useOrgSid") String useOrgSid,@PathVariable("orgSid")String dtoSid){ |
|
|
|
return supplierTypeService.checkUpdateCode(supplierTypeCode,useOrgSid,dtoSid); |
|
|
|
} |
|
|
|