|
@@ -3,13 +3,14 @@ package com.sd.wln.scheduled;
|
|
|
import com.sd.wln.service.WlnOrderService;
|
|
|
import com.sd.wln.service.WlnSkuService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.context.annotation.Profile;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
|
* 同步万里牛数据(本地环境不执行同步逻辑)
|
|
|
*/
|
|
|
-// @Profile({"test", "prod"})
|
|
|
+@Profile({"test", "prod"})
|
|
|
@Component
|
|
|
public class WlnSyncTask {
|
|
|
|