|
|
|
@ -1,10 +1,12 @@ |
|
|
|
package com.gaotao.modules.grid.contoller; |
|
|
|
|
|
|
|
import com.gaotao.common.annotation.SysLog; |
|
|
|
import com.gaotao.common.constant.SysMsgConstant; |
|
|
|
import com.gaotao.common.utils.R; |
|
|
|
import com.gaotao.modules.grid.entity.GridTableDefault; |
|
|
|
import com.gaotao.modules.grid.query.GridTableDefaultQuery; |
|
|
|
import com.gaotao.modules.grid.service.GridTableDefaultService; |
|
|
|
import com.gaotao.modules.sys.controller.AbstractController; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
@ -15,7 +17,7 @@ import java.util.List; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("gridTableDefault") |
|
|
|
public class GridTableDefaultController { |
|
|
|
public class GridTableDefaultController extends AbstractController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private GridTableDefaultService gridTableDefaultService; |
|
|
|
@ -31,7 +33,7 @@ public class GridTableDefaultController { |
|
|
|
@PostMapping("saveTableDefaultList") |
|
|
|
public R saveTableDefaultList(@RequestBody List<GridTableDefault> gridTableDefaultList) { |
|
|
|
gridTableDefaultService.saveTableDefaultList(gridTableDefaultList); |
|
|
|
return R.ok("保存table默认配置成功"); |
|
|
|
return R.ok(getLanguageMsg(SysMsgConstant.OBJECT_ID_200125)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|