parent
4e89b5dfb9
commit
c9f486c88d
@ -0,0 +1,15 @@
|
||||
package com.dsic.gj_erp.config;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
@Configuration
|
||||
public class RestTemplateConfig {
|
||||
|
||||
@Bean
|
||||
public RestTemplate restTemplate() {
|
||||
return new RestTemplate();
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,18 @@
|
||||
package com.dsic.gj_erp.jiuzhou;
|
||||
|
||||
import com.dsic.gj_erp.bean.kc.SlKc;
|
||||
import lombok.Getter;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
public class SlPlanEvent extends ApplicationEvent {
|
||||
|
||||
private final List<SlKc> slKcList;
|
||||
|
||||
public SlPlanEvent(Object source,List<SlKc> slKcList) {
|
||||
super(source);
|
||||
this.slKcList=slKcList;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue