摘要:
package java8test; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.for 阅读全文
摘要:
fullcalendar 下载地址 https://www.jb51.net/jiaoben/24395.html 阅读全文
摘要:
<#form:input path="quantity" maxlength="10" class="form-control required" onblur="value=zhzs(this.value)"/> //限制数量只能输入数字 function zhzs(value) { value 阅读全文
摘要:
方法一:通过springboot自带入口来开启定时器。 首先我们都知道,springboot有一个自己的入口,也就是@SpringBootApplication(他是一个组合注解 由@Configuration,@EnableAutoConfiguration和@ComponentScan组成)。 阅读全文
摘要:
<update id="updateUser" parameterType="com.dy.entity.User"> update user <set> <if test="name != null">name = #{name},</if> <if test="password != null" 阅读全文
摘要:
package com.dc.thread; import java.net.URLEncoder; import com.dc.common.utils.MicroUtil; /** * 发送语音 * @author luhj * */ public class SendVoice impleme 阅读全文
摘要:
package com.test; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import 阅读全文
摘要:
/** * 计算startDate和endDate相差多少年 * @param startDate * @param endDate * @return */ public static int yearDateDiff(String startDate, Date endDate) { Calen 阅读全文
摘要:
将一个实体类的值赋值给另一个实体类 这两天做项目,用到了BeanUtils.copyProperties()这个方法,而在两个不同的类中使用到这个方法,但不知怎么的,就是有一个对象服务发copy另外个对象,最后排查终于找到原因。因为两个类引入了两个不同的BeanUtils类, 一个为org.spri 阅读全文
摘要:
package dingShiTask; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Timer; import java.util.TimerTask; public class TimerT 阅读全文