|
@@ -25,6 +25,9 @@ public class WzkpRecordUtil {
|
|
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(WzkpRecordUtil.class);
|
|
|
|
|
|
+ private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ private SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+
|
|
|
@Autowired
|
|
|
private TjDao tjDao;
|
|
|
|
|
@@ -45,8 +48,6 @@ public class WzkpRecordUtil {
|
|
|
if (Blank.isEmpty(dateString)) {
|
|
|
dateString = DateUtil.format(new Date(), "yyyy-MM-dd");
|
|
|
}
|
|
|
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
- SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
Date date = DateUtil.parse(dateString, "yyyy-MM-dd");
|
|
|
Calendar cl = Calendar.getInstance();
|
|
|
cl.setTime(date);
|