@RequestParam @Param

@RequestMapping("/account/tbCusFirmChg/edit")

public String add(@RequestParam(value = "customerKey", required = false) String customerKey,Model model) throws EsteelException {

}

public interface TbCusUserMapper extends Mapper<TbCusUser>

{

   List<TbCusUserVo>getOperateUser(Map<String,Object> param);

   

   int updateByCon(@Param(value="customer_key") String customer_key,@Param(value="psd") String psd);

    

}

@RequestParam接收mvc是的参数

@Param 接收参数用于匹配后面的配置文件对应接收,类似Map

猜你喜欢

转载自yuhuiblog6338999322098842.iteye.com/blog/2307808