@Action(value = "configtypegroup", results = { @Result(location = "/WEB-INF/jsp/category/configtypegroup.jsp") })
public String configgroup(){
_log.debug("==================业务类型配置信息界面 configgroup 进入 ====================");
try {
VO arg = new VO();
arg.setAttr("INSTANCEID", instanceid);
VO rightRst = SV.g("category.Typegroupquery", arg);
if (RESULT_SUCCESS.equals(rightRst.getAttr("result"))) {
checkedbusinesstype= (Map) rightRst.getObj("dict");
arg.setObj("volist",rightRst.getObj("volist"));
}
VO typeRst=SV.g("type.Typenamequery", arg);
if (RESULT_SUCCESS.equals(typeRst.getAttr("result"))) {
businesstype= (Map) typeRst.getObj("dict");
}
VO args = new VO();
args.setAttr("instanceid", instanceid.trim());
VO rst = SV.g("category.Getcategorylist", args);
if (RESULT_SUCCESS.equals(rst.getAttr("result"))) {
VOList vlst = (VOList) rst.getObj("volist");
VO data = (VO) vlst.listData.get(0);
params.putAll(data.attrs());
}
} catch (Exception e) {
_log.error("==================业务类型配置信息界面 configgroup 异常:", e);
}
_log.debug("==================业务类型配置信息界面 configgroup 离开 ====================");
return SUCCESS;
}
@Action(value = "ajaxOnAddTypeGroup", results = { @Result(type = "json", params = {
"root", "json", "contentType", "text/html" }) })
public String ajaxOnAddTypeGroup() {
_log.info("==========ajaxOnAddTypeGroup 进入添加柜员受理业务管理==========");
try{
VO args = new VO();
args.setAttr("instanceids", itemField);
args.setAttr("instanceid", instanceid);
VO rst = SV.g("category.Addtypegroup", args);
if (RESULT_SUCCESS.equals(rst.getAttr("result"))) {
json.put("success", true);
} else {
json.put("success", false);
json.put("message", "添加柜员类别失败");
}
}catch (Exception e) {
_log.error("==========添加柜员受理业务失败==========", e);
}
_log.info("==========ajaxOnAddTypeGroup 离开柜员受理业务==========");
return SUCCESS;
}
configtypegroup
最新推荐文章于 2023-03-09 18:03:23 发布