|
|
@@ -22,10 +22,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
22
|
22
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
23
|
23
|
import org.springframework.beans.factory.annotation.Value;
|
|
24
|
24
|
import org.springframework.http.MediaType;
|
|
25
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
26
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
27
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
28
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
25
|
+import org.springframework.web.bind.annotation.*;
|
|
29
|
26
|
|
|
30
|
27
|
import com.alibaba.fastjson.JSONArray;
|
|
31
|
28
|
import com.alibaba.fastjson.JSONObject;
|
|
|
@@ -1054,4 +1051,10 @@ public class UserInfoController {
|
|
1054
|
1051
|
}
|
|
1055
|
1052
|
return flag;
|
|
1056
|
1053
|
}
|
|
|
1054
|
+
|
|
|
1055
|
+ @GetMapping("/getBySfzhm/{sfzhm}/{orgId}")
|
|
|
1056
|
+ @ApiOperation(value="查询员工信息详情", notes = "身份证号和orgId")
|
|
|
1057
|
+ public UserInfo getBySfzhm(@PathVariable("sfzhm") String sfzhm,@PathVariable("orgId") Integer orgId) {
|
|
|
1058
|
+ return userInfoService.getBySfzhm(sfzhm, orgId);
|
|
|
1059
|
+ }
|
|
1057
|
1060
|
}
|