|
|
@@ -56,18 +56,6 @@ public class AdminReleaseApiController extends CertifyApiController{
|
|
|
@RequestMapping(value = "/updatePublicRelease", method = RequestMethod.POST)
|
|
|
public Result updatePublicRelease(InputPublicRelease in){
|
|
|
Result res = new Result();
|
|
|
- if (StringUtils.isBlank(in.getUid())) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"用户编号"));
|
|
|
- return res;
|
|
|
- }
|
|
|
- if (StringUtils.isBlank(in.getReleaseStarts())) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"公出时间"));
|
|
|
- return res;
|
|
|
- }
|
|
|
- if (StringUtils.isBlank(in.getUserName())) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"公出地点"));
|
|
|
- return res;
|
|
|
- }
|
|
|
|
|
|
res.setData(publicReleaseService.updatePublicRelease(in));
|
|
|
return res;
|