|
@@ -378,7 +378,7 @@ public class CorrforeService extends ServiceImpl<CorrforeStMapper, CorrforeSt> {
|
|
|
*/
|
|
|
public File genFile(Station station, List<CorrforeSt> list) {
|
|
|
|
|
|
- String vmsPath = SystermUtils.getResourceBasePath() + "/vms/DQAMEND.vm";
|
|
|
+ String vmsPath = SystermUtils.getResourceBasePath() + "/vms/DQ.vm";
|
|
|
File file = null;
|
|
|
Template template = this.velocityEngine.getTemplate(vmsPath);
|
|
|
if (template != null) {
|
|
@@ -412,7 +412,7 @@ public class CorrforeService extends ServiceImpl<CorrforeStMapper, CorrforeSt> {
|
|
|
fileUrl.mkdirs();
|
|
|
}
|
|
|
|
|
|
- String fileName = "AMENDFORECAST_" + DateUtil.format(new Date(), "yyyyMMddHHmm") + ".RB";
|
|
|
+ String fileName = "DQ_" + DateUtil.format(DateUtil.beginOfDay(new Date()), "yyyyMMddHHmmss") + "0.RB";
|
|
|
|
|
|
file = new File(station.getLocalFilePath() + File.separatorChar + fileName);
|
|
|
|