Commit 06121f99 by 傅伟强-富德

Add new file

1 parent dd5df3cc
Showing with 52 additions and 0 deletions
/**
/**
* 编辑银行网点收展服务人员
* @param bankCode
* @param empNo
* @return
*/
@RequestMapping("modifyBankEmp")
@ResponseBody
public ServerResponse<Map<String, String>> modiyfBankEmp (String bankCode,String empNo){
if(StringUtils.isEmpty(bankCode)){
return ServerResponse.createByErrorMessage("银行网点代码不能为空");
}
if(StringUtils.isEmpty(empNo)){
return ServerResponse.createByErrorMessage("收展服务人员代码不能为空");
}
JSONObject retjson=new JSONObject();
Map<String,String> paramMap=new HashMap<String,String>();
Map<String,String> retMap=new HashMap<String,String>();
retMap.put("isFlag", MyConstant.ISPASS_NO);
retMap.put("msg", "系统繁忙");
paramMap.put(bankCode,empNo);
try
{
retjson=ruleDealService.addBankEmp(paramMap);
if(retjson!=null){
retMap.put("msg", retjson.getString("msg"));
if(Integer.parseInt(retjson.getString("success"))>0){
retMap.put("isFlag", MyConstant.ISPASS_YES);
}
}
}
catch (Exception e)
{
e.printStackTrace();
}
return ServerResponse.createBySuccess(retMap);
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!