Commit 5061e976 authored by zhouleilei's avatar zhouleilei

方案环图查询-优化易华录调度日期

parent ab80a42a
......@@ -429,10 +429,10 @@ public class WanJiCommonStaticInfoServiceImpl implements WanJiCommonStaticInfoSe
//java.util.date转LocalDate
LocalDate localDate = datetime.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
int week = localDate.getDayOfWeek().getValue();
if (week == 7) {
/*if (week == 7) {
//表中周日用0表示
week = 0;
}
}*/
// 创建一个 SimpleDateFormat 对象,并指定日期格式
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 将 Date 对象格式化为字符串
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment