Commit f203b0c7 by zhouhaibao

[+]驻店员工逻辑调整

1 parent 5af32f65
...@@ -81,6 +81,11 @@ ...@@ -81,6 +81,11 @@
<version>RELEASE</version> <version>RELEASE</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>cn.com.glsx</groupId>
<artifactId>rpc-dj-mindworkplate-api</artifactId>
<version>5.6.1-SNAPSHOT</version>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file \ No newline at end of file
package cn.com.glsx.dj.supervisor.config; package cn.com.glsx.dj.supervisor.config;
import cn.com.glsx.dj.mindworkplate.remote.WarningMsgRemote;
import cn.com.glsx.dj.smartcarlife.remote.ShopMerchantDirectorConfigRemote; import cn.com.glsx.dj.smartcarlife.remote.ShopMerchantDirectorConfigRemote;
import cn.com.glsx.dj.smartcarlife.remote.StaffBaseInfoRemote; import cn.com.glsx.dj.smartcarlife.remote.StaffBaseInfoRemote;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
...@@ -20,4 +21,10 @@ public class SmartcarlifeDubboConfig extends DubboConfig { ...@@ -20,4 +21,10 @@ public class SmartcarlifeDubboConfig extends DubboConfig {
public ShopMerchantDirectorConfigRemote ShopMerchantDirectorConfigRemote() { public ShopMerchantDirectorConfigRemote ShopMerchantDirectorConfigRemote() {
return factory.builder(ShopMerchantDirectorConfigRemote.class).check(check).timeout(timeout).version("1.0.0").build(); return factory.builder(ShopMerchantDirectorConfigRemote.class).check(check).timeout(timeout).version("1.0.0").build();
} }
@Bean
public WarningMsgRemote warningMsgRemote(){
return factory.builder(WarningMsgRemote.class).check(check).timeout(60000).build();
}
} }
...@@ -66,8 +66,9 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest { ...@@ -66,8 +66,9 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest {
req.setEmployeeId("584fdb460afa4dad835cbe8d73cfa923"); req.setEmployeeId("584fdb460afa4dad835cbe8d73cfa923");
req.setMerchantId(44211227); req.setMerchantId(44211227);
req.setStartDate("2026-03-01"); req.setStartDate("2026-03-01");
req.setEndDate("2026-03-15"); req.setEndDate("2026-03-19");
req.setDateType(4); req.setBizs(1);
req.setDateType(2);
RpcResponse<EmployeePerformanceDTO> response = supervisorDashboardRemote.getEmployeePerformanceData(req); RpcResponse<EmployeePerformanceDTO> response = supervisorDashboardRemote.getEmployeePerformanceData(req);
System.out.println(JSON.toJSONString(response)); System.out.println(JSON.toJSONString(response));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!