Commit a0114cf3 authored by mengbali153's avatar mengbali153

能力管理--联调

历史档案--联调
非标产值--联调
parent 69520eee
...@@ -39,9 +39,6 @@ public class NonStandardApplyQuery { ...@@ -39,9 +39,6 @@ public class NonStandardApplyQuery {
@ApiModelProperty(name = "userId", value = "用户id") @ApiModelProperty(name = "userId", value = "用户id")
private Integer userId; private Integer userId;
@ApiModelProperty(value = "按钮类型 1:提交")
private Integer menuId;
@ApiModelProperty(value = "姓名") @ApiModelProperty(value = "姓名")
private String name; private String name;
} }
...@@ -82,14 +82,6 @@ public class NonStandardApplyServiceImpl extends ServiceImpl<NonStandardApplyMap ...@@ -82,14 +82,6 @@ public class NonStandardApplyServiceImpl extends ServiceImpl<NonStandardApplyMap
NonStandardApply nsa = new NonStandardApply(); NonStandardApply nsa = new NonStandardApply();
BeanUtils.copyProperties(query, nsa); BeanUtils.copyProperties(query, nsa);
nsa.setId(query.getId()); nsa.setId(query.getId());
if(query.getMenuId() == null){
return BaseResponse.errorMsg("按钮参数不能为空");
}
if(query.getMenuId()== 1){ //通过
nsa.setStatus(1);
}else{
return BaseResponse.errorMsg("按钮参数错误");
}
nonStandardApplyMapper.updateById(nsa); nonStandardApplyMapper.updateById(nsa);
return BaseResponse.okData(nsa); return BaseResponse.okData(nsa);
} }
......
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