Commit 982da293 authored by wei's avatar wei 🎱

更改方法名称

parent 92a601fc
...@@ -24,7 +24,7 @@ public class ChangeSupplierStatus { ...@@ -24,7 +24,7 @@ public class ChangeSupplierStatus {
public void changeStatus() { public void changeStatus() {
log.info("定时执行更新供应商过期状态开始==========="); log.info("定时执行更新供应商过期状态开始===========");
long begin = System.currentTimeMillis(); long begin = System.currentTimeMillis();
extSupplierManageService.changeStatus(); extSupplierManageService.changeSupplierStatus();
long end = System.currentTimeMillis(); long end = System.currentTimeMillis();
log.info("定时执行更新供应商过期状态结束,共耗时:[" + (end - begin) / 1000 + "]秒"); log.info("定时执行更新供应商过期状态结束,共耗时:[" + (end - begin) / 1000 + "]秒");
} }
......
...@@ -24,5 +24,5 @@ public interface ExtSupplierManageService<V extends ExtSupplierManageVO> extends ...@@ -24,5 +24,5 @@ public interface ExtSupplierManageService<V extends ExtSupplierManageVO> extends
void generateSupplierNumber(ExtSupplierManageVO extSupplierManageVO); void generateSupplierNumber(ExtSupplierManageVO extSupplierManageVO);
void changeStatus(); void changeSupplierStatus();
} }
...@@ -118,7 +118,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme ...@@ -118,7 +118,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme
} }
@Override @Override
public void changeStatus() { public void changeSupplierStatus() {
LocalDateTime localDateTime = LocalDate.now().atStartOfDay(); LocalDateTime localDateTime = LocalDate.now().atStartOfDay();
SearchQueryCondition condition = SearchQueryCondition.builder() SearchQueryCondition condition = SearchQueryCondition.builder()
.searchItems(SearchItems.builder() .searchItems(SearchItems.builder()
......
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