优化基地区级审核

This commit is contained in:
sk1551
2020-08-22 11:01:46 +08:00
parent 2831d912f7
commit 708bee6eee
4 changed files with 2796 additions and 37 deletions

View File

@ -108,4 +108,14 @@ public class TsbzJxzxpxfaController extends BaseController {
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tsbzJxzxpxfaService.deleteTsbzJxzxpxfaByIds(ids));
}
/**
* 复制见习之星评选方案
*/
@PreAuthorize("@ss.hasPermi('jxjs:jxzxpxfa:add')")
@Log(title = "见习之星评选方案", businessType = BusinessType.INSERT)
@PostMapping("/copy/{id}")
public AjaxResult copy(@PathVariable Long id) {
TsbzJxzxpxfa tsbzJx = tsbzJxzxpxfaService.selectTsbzJxzxpxfaById(id);
return toAjax(tsbzJxzxpxfaService.insertTsbzJxzxpxfa(tsbzJx));
}
}