涉稳,列管修改

develop
hanrenchun 11 months ago
parent 3149599e25
commit 1c480c6589

@ -114,9 +114,6 @@ public class SlryYjxxOracleTask {
} }
} }

@ -23,6 +23,7 @@ import java.text.SimpleDateFormat;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.TimeZone;
/** /**
* *
@ -58,6 +59,7 @@ public class VLgryGjxxTask {
try { try {
long currentTimeMillis = System.currentTimeMillis(); long currentTimeMillis = System.currentTimeMillis();
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+8"));
// Convert long to DateTime // Convert long to DateTime
DateTime currentDateTime = DateUtil.date(currentTimeMillis); DateTime currentDateTime = DateUtil.date(currentTimeMillis);
String currentFormattedDate = null; String currentFormattedDate = null;

@ -23,6 +23,7 @@ import java.text.SimpleDateFormat;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.TimeZone;
/** /**
* *
@ -38,6 +39,7 @@ public class VSwryGjxxTask {
SimpleDateFormat dateFormat = new SimpleDateFormat(pattern); SimpleDateFormat dateFormat = new SimpleDateFormat(pattern);
private final VSySwryGjxxOracleService vSySwryGjxxOracleService; private final VSySwryGjxxOracleService vSySwryGjxxOracleService;
private final TransitImpUserRecordService transitImpUserRecordService; private final TransitImpUserRecordService transitImpUserRecordService;
@ -58,6 +60,7 @@ public class VSwryGjxxTask {
try { try {
long currentTimeMillis = System.currentTimeMillis(); long currentTimeMillis = System.currentTimeMillis();
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+8"));
// Convert long to DateTime // Convert long to DateTime
DateTime currentDateTime = DateUtil.date(currentTimeMillis); DateTime currentDateTime = DateUtil.date(currentTimeMillis);
String currentFormattedDate = null; String currentFormattedDate = null;

Loading…
Cancel
Save