Commit 9da6aa74 authored by 周健威's avatar 周健威

添加参数

parent 9d826be5
package com.xxfc.platform.vehicle.jobhandler;
import cn.hutool.core.util.StrUtil;
import com.xxfc.platform.universal.entity.Dictionary;
import com.xxfc.platform.universal.feign.ThirdFeign;
import com.xxfc.platform.vehicle.biz.VehicleBiz;
......@@ -46,6 +47,9 @@ public class VehicleJobHandler extends IJobHandler {
List<String> existVehicleIds = vehicleBiz.findExistVehicleIds();
Dictionary dictionary = thirdFeign.findDictionaryByTypeAndCode(DIC_VEHICLE_TYPE, DIC_VEHICLE_CODE);
LocalDate date = LocalDate.now();
if(StrUtil.isNotBlank(s)) {
date = LocalDate.parse(s);
}
date = date.plusMonths(Integer.valueOf(dictionary.getDetail()));
int year = date.getYear();
int month = date.getMonthValue();
......
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