摘要: 原始需求: 原始需求: 有若干个参数,需要作为ibatis拼装sql的参数传入,但是有个参数的值比较特殊,是若干种枚举值。具体到这个case,就是有有限个namespace。我每次需要通过传入多个namespace来查询DB记录。 准备需要传入sqlmap的参数的示例代码如下: Java代码 Map 阅读全文
posted @ 2014-07-23 20:05 tancp 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 一、问题描述: 1.在使用ibatis执行下面的sql: update jc_jiesuan set doing_time = unix_timestamp(curdate()),doing_status = ? where id in (?) and current_oprerate_type = 阅读全文
posted @ 2014-07-23 13:42 tancp 阅读(1684) 评论(0) 推荐(0) 编辑