规则引擎ice
发表于|更新于
|浏览量:
在人生或者职业的各种事务中,性格的作用比智力大得多,头脑的作用不如心情,天资不如由判断力所节制着的自制,耐心和规律。 —— 海鸣威 《真实的高贵》
分享一个规则引擎ice

快速上手:http://waitmoon.com/zh/guide/getting-started.html

相关推荐
2024-07-10
Mybatis在Mapper上加注解关闭二级缓存
久视伤血,久卧伤气,久坐伤肉,久立伤骨,久行伤筋。——曹廷栋 代码如下 12345678910111213import org.apache.ibatis.annotations.CacheNamespace;import org.apache.ibatis.annotations.Select;import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.cache.impl.PerpetualCache;@Mapper@CacheNamespace(implementation = PerpetualCache.class, blocking = false)public interface MyMapper { @Select("SELECT * FROM my_table WHERE id = #{id}") MyEntity selectById(int id);} 上使用@CacheNamespace注解,并将imp...
2022-12-16
获取泛型map工具类
一个人如果抛弃他忠实的朋友,就等于抛弃他最珍贵的声明。——索福克勒斯 代码如下: 1234567891011121314151617181920212223242526public static Map<String, Type> getGenericMap(Type paramType) { Type type = resolveType(paramType); if (type instanceof ParameterizedTypeImpl) { ParameterizedTypeImpl ty = (ParameterizedTypeImpl) type; final Class<?> rawType = ty.getRawType(); return Steam.of(rawType.getTypeParameters()).map(Type::getTypeName) .zip(Steam.of(ty.getActualTypeArgum...
2022-10-02
aj-report
笑,和蔼的笑使人与人之间的距离拉近——贝纳免特 分享一个可视化大屏设计工具AJ-Report 官网:https://ajreport.beliefteam.cn/index.html 效果非常的炫酷,功能更是没话说,很强大 在线体验 : https://ajreport.beliefteam.cn/index.html 体验账号:guest 密码:guest还有很多案例
2023-06-15
wrapper支持typeHandler
错误经不起失败,但真理却不怕失败。——泰戈尔 相关pr: https://gitee.com/dromara/stream-query/pulls/340 大致使用方式 123456789101112131415161718192021222324@Testvoid selectTest() { Name name = new Name(); name.setUsername("VampireAchao"); name.setNickname("阿超"); UserInfoWithJsonName user = new UserInfoWithJsonName(); user.setName(name); Database.saveFewSql(Lists.of(user)); Database.updateFewSql(Lists.of(user)); LambdaQueryWrapper<UserInfoWithJsonName> wrapper = QueryCondition.qu...
2021-09-01
获取类中所有的bean
生命中有很多东西,能忘掉的叫过去,忘不掉的叫记忆。一个人的寂寞,有时候,很难隐藏得太久,时间太久了,人就会变得沉默,那时候,有些往日的情怀,就找不回来了。或许,当一段不知疲倦的旅途结束,只有站在终点的人,才会感觉到累。其实我一直都明白,能一直和一人做伴,实属不易。——海子 使用hutool实现 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748package com.ruben.simplescaffold;import cn.hutool.core.bean.BeanUtil;import cn.hutool.core.util.ClassUtil;import cn.hutool.core.util.ReflectUtil;import cn.hutool.core.util.TypeUtil;import com.ruben.simplescaffold.entity.UserDetail;import org.junit.jupiter.api....
2020-12-23
@ModelAttribute
小人之过也必文。——《论语》 如果我们需要在controller执行前做一些事情,除了使用AOP外,我们还可以使用@ModelAttribute注解 被@ModelAttribute注解的方法会在controller执行前执行并把结果传递给了下面controller里我们注解的参数 实际开发中可以用来鉴权、过滤参数等 12345678910111213141516171819202122232425262728293031package com.ruben.controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.ModelAttribute;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;/** * @...

阿超
我的名字叫阿超 年龄25岁 家在北京市 职业是软件开发 每天最晚也会在八点前回家 不抽烟 酒浅尝辄止 晚上十二点上床 保证睡足八个小时 睡前写一篇博客 再做二十分钟俯卧撑暖身 然后再睡觉 基本能熟睡到天亮 像婴儿一样不留下任何疲劳和压力 就这样迎来第二天的早晨 健康检查结果也显示我很正常 我想说明我是一个不论何时都追求内心平稳的人 不拘泥于胜负 不纠结于烦恼 不树立使我夜不能寐的敌人 这就是我在这社会的生活态度
Follow Me公告
This is my Blog