Commit 4e97372d authored by huyuchen's avatar huyuchen

申报,稿酬,劳务费接口修改

parent 82659bb9
...@@ -23,7 +23,7 @@ import org.springframework.stereotype.Component; ...@@ -23,7 +23,7 @@ import org.springframework.stereotype.Component;
@Component(value = "salaryTask") @Component(value = "salaryTask")
@Slf4j @Slf4j
@EnableConfigurationProperties(DaprSalarylProperties.class) @EnableConfigurationProperties(DaprSalarylProperties.class)
public class salaryTask { public class SalaryTask {
@Autowired @Autowired
private DaprSalarylProperties daprSalarylProperties; private DaprSalarylProperties daprSalarylProperties;
...@@ -97,7 +97,7 @@ public class salaryTask { ...@@ -97,7 +97,7 @@ public class salaryTask {
**/ **/
public void generate() { public void generate() {
log.info("------------定时生成时生成有工资无社保数据-定时任务开始------------"); log.info("------------定时生成时生成有工资无社保数据-定时任务开始------------");
HttpDaprUtil.invokeMethodPost(daprProperties.getAppUrl(),daprProperties.getAppId(),"/thavesalarynosocial/inner/generate","", Object.class, SecurityConstants.FROM_IN); HttpDaprUtil.invokeMethodPost(daprSalarylProperties.getAppUrl(),daprSalarylProperties.getAppId(),"/thavesalarynosocial/inner/generate","", Object.class, SecurityConstants.FROM_IN);
log.info("------------定时生成时生成有工资无社保数据-定时任务结束------------"); log.info("------------定时生成时生成有工资无社保数据-定时任务结束------------");
} }
} }
\ No newline at end of file
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