Sfoglia il codice sorgente

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

release
Stormeye Wu 7 anni fa
parent
commit
64c2c3c3fa
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  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 Vedi File

@@ -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


Caricamento…
Annulla
Salva