|
|
|
@ -64,7 +64,6 @@ public class BuildingInformationController extends BaseController {
|
|
|
|
|
* @param buildingInformation 实体对象
|
|
|
|
|
* @return 新增结果
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('company')")
|
|
|
|
|
@PostMapping("/add")
|
|
|
|
|
@ApiOperation("新增数据")
|
|
|
|
|
public AjaxResult insert(@RequestBody BuildingInformation buildingInformation) {
|
|
|
|
@ -78,7 +77,6 @@ public class BuildingInformationController extends BaseController {
|
|
|
|
|
* @param buildingInformation 实体对象
|
|
|
|
|
* @return 修改结果
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('company')")
|
|
|
|
|
@PostMapping("/edit")
|
|
|
|
|
@ApiOperation("修改数据")
|
|
|
|
|
public AjaxResult update(@RequestBody BuildingInformation buildingInformation) {
|
|
|
|
|