Prechádzať zdrojové kódy

查询所属开发区

zhaowenrui 1 rok pred
rodič
commit
9f3cd84393

+ 6 - 3
src/main/java/com/sooka/sponest/mobile/system/dept/DeptController.java

@@ -66,12 +66,15 @@ public class DeptController {
 
     /**
      * 查询所属开发区
-     * @param sysDept
+     *
      * @return
      */
     @PostMapping("/getDeptsByDeptType")
-    public AjaxResult getDeptsByDeptType(@RequestBody SysDept sysDept){
+    public AjaxResult getDeptsByDeptType(){
+        SysDept sysDept = new SysDept();
         sysDept.setDeptType("sys_dept_type_27");
-        return remoteSystemBaseService.getDeptsByDeptType(sysDept);
+        AjaxResult deptsByDeptType = remoteSystemBaseService.getDeptsByDeptType(sysDept);
+        return deptsByDeptType;
+
     }
 }