|
@@ -12,6 +12,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import cn.ezhizao.common.utils.poi.ExcelUtil;
|
|
|
import cn.ezhizao.framework.aspectj.lang.annotation.Log;
|
|
|
import cn.ezhizao.framework.aspectj.lang.enums.BusinessType;
|
|
|
+import cn.ezhizao.framework.interceptor.annotation.RepeatSubmit;
|
|
|
import cn.ezhizao.framework.redis.RedisCache;
|
|
|
import cn.ezhizao.framework.security.LoginUser;
|
|
|
import cn.ezhizao.framework.web.controller.BaseController;
|
|
@@ -474,6 +475,7 @@ public class BizReturnReceiptController extends BaseController
|
|
|
@Transactional
|
|
|
// @PostMapping("/new")
|
|
|
@PostMapping
|
|
|
+ @RepeatSubmit(interval = 60000)
|
|
|
public AjaxResult addNew(@RequestBody BizReturnReceipt bizReturnReceipt) throws NoSuchFieldException, IllegalAccessException, ParseException {
|
|
|
String tenantId = request.getHeader("tenantId");
|
|
|
bizReturnReceipt.setTenantId(Long.valueOf(tenantId));
|
|
@@ -870,6 +872,7 @@ public class BizReturnReceiptController extends BaseController
|
|
|
@Log(title = "修改外协单", businessType = BusinessType.UPDATE)
|
|
|
@Transactional
|
|
|
@PutMapping
|
|
|
+ @RepeatSubmit(interval = 60000)
|
|
|
public AjaxResult editNew(@RequestBody BizReturnReceipt bizReturnReceipt) throws NoSuchFieldException, IllegalAccessException, ParseException {
|
|
|
String tenantId = request.getHeader("tenantId");
|
|
|
bizReturnReceipt.setTenantId(Long.valueOf(tenantId));
|