|
@@ -171,7 +171,7 @@ public class AppmanageServiceImpl implements AppmanageService {
|
|
|
if (!appInfo.getAppEnvInfoDTO().isEmpty()){
|
|
|
System.out.println("环境信息不为空");
|
|
|
for (AppEnvInfo appEnvInfo : appInfo.getAppEnvInfoDTO()){
|
|
|
- appEnvInfo.setAppId(appid);
|
|
|
+ appEnvInfo.setAppid(appid);
|
|
|
envInfoMapper.insert(appEnvInfo);
|
|
|
}
|
|
|
}
|
|
@@ -252,7 +252,7 @@ public class AppmanageServiceImpl implements AppmanageService {
|
|
|
for (AppEnvInfo appEnvInfo : envInfo) {
|
|
|
// 如果没有id信息,则为新增的数据
|
|
|
if (appEnvInfo.getId()==null){
|
|
|
- appEnvInfo.setAppId(appid);
|
|
|
+ appEnvInfo.setAppid(appid);
|
|
|
envInfoMapper.insert(appEnvInfo);
|
|
|
}else { // 有id信息则为在原有数据基础上需修改的数据
|
|
|
envInfoMapper.updateById(appEnvInfo);
|
|
@@ -392,7 +392,7 @@ public class AppmanageServiceImpl implements AppmanageService {
|
|
|
@Override
|
|
|
public List<AppEnvInfo> queryEnvInfoByAppId(String appid) {
|
|
|
List<AppEnvInfo> envInfos = envInfoMapper.
|
|
|
- selectList(new QueryWrapper<AppEnvInfo>().eq("app_id", appid));
|
|
|
+ selectList(new QueryWrapper<AppEnvInfo>().eq("appid", appid));
|
|
|
return envInfos;
|
|
|
}
|
|
|
|