|
@@ -194,7 +194,7 @@ public class BizArchiveInputController extends BaseController {
|
|
|
@Log(title = "档案入库", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- @distributedLock(prefix = "crmInputAdd",key = "@tenantId")
|
|
|
+ @distributedLock(prefix = "crmInputEdit",key = "#bizArchiveInput.id")
|
|
|
public AjaxResult edit(@RequestBody BizArchiveInput bizArchiveInput) throws NoSuchFieldException, IllegalAccessException {
|
|
|
setTenantId(bizArchiveInput);
|
|
|
return toAjax(bizArchiveInputService.updateById(bizArchiveInput));
|