Commit 12e32a7e by 墨竹

fix:删除无效代码

parent 4ee05958
......@@ -21,7 +21,7 @@ public interface StaffClerkRelationService {
* @param clerkId
* @return
*/
boolean delBind(String clerkId, String optStaffId, int chanelCode);
boolean delBind(String clerkId, String optStaffId, int channelCode);
/**
* 删除绑定
......
......@@ -72,7 +72,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
}
@Override
public boolean delBind(String clerkId, String optStaffId, int chanelCode) {
public boolean delBind(String clerkId, String optStaffId, int channelCode) {
TabHaobanStaffClerkRelation clerkRelation = mapper.getByClerkId(clerkId);
if (null == clerkRelation) {
logger.info("已经不存在:{},{}", clerkId, optStaffId);
......@@ -85,10 +85,10 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
boolean b = i >= 0;
if (b) {
//推入日志
staffClerkBindLogService.pushToMq(clerkRelation.getStaffId(), optStaffId, BindTypeEnum.UNBIND.getVal(), chanelCode, clerkRelation.getStaffClerkRelationId());
staffClerkBindLogService.pushToMq(clerkRelation.getStaffId(), optStaffId, BindTypeEnum.UNBIND.getVal(), channelCode, clerkRelation.getStaffClerkRelationId());
//废弃活码
hmClerkRelationApiService.delByClerkId(clerkId, clerkRelation.getEnterpriseId(),clerkRelation.getWxEnterpriseId(),chanelCode);
hmClerkRelationApiService.delByClerkId(clerkId, clerkRelation.getEnterpriseId(),clerkRelation.getWxEnterpriseId(), channelCode);
}
return b;
}
......
......@@ -61,7 +61,7 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
@Override
public void insert(String param) {
List<WxEnterpriseDTO> wxEnterpriseDTOS = wxEnterpriseService.listAllWxEnterprise();
List<WxEnterpriseDTO> wxEnterpriseDTOS = wxEnterpriseService.listAllEnterprise();
String serviceCorpid = config.getCorpid();
for (WxEnterpriseDTO wxEnterpriseDTO : wxEnterpriseDTOS) {
String corpid = wxEnterpriseDTO.getCorpid();
......
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