APP添加邮寄列表数据不为空校验
This commit is contained in:
parent
68473d52f5
commit
414a3e164a
@ -150,6 +150,11 @@ public class ApplyArchiveServiceImpl implements ApplyArchiveService{
|
||||
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
|
||||
String flowunid = fieldMap.get("flowunid") == null ? "" : fieldMap.get("flowunid").toString();
|
||||
String contractid = fieldMap.get("selectedRow") == null ? "" : fieldMap.get("selectedRow").toString();
|
||||
Map<String, Object> bo2 = new HashMap<String, Object>();
|
||||
if(contractid == ""){
|
||||
ReturnMapUtil.setReturnMap(null,RestfullConstant.baseProperty.get("fail").toString(), "合同id为空,数据添加失败!!!");
|
||||
return ReturnMapUtil.getReturnMap();
|
||||
}else{
|
||||
String userid = fieldMap.get("userid") == null ? "" : fieldMap.get("userid").toString();
|
||||
ASUser asUser = new ASUser(userid);
|
||||
String orgid = asUser.getOrgID();
|
||||
@ -191,7 +196,8 @@ public class ApplyArchiveServiceImpl implements ApplyArchiveService{
|
||||
otherProperty.put("flowunid", flowunid);
|
||||
DataOperatorUtil.copyJBOSet(LM_APPROVALOPINION_DOC.CLASS_NAME, fromCondtion,LM_APPROVALOPINION_DOC_TEMP.CLASS_NAME, null, otherProperty,null, tx);
|
||||
}
|
||||
ReturnMapUtil.setReturnMap(null,RestfullConstant.baseProperty.get("success").toString(), "");
|
||||
}
|
||||
ReturnMapUtil.setReturnMap(bo2,RestfullConstant.baseProperty.get("success").toString(), "");
|
||||
return ReturnMapUtil.getReturnMap();
|
||||
}
|
||||
//»ñÈ¡¶î¶È²éѯÐÅÏ¢Êý¾Ý
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user