|
|
|
@ -131,8 +131,8 @@ public class FieldxController extends JeecgController<Fieldx, IFieldxService> { |
|
|
|
|
@ApiOperation(value="字段管理-通过id删除", notes="字段管理-通过id删除") |
|
|
|
|
@DeleteMapping(value = "/delete") |
|
|
|
|
public Result<?> delete(@RequestParam(name="id",required=true) String id) { |
|
|
|
|
fieldxService.removeById(id); |
|
|
|
|
Fieldx fieldx = fieldxService.getById(id); |
|
|
|
|
fieldxService.removeById(id); |
|
|
|
|
tablexService.updateSql(fieldx.getTableId(),createSql(fieldx.getTableId())); |
|
|
|
|
return Result.OK("删除成功!"); |
|
|
|
|
} |
|
|
|
|