|
@@ -46,7 +46,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 查询分离培训模版列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:list')")
|
|
|
@GetMapping("/list")
|
|
|
public AjaxResult list(TTsFlplanTmpl tTsFlplanTmpl) {
|
|
|
return AjaxResult.success(tTsFlplanTmplService.selectTTsFlplanTmplList(tTsFlplanTmpl));
|
|
@@ -55,7 +55,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 导出分离培训模版列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:export')")
|
|
|
@Log(title = "分离培训模版", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(TTsFlplanTmpl tTsFlplanTmpl) {
|
|
@@ -67,7 +67,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 获取分离培训模版详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
return AjaxResult.success(tTsFlplanTmplService.selectTTsFlplanTmplById(id));
|
|
@@ -76,7 +76,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 新增分离培训模版
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:add')")
|
|
|
@Log(title = "分离培训模版", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TTsFlplanTmpl tTsFlplanTmpl) {
|
|
@@ -102,7 +102,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 修改分离培训模版
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:edit')")
|
|
|
@Log(title = "分离培训模版", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TTsFlplanTmpl tTsFlplanTmpl) {
|
|
@@ -112,7 +112,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
/**
|
|
|
* 删除分离培训模版
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:remove')")
|
|
|
@Log(title = "分离培训模版", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
|
@@ -133,7 +133,7 @@ public class TTsFlplanTmplController extends BaseController {
|
|
|
return AjaxResult.error("上传失败,请联系管理员");
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('training:flPlan:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('bccnew:flPlan:add')")
|
|
|
@Log(title = "分离培训模版", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/importData")
|
|
|
public AjaxResult importData(@RequestParam("file") MultipartFile file) throws IOException {
|