Commit e0806293 by qwmqiuwenmin

fix

parent c8783675
...@@ -554,14 +554,18 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ ...@@ -554,14 +554,18 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
List<PreDealLogInfoDTO> result = page.getResult(); List<PreDealLogInfoDTO> result = page.getResult();
for (PreDealLogInfoDTO dto : result) { for (PreDealLogInfoDTO dto : result) {
dto.setDataCode(dto.getDataId()); dto.setDataCode(dto.getDataId());
if(dto.getDataType() == PreDealTypeEnum.friend.getVal()){ TabHaobanStaff staff = staffService.selectByUserIdAndEnterpriseId(dto.getpDataId(), wxEnterpriseId);
dto.setDataName("第三方应用处理"); if(staff != null){
}else if(dto.getDataType() == PreDealTypeEnum.friend_clerk.getVal()){ dto.setDataName(staff.getStaffName());
dto.setDataName("导购处理"); }
}else if(dto.getDataType() == PreDealTypeEnum.friend_merge.getVal()){ // if(dto.getDataType() == PreDealTypeEnum.friend.getVal()){
dto.setDataName("合并处理"); // dto.setDataName("第三方应用处理");
}else if(dto.getDataType() == PreDealTypeEnum.self_friend.getVal()){ // }else if(dto.getDataType() == PreDealTypeEnum.friend_clerk.getVal()){
dto.setDataName("自建应用处理"); // dto.setDataName("导购处理");
// }else if(dto.getDataType() == PreDealTypeEnum.friend_merge.getVal()){
// dto.setDataName("合并处理");
// }else if(dto.getDataType() == PreDealTypeEnum.self_friend.getVal()){
// dto.setDataName("自建应用处理");
} }
//dto.setReason(reason); //dto.setReason(reason);
} }
......
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