去掉权限
This commit is contained in:
parent
00040074fa
commit
170e2094b3
|
@ -81,7 +81,6 @@ public class KcXqxnHistoryController extends JeecgController<KcXqxnHistory, IKcX
|
|||
*/
|
||||
@AutoLog(value = "kc_xqxn_history-添加")
|
||||
@ApiOperation(value="kc_xqxn_history-添加", notes="kc_xqxn_history-添加")
|
||||
@RequiresPermissions("kcXqxnHistory:kc_xqxn_history:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody KcXqxnHistory kcXqxnHistory) {
|
||||
kcXqxnHistoryService.save(kcXqxnHistory);
|
||||
|
@ -96,7 +95,6 @@ public class KcXqxnHistoryController extends JeecgController<KcXqxnHistory, IKcX
|
|||
*/
|
||||
@AutoLog(value = "kc_xqxn_history-编辑")
|
||||
@ApiOperation(value="kc_xqxn_history-编辑", notes="kc_xqxn_history-编辑")
|
||||
@RequiresPermissions("kcXqxnHistory:kc_xqxn_history:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody KcXqxnHistory kcXqxnHistory) {
|
||||
kcXqxnHistoryService.updateById(kcXqxnHistory);
|
||||
|
@ -111,7 +109,6 @@ public class KcXqxnHistoryController extends JeecgController<KcXqxnHistory, IKcX
|
|||
*/
|
||||
@AutoLog(value = "kc_xqxn_history-通过id删除")
|
||||
@ApiOperation(value="kc_xqxn_history-通过id删除", notes="kc_xqxn_history-通过id删除")
|
||||
@RequiresPermissions("kcXqxnHistory:kc_xqxn_history:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name="id",required=true) String id) {
|
||||
kcXqxnHistoryService.removeById(id);
|
||||
|
@ -126,7 +123,6 @@ public class KcXqxnHistoryController extends JeecgController<KcXqxnHistory, IKcX
|
|||
*/
|
||||
@AutoLog(value = "kc_xqxn_history-批量删除")
|
||||
@ApiOperation(value="kc_xqxn_history-批量删除", notes="kc_xqxn_history-批量删除")
|
||||
@RequiresPermissions("kcXqxnHistory:kc_xqxn_history:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
|
||||
this.kcXqxnHistoryService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
|
|
Loading…
Reference in New Issue