|
@@ -31,7 +31,7 @@ import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 【请填写功能名称】Controller
|
|
|
+ * 【接口应用审批管理、数据应用审批管理】Controller
|
|
|
*
|
|
|
* @author lei
|
|
|
* @date 2021-07-01
|
|
@@ -58,7 +58,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 查询【请填写功能名称】列表
|
|
|
+ * 查询【接口应用审批管理】列表
|
|
|
*/
|
|
|
@RequiresPermissions("system:interfaceinfo:list")
|
|
|
@RequestMapping(value = {"/list/{shareType}","/list"})
|
|
@@ -71,7 +71,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 根据部门ID获取接口应用
|
|
|
+ * 【接口应用审批管理】根据部门ID获取接口应用
|
|
|
*/
|
|
|
@GetMapping("/selectInterfaceByDeptId/{deptId}/{shareType1}/{shareType3}")
|
|
|
public String selectInterfaceByDeptId(@PathVariable("deptId") String deptId,
|
|
@@ -92,7 +92,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 根据部门ID获取数据应用
|
|
|
+ * 【数据应用审批管理】根据部门ID获取数据应用
|
|
|
*/
|
|
|
@GetMapping("/selectDataByDeptId/{deptId}")
|
|
|
public String selectDataByDeptId(@PathVariable("deptId") Long deptId, ModelMap mmap)
|
|
@@ -110,7 +110,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 根据部门ID获取接口
|
|
|
+ * 【接口应用审批管理】根据部门ID获取接口
|
|
|
*/
|
|
|
@RequestMapping("/selectInterfaceByIds")
|
|
|
@ResponseBody
|
|
@@ -122,7 +122,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 导出【请填写功能名称】列表
|
|
|
+ * 导出【接口应用审批管理】列表
|
|
|
*/
|
|
|
@RequiresPermissions("system:interfaceinfo:export")
|
|
|
@Log(title = "省共享接口", businessType = BusinessType.EXPORT)
|
|
@@ -135,7 +135,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 新增【请填写功能名称】
|
|
|
+ * 新增【接口应用审批管理】
|
|
|
*/
|
|
|
@GetMapping("/add/{shareType}")
|
|
|
public String add(@PathVariable("shareType") String shareType, ModelMap mmap) {
|
|
@@ -144,10 +144,10 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 新增保存【请填写功能名称】
|
|
|
+ * 新增保存【接口应用审批管理】
|
|
|
*/
|
|
|
@RequiresPermissions("system:interfaceinfo:add")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
|
|
+ @Log(title = "【接口应用审批管理】", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/add")
|
|
|
@ResponseBody
|
|
|
public AjaxResult addSave(TUInterfaceinfo tUInterfaceinfo) {
|
|
@@ -155,7 +155,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改【请填写功能名称】
|
|
|
+ * 修改【接口应用审批管理】
|
|
|
*/
|
|
|
@GetMapping("/edit/{id}")
|
|
|
public String edit(@PathVariable("id") String id, ModelMap mmap) {
|
|
@@ -168,10 +168,10 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改保存【请填写功能名称】
|
|
|
+ * 修改保存【接口应用审批管理】
|
|
|
*/
|
|
|
@RequiresPermissions("system:interfaceinfo:edit")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
|
|
+ @Log(title = "【接口应用审批管理】", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/edit")
|
|
|
@ResponseBody
|
|
|
public AjaxResult editSave(TUInterfaceinfo tUInterfaceinfo) {
|
|
@@ -179,22 +179,23 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 删除【请填写功能名称】
|
|
|
+ * 删除【接口应用审批管理】
|
|
|
*/
|
|
|
@RequiresPermissions("system:interfaceinfo:remove")
|
|
|
- @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
|
|
+ @Log(title = "【接口应用审批管理】", businessType = BusinessType.DELETE)
|
|
|
@PostMapping("/remove")
|
|
|
@ResponseBody
|
|
|
public AjaxResult remove(String ids) {
|
|
|
return toAjax(tUInterfaceinfoService.deleteTUInterfaceinfoByIds(ids));
|
|
|
}
|
|
|
|
|
|
+ //【接口应用审批管理】
|
|
|
@GetMapping("/settingParams/{id}")
|
|
|
public String settingParams(@PathVariable("id") String id, ModelMap mmap) {
|
|
|
mmap.put("interfaceinfo_id", id);
|
|
|
return "system/paramsbusiness/paramsbusiness";
|
|
|
}
|
|
|
-
|
|
|
+ //【接口应用审批管理】
|
|
|
@GetMapping("/execInterface/{id}")
|
|
|
public String execInterface(@PathVariable("id") String id, ModelMap mmap) {
|
|
|
mmap.put("interfaceinfo_id", id);
|
|
@@ -214,7 +215,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 状态修改
|
|
|
+ * 【接口应用审批管理】状态修改
|
|
|
*/
|
|
|
@Log(title = "接口管理", businessType = BusinessType.UPDATE)
|
|
|
@RequiresPermissions("system:interfaceinfo:edit")
|
|
@@ -226,7 +227,7 @@ public class TUInterfaceinfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 查询接口日志台账
|
|
|
+ * 【接口应用审批管理】查询接口日志台账
|
|
|
*/
|
|
|
@PostMapping("/interfaceLogList")
|
|
|
@ResponseBody
|