摘要: //对数据做分组(分组条件:组织+对象) List<Map<String,Object>> list2 = new ArrayList<>(); Map<String,Object> map1 = new HashMap<>(); map1.put("organization", "北京"); ma 阅读全文
posted @ 2019-08-21 10:59 四块五 阅读(16784) 评论(2) 推荐(0)
摘要: 1.第一种判断方式 <if test=' requisition != null and requisition == "Y" '> AND 表字段 = #{requisition}</if> 2.第二种判断方式 <if test=" requisition != null and requisit 阅读全文
posted @ 2019-08-21 10:20 四块五 阅读(13512) 评论(0) 推荐(0)
摘要: 1.对BigDecimal类型的值求和 List<Map<String,Object>> list = new ArrayList<>(); Map<String,Object> stu1 = new HashMap<String, Object>(); stu1.put("name", "卫庄") 阅读全文
posted @ 2019-08-21 10:08 四块五 阅读(32481) 评论(1) 推荐(1)