5 changed files with 29 additions and 8 deletions
@ -0,0 +1,25 @@ |
|||||
|
package org.nl.wms.ext.mes.autotask; |
||||
|
|
||||
|
import lombok.SneakyThrows; |
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import org.nl.wms.ext.mes.service.WmsToMesService; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.core.annotation.Order; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* @Author: lyd |
||||
|
* @Description: 自动同步物料 |
||||
|
* @Date: 2023/10/20 |
||||
|
*/ |
||||
|
@Slf4j |
||||
|
@Component |
||||
|
@Order(value = 1) |
||||
|
public class AutoSynMaterialInfo { |
||||
|
@Autowired |
||||
|
private WmsToMesService wmsToMesService; |
||||
|
@SneakyThrows |
||||
|
public void run() { |
||||
|
wmsToMesService.synchronizeMaterialInfo(); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue