Просмотр исходного кода

更改新增用户,修改用户传入NULL为修改数据库为NUll

anderx лет назад: 3
Родитель
Сommit
721dbf80d5

+ 1 - 0
src/main/java/com/goafanti/admin/controller/AdminSuperviserApiController.java

@@ -157,6 +157,7 @@ public class AdminSuperviserApiController extends CertifyApiController {
 			}
 			Admin ad = new Admin();
 			BeanUtils.copyProperties(admin, ad);
+			ad.setNumber(a.getNumber());
 			res = disposeAdminLocationList(res, jo, ad);
 			if (!res.getError().isEmpty()) {
 				return res;