소스 검색

[授权app][修改]:只更新对应的字段

release
Stormeye Wu 7 년 전
부모
커밋
64c2c3c3fa
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -5
      mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java

+ 5
- 5
mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java 파일 보기

@@ -143,7 +143,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService {
info.setBaseStatus(record.getBaseStatus());
info.setBaseTime(curDate);
info.setUpdateTime(curDate);
return authorizerInfoMapper.updateByPrimaryKeySelective(record);
return authorizerInfoMapper.updateByPrimaryKeySelective(info);
}

@Override
@@ -154,7 +154,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService {
info.setDomainStatus(record.getDomainStatus());
info.setDomainTime(curDate);
info.setUpdateTime(curDate);
return authorizerInfoMapper.updateByPrimaryKeySelective(record);
return authorizerInfoMapper.updateByPrimaryKeySelective(info);
}

@Override
@@ -165,7 +165,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService {
info.setWebdomainStatus(record.getWebdomainStatus());
info.setWebdomainTime(curDate);
info.setUpdateTime(curDate);
return authorizerInfoMapper.updateByPrimaryKeySelective(record);
return authorizerInfoMapper.updateByPrimaryKeySelective(info);
}

@Override
@@ -176,7 +176,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService {
info.setTemplateStatus(record.getTemplateStatus());
info.setTemplateTime(curDate);
info.setUpdateTime(curDate);
return authorizerInfoMapper.updateByPrimaryKeySelective(record);
return authorizerInfoMapper.updateByPrimaryKeySelective(info);
}

@Override
@@ -186,7 +186,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService {
info.setId(record.getId());
info.setOpenAppid(record.getOpenAppid());
info.setBindOpenTime(curDate);
return authorizerInfoMapper.updateByPrimaryKeySelective(record);
return authorizerInfoMapper.updateByPrimaryKeySelective(info);
}

@Override


불러오는 중...
취소
저장