Commit adfd77ed authored by hezhen's avatar hezhen

123

parent 089b4d28
...@@ -69,8 +69,8 @@ public class CompanyController extends BaseController<CompanyBaseBiz> { ...@@ -69,8 +69,8 @@ public class CompanyController extends BaseController<CompanyBaseBiz> {
@ApiOperation("删除") @ApiOperation("删除")
@RequestMapping(value = "/del", method = RequestMethod.POST) @RequestMapping(value = "/del", method = RequestMethod.POST)
public ObjectRestResponse del(@RequestParam(value = "id",defaultValue = "0") Integer id){ public ObjectRestResponse del(@RequestBody CompanyVo companyVo){
return baseBiz.delCompany(id); return baseBiz.delCompany(companyVo.getId());
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment