|
@@ -7,12 +7,10 @@ import com.fjhx.tenant.service.dict.DictTenantDataService;
|
|
|
import com.ruoyi.common.annotation.TenantIgnore;
|
|
|
import com.ruoyi.common.constant.BaseSourceConstant;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
@DS(BaseSourceConstant.BASE)
|
|
|
@TenantIgnore
|
|
@@ -31,4 +29,12 @@ public class DictController {
|
|
|
return dictTenantDataService.getList(dto);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取所有字典Map
|
|
|
+ */
|
|
|
+ @GetMapping("/allDictMap")
|
|
|
+ public Map<String, List<DictTenantDataVo>> getAllDictMap(DictTenantDataSelectDto dto) {
|
|
|
+ return dictTenantDataService.getAllDictMap(dto);
|
|
|
+ }
|
|
|
+
|
|
|
}
|