PreventRepeatSubmit
This commit is contained in:
parent
9a723b103b
commit
00aec33c72
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 协议管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "协议管理接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmAgreementInfoController extends BaseController
|
|||
* 导出协议管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出协议管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:export")
|
||||
@SysLog(title = "协议管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出协议管理")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmAgreementInfoController extends BaseController
|
|||
* 新增协议管理
|
||||
*/
|
||||
@ApiOperation(value = "新增协议管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:add")
|
||||
@SysLog(title = "协议管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增协议管理")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmAgreementInfoController extends BaseController
|
|||
* 修改协议管理
|
||||
*/
|
||||
@ApiOperation(value = "修改协议管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:edit")
|
||||
@SysLog(title = "协议管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改协议管理")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmAgreementInfoController extends BaseController
|
|||
* 删除协议管理
|
||||
*/
|
||||
@ApiOperation(value = "删除协议管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:remove")
|
||||
@SysLog(title = "协议管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除协议管理")
|
||||
@DeleteMapping("/{agreementIds}")
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 功能参数配置Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "功能参数配置接口")
|
||||
@RestController
|
||||
|
|
@ -42,7 +42,6 @@ public class BmConfigController extends BaseController
|
|||
* 查询功能参数配置列表
|
||||
*/
|
||||
@ApiOperation(value = "查询功能参数配置列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:config:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmConfig bmConfig)
|
||||
|
|
@ -56,6 +55,7 @@ public class BmConfigController extends BaseController
|
|||
* 导出功能参数配置列表
|
||||
*/
|
||||
@ApiOperation(value = "导出功能参数配置列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:config:export")
|
||||
@SysLog(title = "功能参数配置", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出功能参数配置")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -81,6 +81,7 @@ public class BmConfigController extends BaseController
|
|||
* 新增功能参数配置
|
||||
*/
|
||||
@ApiOperation(value = "新增功能参数配置")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:config:add")
|
||||
@SysLog(title = "功能参数配置", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增功能参数配置")
|
||||
@PostMapping
|
||||
|
|
@ -93,6 +94,7 @@ public class BmConfigController extends BaseController
|
|||
* 修改功能参数配置
|
||||
*/
|
||||
@ApiOperation(value = "修改功能参数配置")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:config:edit")
|
||||
@SysLog(title = "功能参数配置", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改功能参数配置")
|
||||
@PutMapping
|
||||
|
|
@ -105,6 +107,7 @@ public class BmConfigController extends BaseController
|
|||
* 删除功能参数配置
|
||||
*/
|
||||
@ApiOperation(value = "删除功能参数配置")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:config:remove")
|
||||
@SysLog(title = "功能参数配置", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除功能参数配置")
|
||||
@DeleteMapping("/{ids}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -28,7 +29,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "附件接口")
|
||||
@RestController
|
||||
|
|
@ -57,6 +58,7 @@ public class BmFileInfoController extends BaseController
|
|||
列表
|
||||
*/
|
||||
@ApiOperation(value = "导出附件列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:export")
|
||||
@SysLog(title = "附件", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出附件")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -84,6 +86,7 @@ public class BmFileInfoController extends BaseController
|
|||
|
||||
*/
|
||||
@ApiOperation(value = "新增附件")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:add")
|
||||
@SysLog(title = "附件", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增附件")
|
||||
@PostMapping
|
||||
|
|
@ -97,6 +100,7 @@ public class BmFileInfoController extends BaseController
|
|||
|
||||
*/
|
||||
@ApiOperation(value = "修改附件")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:edit")
|
||||
@SysLog(title = "附件", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改附件")
|
||||
@PutMapping
|
||||
|
|
@ -110,6 +114,7 @@ public class BmFileInfoController extends BaseController
|
|||
|
||||
*/
|
||||
@ApiOperation(value = "删除附件")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:remove")
|
||||
@SysLog(title = "附件", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除附件")
|
||||
@DeleteMapping("/{ids}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 短信通知Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "短信通知接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmNoticeInfoController extends BaseController
|
|||
* 导出短信通知列表
|
||||
*/
|
||||
@ApiOperation(value = "导出短信通知列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:export")
|
||||
@SysLog(title = "短信通知", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出短信通知")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmNoticeInfoController extends BaseController
|
|||
* 新增短信通知
|
||||
*/
|
||||
@ApiOperation(value = "新增短信通知")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:add")
|
||||
@SysLog(title = "短信通知", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增短信通知")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmNoticeInfoController extends BaseController
|
|||
* 修改短信通知
|
||||
*/
|
||||
@ApiOperation(value = "修改短信通知")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:edit")
|
||||
@SysLog(title = "短信通知", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改短信通知")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmNoticeInfoController extends BaseController
|
|||
* 删除短信通知
|
||||
*/
|
||||
@ApiOperation(value = "删除短信通知")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:remove")
|
||||
@SysLog(title = "短信通知", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除短信通知")
|
||||
@DeleteMapping("/{ids}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 标段工程管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "标段工程管理接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmProjectController extends BaseController
|
|||
* 导出标段工程管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出标段工程管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:project:export")
|
||||
@SysLog(title = "标段工程管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出标段工程管理")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmProjectController extends BaseController
|
|||
* 新增标段工程管理
|
||||
*/
|
||||
@ApiOperation(value = "新增标段工程管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:project:add")
|
||||
@SysLog(title = "标段工程管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增标段工程管理")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmProjectController extends BaseController
|
|||
* 修改标段工程管理
|
||||
*/
|
||||
@ApiOperation(value = "修改标段工程管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:project:edit")
|
||||
@SysLog(title = "标段工程管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改标段工程管理")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmProjectController extends BaseController
|
|||
* 删除标段工程管理
|
||||
*/
|
||||
@ApiOperation(value = "删除标段工程管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:project:remove")
|
||||
@SysLog(title = "标段工程管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除标段工程管理")
|
||||
@DeleteMapping("/{proIds}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 二维码管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "二维码管理接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmQrcodeInfoController extends BaseController
|
|||
* 导出二维码管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出二维码管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:export")
|
||||
@SysLog(title = "二维码管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出二维码管理")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmQrcodeInfoController extends BaseController
|
|||
* 新增二维码管理
|
||||
*/
|
||||
@ApiOperation(value = "新增二维码管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:add")
|
||||
@SysLog(title = "二维码管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增二维码管理")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmQrcodeInfoController extends BaseController
|
|||
* 修改二维码管理
|
||||
*/
|
||||
@ApiOperation(value = "修改二维码管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:edit")
|
||||
@SysLog(title = "二维码管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改二维码管理")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmQrcodeInfoController extends BaseController
|
|||
* 删除二维码管理
|
||||
*/
|
||||
@ApiOperation(value = "删除二维码管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:info:remove")
|
||||
@SysLog(title = "二维码管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除二维码管理")
|
||||
@DeleteMapping("/{qrIds}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 库存日志Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "库存日志接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmStorageLogController extends BaseController
|
|||
* 导出库存日志列表
|
||||
*/
|
||||
@ApiOperation(value = "导出库存日志列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:log:export")
|
||||
@SysLog(title = "库存日志", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出库存日志")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmStorageLogController extends BaseController
|
|||
* 新增库存日志
|
||||
*/
|
||||
@ApiOperation(value = "新增库存日志")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:log:add")
|
||||
@SysLog(title = "库存日志", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增库存日志")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmStorageLogController extends BaseController
|
|||
* 修改库存日志
|
||||
*/
|
||||
@ApiOperation(value = "修改库存日志")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:log:edit")
|
||||
@SysLog(title = "库存日志", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改库存日志")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmStorageLogController extends BaseController
|
|||
* 删除库存日志
|
||||
*/
|
||||
@ApiOperation(value = "删除库存日志")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:log:remove")
|
||||
@SysLog(title = "库存日志", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除库存日志")
|
||||
@DeleteMapping("/{ids}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 往来单位管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "往来单位管理接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmUnitController extends BaseController
|
|||
* 导出往来单位管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出往来单位管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:unit:export")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出往来单位管理")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmUnitController extends BaseController
|
|||
* 新增往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "新增往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:unit:add")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增往来单位管理")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmUnitController extends BaseController
|
|||
* 修改往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "修改往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:unit:edit")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改往来单位管理")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmUnitController extends BaseController
|
|||
* 删除往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "删除往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:unit:remove")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除往来单位管理")
|
||||
@DeleteMapping("/{unitIds}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.basic.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -27,7 +28,7 @@ import com.bonus.common.core.web.page.TableDataInfo;
|
|||
* 往来单位管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-26
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "往来单位管理接口")
|
||||
@RestController
|
||||
|
|
@ -54,6 +55,7 @@ public class BmUnitPersonController extends BaseController
|
|||
* 导出往来单位管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出往来单位管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:person:export")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出往来单位管理")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class BmUnitPersonController extends BaseController
|
|||
* 新增往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "新增往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:person:add")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增往来单位管理")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class BmUnitPersonController extends BaseController
|
|||
* 修改往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "修改往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:person:edit")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改往来单位管理")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class BmUnitPersonController extends BaseController
|
|||
* 删除往来单位管理
|
||||
*/
|
||||
@ApiOperation(value = "删除往来单位管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("basic:person:remove")
|
||||
@SysLog(title = "往来单位管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除往来单位管理")
|
||||
@DeleteMapping("/{IDs}")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.material.input.controller;
|
|||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
@ -54,6 +55,7 @@ public class InputApplyDetailsController extends BaseController
|
|||
* 导出入库任务详细列表
|
||||
*/
|
||||
@ApiOperation(value = "导出入库任务详细列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("input:details:export")
|
||||
@SysLog(title = "入库任务详细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出入库任务详细")
|
||||
@PostMapping("/export")
|
||||
|
|
@ -79,6 +81,7 @@ public class InputApplyDetailsController extends BaseController
|
|||
* 新增入库任务详细
|
||||
*/
|
||||
@ApiOperation(value = "新增入库任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("input:details:add")
|
||||
@SysLog(title = "入库任务详细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增入库任务详细")
|
||||
@PostMapping
|
||||
|
|
@ -91,6 +94,7 @@ public class InputApplyDetailsController extends BaseController
|
|||
* 修改入库任务详细
|
||||
*/
|
||||
@ApiOperation(value = "修改入库任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("input:details:edit")
|
||||
@SysLog(title = "入库任务详细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改入库任务详细")
|
||||
@PutMapping
|
||||
|
|
@ -103,6 +107,7 @@ public class InputApplyDetailsController extends BaseController
|
|||
* 删除入库任务详细
|
||||
*/
|
||||
@ApiOperation(value = "删除入库任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("input:details:remove")
|
||||
@SysLog(title = "入库任务详细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除入库任务详细")
|
||||
@DeleteMapping("/{ids}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue