04 2021 档案
摘要:本地调试两个项目的时候,最开始使用两个配置文件切来切去的,太麻烦,遂有了用同一个服务启动两个项目的办法,百度了一下没有比较好的例子,贴在这里,以供查阅 1 worker_processes 2; 2 3 events { 4 worker_connections 1024; # 最大连接数 5 mu
阅读全文
摘要:加法 add()函数 减法subtract()函数 乘法multiply()函数 除法divide()函数 绝对值abs()函数 累加错误代码: BigDecimal totalAmount = new BigDecimal(0); totalAmount.add(new BigDecimal(50
阅读全文
摘要:/** * 两个日期相减相差的月份 * @param beginDate * @param endDate * @return */ public int getDifMonth(Date startDate, Date endDate) { Calendar start = Calendar.ge
阅读全文
摘要:页面: xml代码: <button name="savebill" caption="保存" /> <button name="examine" caption="审核" /> <button name="noexamine" caption="反审核" /> <button name="topa
阅读全文