Commit fdd597d1 authored by unset's avatar unset

Merge branch 'dev-chw-vehicle' into dev-chw

parents 41369181 6b82b4d8
......@@ -21,6 +21,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;
......@@ -121,6 +122,7 @@ public class OrderViolateService {
}
//讲查询结果存入违章信息表中
@Scheduled(cron = "0 0 1 * * ?")
public void generateData() {
List<Vehicle> vehicleList = getAllVehicleInfo();
List<OrderRentVehicleDetail> orderRentVehicleDetailList = getAllVehicleCrosstown();
......
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