|
|
@@ -113,10 +113,6 @@ public class AdminPersonnelApiController extends CertifyApiController {
|
|
|
@RequestMapping(value = "/update", method = RequestMethod.POST)
|
|
|
public Result updatePersonnel(InputPersonnelBo i){
|
|
|
Result res = new Result();
|
|
|
- if (StringUtils.isBlank(i.getName())) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "姓名", "姓名"));
|
|
|
- return res;
|
|
|
- }
|
|
|
if (i.getDoorId()==null) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "门禁", "门禁"));
|
|
|
return res;
|