判断指标新增时候预算方案代码只能为01或者02
This commit is contained in:
parent
715c83ac28
commit
7a90623777
|
@ -108,7 +108,7 @@ public class GbiZbxmbServiceImpl extends BaseService<GbiZbxmbEntity, String> imp
|
||||||
if(!checkStr(jsonObject.getString("bmmc"))){
|
if(!checkStr(jsonObject.getString("bmmc"))){
|
||||||
return BaseResult.getFailureMessageEntity("请传递部门名称");
|
return BaseResult.getFailureMessageEntity("请传递部门名称");
|
||||||
}
|
}
|
||||||
if(!checkStr(jsonObject.getString("ysfadm")) || !("01").equals(jsonObject.getString("ysfadm")) || !("02").equals(jsonObject.getString("ysfadm"))){
|
if(!("01").equals(jsonObject.getString("ysfadm")) && !("02").equals(jsonObject.getString("ysfadm"))){
|
||||||
return BaseResult.getFailureMessageEntity("请传递预算方案代码并且值为01或者02");
|
return BaseResult.getFailureMessageEntity("请传递预算方案代码并且值为01或者02");
|
||||||
}
|
}
|
||||||
GbiZbxmbEntity gbiZbxmbEntity = jsonObject.toJavaObject(GbiZbxmbEntity.class);
|
GbiZbxmbEntity gbiZbxmbEntity = jsonObject.toJavaObject(GbiZbxmbEntity.class);
|
||||||
|
|
Loading…
Reference in New Issue