Commit e1e57c2e by fudahua

点击刷新企业微信数据

parent d87ee1a4
......@@ -542,8 +542,8 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
@Override
public void cleanDiffrence(String wxEnterpriseId, String taskId) {
List<TabHaobanPreDealLog> groupList = preDealService.listByTaskId(taskId, PreDealTypeEnum.group.getVal(), 1);
List<TabHaobanPreDealLog> clerkList = preDealService.listByTaskId(taskId, PreDealTypeEnum.clerk.getVal(), 1);
List<TabHaobanPreDealLog> groupList = preDealService.listByTaskId(taskId, PreDealTypeEnum.group.getVal(), PreDealStatusEnum.computed.getVal());
List<TabHaobanPreDealLog> clerkList = preDealService.listByTaskId(taskId, PreDealTypeEnum.clerk.getVal(), PreDealStatusEnum.computed.getVal());
//清空staff
if (CollectionUtils.isNotEmpty(clerkList)) {
......
......@@ -57,5 +57,10 @@ public class DealSyncTest {
dealSyncOperationApiService.dealQywxDepartment("111", "ca66a01b79474c40b3e7c7f93daf1a3b");
}
@Test
public void test2() {
dealSyncOperationApiService.cleanDiffrence("ca66a01b79474c40b3e7c7f93daf1a3b", "c582c28a5a1d439b9b7f7e8be18b3ea0");
}
}
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