|
@@ -372,6 +372,13 @@ public class CommonController extends BaseController
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation("同步其他机构字典")
|
|
|
|
+ @PostMapping("common/update/dict")
|
|
|
|
+ public AjaxResult updateDictTenant(@RequestBody List<Long> tenantIds) {
|
|
|
|
+ iSysTenantService.updateDictTenant(tenantIds);
|
|
|
|
+ return AjaxResult.success();
|
|
|
|
+ }
|
|
|
|
+
|
|
@ApiOperation("获取企业列表")
|
|
@ApiOperation("获取企业列表")
|
|
@GetMapping("common/tenant/list")
|
|
@GetMapping("common/tenant/list")
|
|
public AjaxResult<List<SysTenantVo>> getTenantList() {
|
|
public AjaxResult<List<SysTenantVo>> getTenantList() {
|