2017年9月14日

插入新数据是直接查重,如果有重复则不插入数据

摘要: mabatis的XML文件写法 <insert id="saveIfNoExit" parameterType="pd"> INSERT INTO t_cluster_server (id,cluster_id,server_id) SELECT #{id}, #{clusterId}, #{ser 阅读全文

posted @ 2017-09-14 23:44 sj_大王 阅读(1219) 评论(0) 推荐(0) 编辑

js的Array数组传到后台的方法

摘要: 页面代码 var array = new Array(); ......//array.push(); 赋值 $.ajax({ url:url, async:true, data: { array: array, test : 'test' },success : function (result) 阅读全文

posted @ 2017-09-14 22:31 sj_大王 阅读(594) 评论(0) 推荐(0) 编辑

导航