会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
许佳挺
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
11
下一页
2019年6月19日
对每个CheckBox的循环
摘要: $("input[name='ck2']").each(function(){ if(this.checked == false){ $(this).parent().parent().find("input[name$='flag']").val(0); } if(this.checked ==
阅读全文
posted @ 2019-06-19 15:10 许佳挺
阅读(807)
评论(0)
推荐(0)
2019年5月29日
jeecg根据模板自定义导出
摘要: //1.获取模板的路径: String lujing = request.getSession().getServletContext().getRealPath("/")+ "export\\template\\test.xlsx"; //2.准备数据(一个List<Map<String, Obj
阅读全文
posted @ 2019-05-29 16:42 许佳挺
阅读(2698)
评论(0)
推荐(0)
jeecg随笔
摘要: 1.根据数据字典code查找该字典下的元素: SELECT typecode,typename from t_s_type where typegroupid=(select id from t_s_typegroup where typegroupcode='fchexing') fchexing
阅读全文
posted @ 2019-05-29 11:36 许佳挺
阅读(395)
评论(0)
推荐(0)
jeecg中列表查询数据关联其他表的显示
摘要: 1.A表字段:id,name;B表字段:id,name,fid(A表外键),现查询A表和B表的所有数据并且查询条件A,B都有,在前台页面list显示 2.后台方法: @RequestMapping(params = "datagrid_zh") public void datagrid_zh(Car
阅读全文
posted @ 2019-05-29 11:29 许佳挺
阅读(6179)
评论(0)
推荐(1)
2019年5月15日
jeecg中的datagrid显示一条记录为橙色表示完结
摘要: 效果如图: 1.操作小结后面的已完结js $(document).ready(function(){ $('.datagrid-toolbar').children("span").append("<label style='background-color:#FFD39B'>  &
阅读全文
posted @ 2019-05-15 17:09 许佳挺
阅读(641)
评论(0)
推荐(0)
jeecg中列表点击单号跳入链接
摘要: 效果如图:点击单号,跳到一个新的页面 1.首先列表给一个自定义的js: <t:dgCol title="业务编号" field="orderCode" formatterjs="ordercode" width="120"></t:dgCol> 2.ordercode的js方法: function
阅读全文
posted @ 2019-05-15 16:59 许佳挺
阅读(1213)
评论(0)
推荐(1)
mysql查询json字段
摘要: 一张test表里存了一个content字段是json类型的,查询该content里manualNo这个字段 select JSON_EXTRACT (test .content, '$.manualNo') from test 博主微信xjt199561,欢迎技术交流。
阅读全文
posted @ 2019-05-15 16:04 许佳挺
阅读(6200)
评论(0)
推荐(0)
通过一个name获取tbody下的其他name的值
摘要: <tbody id="add_enterGoods_table"> <tr> <td align="center"><div style="width: 25px;" name="xh">1</div></td> <td align="center"><input style="width:20px
阅读全文
posted @ 2019-05-15 15:46 许佳挺
阅读(483)
评论(0)
推荐(0)
2018年1月11日
字典示例
摘要: 1.radio类型: <t:dictSelect field="sex" type="radio" typeGroupCode="sex" hasLabel="false" title="性别" defaultVal="1"></t:dictSelect> 2.checkbox类型: <t:dict
阅读全文
posted @ 2018-01-11 14:56 许佳挺
阅读(266)
评论(0)
推荐(0)
表单验证
摘要: 1.非空验证: <input id="name" name="name" type="text" style="width: 150px" class="inputxt" datatype="*"/> 2.年龄验证: <input id="age" value="" name="age" type=
阅读全文
posted @ 2018-01-11 13:38 许佳挺
阅读(115)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
11
下一页
公告