|
@@ -56,8 +56,7 @@ public class PublicController {
|
|
|
|
|
|
|
|
|
@GetMapping("/getRenYuan")
|
|
|
- public ResultVo<List<GetDropdownBox>> getRenYuan(@RequestParam("code") String code,
|
|
|
- @RequestParam("deptCode") String deptCode) {
|
|
|
+ public ResultVo<List<GetDropdownBox>> getRenYuan(@RequestParam("code") String code, @RequestParam("deptCode") String deptCode) {
|
|
|
return service.getRenYuan(code, deptCode);
|
|
|
}
|
|
|
|
|
@@ -129,10 +128,7 @@ public class PublicController {
|
|
|
|
|
|
@PassToken
|
|
|
@GetMapping("/makePyCode")
|
|
|
- public ResultVo<String> makePyCode(@RequestParam("tableName") String tableName,
|
|
|
- @RequestParam("idColumn") String idColumn,
|
|
|
- @RequestParam("nameColumn") String nameColumn,
|
|
|
- @RequestParam("pyColumn") String pyColumn) {
|
|
|
+ public ResultVo<String> makePyCode(@RequestParam("tableName") String tableName, @RequestParam("idColumn") String idColumn, @RequestParam("nameColumn") String nameColumn, @RequestParam("pyColumn") String pyColumn) {
|
|
|
return service.makePyCode(tableName, idColumn, nameColumn, pyColumn);
|
|
|
}
|
|
|
|
|
@@ -153,9 +149,7 @@ public class PublicController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/newPatientAllergens")
|
|
|
- public ResultVo<Integer> newPatientAllergens(@RequestParam("patNo") String patNo,
|
|
|
- @RequestParam("allergenCode") String allergenCode,
|
|
|
- @RequestParam("allergenType") int allergenType) {
|
|
|
+ public ResultVo<Integer> newPatientAllergens(@RequestParam("patNo") String patNo, @RequestParam("allergenCode") String allergenCode, @RequestParam("allergenType") int allergenType) {
|
|
|
return service.newPatientAllergens(patNo, allergenCode, allergenType);
|
|
|
}
|
|
|
|
|
@@ -219,5 +213,10 @@ public class PublicController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/getUserInfoByCode")
|
|
|
+ public ResultVo<UserInfo> getUserInfoByCode(@RequestParam("code") String code) {
|
|
|
+ return service.getUserInfoByCode(code);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|