Browse Source

病例第一套提交测试

liangpeile 1 năm trước cách đây
mục cha
commit
574a65663f

+ 13 - 0
medical_history/jeecg-boot-module-system/src/main/java/org/jeecg/modules/adminuser/controller/AdminDoctorUserController.java

@@ -129,6 +129,19 @@ public class AdminDoctorUserController extends JeecgController<AdminUser, IAdmin
 		adminUserService.updateById(adminUser);
 		return Result.OK("编辑成功!");
 	}
+	 /**
+	  *  编辑
+	  *
+	  * @param adminUser
+	  * @return
+	  */
+	 @AutoLog(value = "用户管理2-编辑")
+	 @ApiOperation(value="用户管理2-编辑", notes="用户管理2-编辑")
+	 @RequestMapping(value = "/edit2", method = {RequestMethod.PUT,RequestMethod.POST})
+	 public Result<String> edit2(@RequestBody AdminUser adminUser) {
+		 adminUserService.updateById(adminUser);
+		 return Result.OK("编辑成功!");
+	 }
 
 
 	 @RequestMapping(value = "/updatePassWord", method = {RequestMethod.PUT,RequestMethod.POST})