2019年11月6日
摘要: 1、spring中@Param(org.springframework.data.repository.query.Param) int selectRoleCount(@Param("businessId") Integer businessId,@Param("memberId") Long m 阅读全文
posted @ 2019-11-06 21:14 小破孩楼主 阅读(572) 评论(0) 推荐(0)
摘要: @Param是MyBatis所提供的(org.apache.ibatis.annotations.Param),作为Dao层的注解,作用是用于传递参数,从而可以与SQL中的的字段名相对应//https://www.jianshu.com/p/6411776ba20f 使用@Param时注意的问题 ( 阅读全文
posted @ 2019-11-06 21:01 小破孩楼主 阅读(427) 评论(0) 推荐(0)
摘要: 简洁来说,就是form表单有多个input(checkbox,hidden),name同名,后台是如何接收的。【1】多个input 同名nameform表单如下: <form action="testName.do" method="POST" > input1: <input type="text 阅读全文
posted @ 2019-11-06 10:07 小破孩楼主 阅读(769) 评论(0) 推荐(0)