|
@@ -133,7 +133,7 @@ public class BizCompanyController extends BaseController
|
|
|
}
|
|
|
@Log(title = "客户管理", businessType = BusinessType.IMPORT)
|
|
|
@PostMapping("/importZero")
|
|
|
- @distributedLock(prefix = "crmComImportZero",key = "@tenantId")
|
|
|
+ @distributedLock(prefix = "crmComImportZero",key = "@tenantId",errorMsg = "你的同事正在导入请您稍后再试")
|
|
|
public AjaxResult importZero(MultipartFile file) throws Exception
|
|
|
{
|
|
|
Long tenantId = getTenantId();
|
|
@@ -214,7 +214,7 @@ public class BizCompanyController extends BaseController
|
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('business:company:edit')")
|
|
|
@Log(title = "company", businessType = BusinessType.UPDATE)
|
|
|
- @distributedLock(prefix = "crmComImport",key = "#bizCompany.id")
|
|
|
+ @distributedLock(prefix = "crmComEdit",key = "#bizCompany.id")
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody BizCompany bizCompany) throws NoSuchFieldException, IllegalAccessException
|
|
|
{
|