05 2022 档案
摘要:关于foreach标签的问题 <select id="foreachDemo" resultType="com.po.demo" parameterType= "List"> select * from user where uid in <foreach item="item" index="in
阅读全文
摘要:Bigdecimal的格式化 需求 Bigdecimal的长度太长 需要处理 1.定义一种格式 decimalFormat.setRoundingMode (RoundingMode.HALF_UP); 2.设置保留位数 decimalFormat.setRoundingMode (Rounding
阅读全文
摘要:Springboot 整合 MyBatisPlus[详细过程] 提要 这里已经将Springboot环境创建好 这里只是整合MyBatis过程 引入Maven依赖 添加MyBatisPlus启动依赖,添加mysql-connector-java依赖 <!-- mybatis-plus --> <de
阅读全文
摘要:CentOS7 安装MYSQL5.7 [详细过程] YUM 安装 1.从mysql官网获取 yum 仓库 [root@stone tmp]# wget 'https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm' 2.
阅读全文