Commit 6aef31a6 authored by 18310373984@163.com's avatar 18310373984@163.com

后台不校验必填,前台校验

parent 3d8380ee
...@@ -259,12 +259,12 @@ public class SrvOrganController { ...@@ -259,12 +259,12 @@ public class SrvOrganController {
|| null == srvOrganEmpVo.getEmpType() || null == srvOrganEmpVo.getEmpType()
|| null == srvOrganEmpVo.getEduId()) { || null == srvOrganEmpVo.getEduId()) {
return Result.failed(ResultCode.REQUEST_PARAM_ERROR); return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
} }/*
if(null== srvOrganEmpVo.getEmpId()){//新增才需要校验标准照是否为空 if(null== srvOrganEmpVo.getEmpId()){//新增才需要校验标准照是否为空
if(null == srvOrganEmpVo.getPhotoList()){ if(null == srvOrganEmpVo.getPhotoList()){
return Result.failed(ResultCode.REQUEST_PARAM_ERROR); return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
} }
} }*/
try { try {
Integer userId = TokenParsingUtil.TokenParsing(token, "userId"); Integer userId = TokenParsingUtil.TokenParsing(token, "userId");
return srvOrganEmpService.saveOrUpdateSrvOrganEmp(srvOrganEmpVo,userId); return srvOrganEmpService.saveOrUpdateSrvOrganEmp(srvOrganEmpVo,userId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment