![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
项目问题记录
捉住那只猫
勿忘初心
展开
-
Lombok插件 @Data传参取值问题记录
问题:springMVC controller 接收参数时存在参数取值为空的情况(所传参数都有值)1.controller2.PSchOrderDTO3.取参(如图,只有一个参数有值)问题排查(猜想可能参数命名用@Data取值问题,修改一个参数名称)重新请求结果(发现修改的参数有值)解决方法(手动生成get和set方法,或者规范参数值)public class PSchOrderTempDTO { private List<PSchSchemeVO> pSch原创 2020-10-15 17:08:42 · 618 阅读 · 0 评论 -
H5 + input,Formdata,基于springboot多图片与多参数上传前后台交互
(一)基于H5的form表单界面&lt;div class="wrapper wrapper-content animated fadeInRight ibox-content"&gt; **&lt;-注意添加form表单属性enctype="multipart/form-data"-&gt;** &lt;form class=&q原创 2019-03-06 17:51:09 · 2834 阅读 · 0 评论 -
js在jsp与thymeleaf中获取ModelMap中的值
(一)js在thymeleaf H5模板中获取ModelMapcontroller层public String edit(@PathVariable("id") Long id, ModelMap mmap) { //存入id值 mmap.put("goodsid", id); return prefix + "/edit"; }js中获取<scri...原创 2019-03-12 13:27:43 · 11611 阅读 · 0 评论 -
BootStrapValidator用户名唯一性远程验证
(一)页面 <div class="form-group col-md-5"> <label for="name" class="col-sm-7 control-label">用户名:</label> <div class="col-sm-5"&...原创 2019-03-27 09:55:51 · 1243 阅读 · 0 评论 -
JqGrid行合并
(一)代码及合并调用方法,项目代码,可用 <script type="text/javascript"> $(document).ready(function () { $("#jqGrid").jqGrid({ ...原创 2019-04-02 16:53:58 · 3193 阅读 · 1 评论 -
JqGrid多行选中,翻页保持选中
(一)定义全局变量保存选中id//保存选中idvar checkBox=[];//定义页码值 var cPage=0;(二)使用翻页事件onPaging:function (pgButton) { cPage++; //翻页事件 },(三)每次数据加载完成后...原创 2019-04-16 15:05:10 · 1936 阅读 · 0 评论