Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d80325a8a1
|
|
@ -38,6 +38,7 @@ public class BmProjectLotController extends BaseController {
|
|||
*/
|
||||
@ApiOperation(value = "获取标段工程项目")
|
||||
@GetMapping("/projectLotAll")
|
||||
@RequiresPermissions("section:list")
|
||||
public TableDataInfo getProjectLotAll(BmProjectLot bmProjectLot) {
|
||||
startPage();
|
||||
List<BmProjectLot> list = bmProjectLotService.getProjectLotAll(bmProjectLot);
|
||||
|
|
@ -64,6 +65,7 @@ public class BmProjectLotController extends BaseController {
|
|||
@ApiOperation("新增标段工程项目")
|
||||
@Log(title = "参数管理", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
@RequiresPermissions("section:list:add")
|
||||
public AjaxResult projectLotAdd(@Validated @RequestBody BmProjectLot bmProjectLot) {
|
||||
return bmProjectLotService.projectLotAdd(bmProjectLot);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ public class BmUnitInfoController extends BaseController{
|
|||
*/
|
||||
@ApiOperation(value = "获取往来单位列表")
|
||||
@GetMapping("/unitInfoAll")
|
||||
@RequiresPermissions("comeAndGo:list")
|
||||
public TableDataInfo getUnitInfoAll(BmUnitInfo bmUnitInfo)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -105,6 +106,7 @@ public class BmUnitInfoController extends BaseController{
|
|||
@ApiOperation(value = "新增往来单位")
|
||||
@Log(title = "参数管理", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
@RequiresPermissions("comeAndGo:list:add")
|
||||
public AjaxResult unitInfoAdd(@Validated @RequestBody BmUnitInfo bmUnitInfo)
|
||||
{
|
||||
log.info("新增往来单位参数:{}", bmUnitInfo);
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ public class SysDicController extends BaseController
|
|||
*/
|
||||
@ApiOperation(value = "查询数据字典列表")
|
||||
@GetMapping("/list")
|
||||
@RequiresPermissions("system:dict:query")
|
||||
public TableDataInfo list(SysDic sysDic)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -113,6 +114,7 @@ public class SysDicController extends BaseController
|
|||
@ApiOperation(value = "新增数据字典")
|
||||
@Log(title = "数据字典", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
@RequiresPermissions("system:dict:add")
|
||||
public AjaxResult add(@RequestBody SysDic sysDic)
|
||||
{
|
||||
return sysDicService.insertSysDic(sysDic);
|
||||
|
|
|
|||
Loading…
Reference in New Issue