摘要: 一、mybatis执行批量更新batch update 的方法(mysql数据库) 1、数据库连接必须配置:&allowMultiQueries=true(切记一定要加上这个属性,否则会有问题,切记!切记!切记!) 我的配置如下:jdbc:mysql://127.0.0.1:3306/test?us 阅读全文
posted @ 2018-11-24 13:40 程序员小明1024 阅读(3798) 评论(0) 推荐(0) 编辑
摘要: <!-- 批量插入生成的兑换码 --> <insert id ="insertQuasiPersonList" parameterType="map" > <foreach collection="list" item="item" index="index" open="begin" close= 阅读全文
posted @ 2018-11-24 13:38 程序员小明1024 阅读(820) 评论(0) 推荐(0) 编辑
摘要: jstl的if else条件判断用法 一、例子 <c:choose> <c:when test="${userInfo.cardPhoto1 != null && userInfo.cardPhoto1 != '' }"> <img src="<%=ProjectConfig.getFileServ 阅读全文
posted @ 2018-11-24 13:28 程序员小明1024 阅读(8002) 评论(0) 推荐(0) 编辑
摘要: js jquery中判断checkbox是否被选中的方法在js中: document.getElementById("checkboxID").checked 返回true或者false jQuery中: $("input[type='checkbox']").is(':checked') 返回tr 阅读全文
posted @ 2018-11-24 13:23 程序员小明1024 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: { "orderId":"1", "sellerCommentList":[ { "sellerId":"222", "randId":"5", "goodCommentList":[ { "goodId":"222", "starEvaluation":"4" } ] } ] } 阅读全文
posted @ 2018-11-24 13:16 程序员小明1024 阅读(489) 评论(0) 推荐(0) 编辑
摘要: /** * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation */ package com.bns.modules.cadre.selection.web; import java. 阅读全文
posted @ 2018-11-24 13:13 程序员小明1024 阅读(618) 评论(0) 推荐(0) 编辑
摘要: js对象和数组的定义 阅读全文
posted @ 2018-11-24 12:55 程序员小明1024 阅读(5029) 评论(0) 推荐(0) 编辑
摘要: json和js的区别 阅读全文
posted @ 2018-11-24 12:35 程序员小明1024 阅读(4650) 评论(0) 推荐(1) 编辑
摘要: <%@ page contentType="text/html;charset=utf-8"%><%@ page language="java" import="java.util.*"%><%@ page language="java" import="com.beyond.framework.c 阅读全文
posted @ 2018-04-06 21:03 程序员小明1024 阅读(210) 评论(0) 推荐(0) 编辑
摘要: $("#registerInLogin").live('click', function() { Header.register(); }); var Header = { register: function() { // $.post(path + '/web/headerregister.js 阅读全文
posted @ 2018-04-06 21:00 程序员小明1024 阅读(283) 评论(0) 推荐(0) 编辑