Преглед изворни кода

[授权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


Loading…
Откажи
Сачувај