摘要: 表A 关联第一张表B 关联第二张表c select * fomr 表名A left join 表B on 表A字段=表B的id left join 表c on 表A字段=表c的id 阅读全文
posted @ 2016-09-06 22:15 开心写代码 阅读(38144) 评论(1) 推荐(4) 编辑
摘要: combobox下拉框 function getSampleDemoType(){ $('#demo_category').combobox({ url:"getDatadis.action?com_Type="+"YBLX",//调用后台的action valueField:'id', //和后台 阅读全文
posted @ 2016-09-07 17:19 开心写代码 阅读(1752) 评论(0) 推荐(0) 编辑
摘要: //批量修改 update 表A set A.name='n' where A.id in(字符串); //批量删除 delete from 表名称 where 列名称 in(值); 阅读全文
posted @ 2016-09-06 22:40 开心写代码 阅读(1095) 评论(0) 推荐(0) 编辑