|
@@ -160,4 +160,13 @@ public class SysOrgController {
|
|
public CommonResult<List<SysOrg>> list() {
|
|
public CommonResult<List<SysOrg>> list() {
|
|
return CommonResult.data(sysOrgService.myList());
|
|
return CommonResult.data(sysOrgService.myList());
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 全值匹配组织名
|
|
|
|
+ */
|
|
|
|
+ @Operation(summary = "全值匹配组织名")
|
|
|
|
+ @GetMapping("/coldchain/alarmuser/getOrgByName")
|
|
|
|
+ public CommonResult<SysOrg> getOrgByName(String orgName) {
|
|
|
|
+ return CommonResult.data(sysOrgService.getOrgByName(orgName));
|
|
|
|
+ }
|
|
}
|
|
}
|