map未进行判空处理
This commit is contained in:
parent
d9c9af0cd1
commit
33d3b62e22
@ -61,6 +61,7 @@ public class UPdateRemoveFileJob implements IJob {
|
||||
String sql_s = "select * from APP_ACT_COE_PAL_REPOSITORY where id = '" + publishfileid_stop
|
||||
+ "'";
|
||||
RowMap map1 = DBSql.getMap(open, sql_s);
|
||||
if (null != map1) {
|
||||
if (StringUtils.isNotEmpty(map1.getString("EXT4"))) {
|
||||
SSOUtil ssoUtil = new SSOUtil();
|
||||
String sessionId = ssoUtil.registerClientSessionNoPassword(bo.getCreateUser(), "cn", SDK.getPortalAPI().getPortalUrl(), "pc");
|
||||
@ -71,6 +72,7 @@ public class UPdateRemoveFileJob implements IJob {
|
||||
deleteIndex("com.awspaas.user.apps.app20221008163300", map1.getString("EXT4"));
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("开始执行定时任务>>>>>>>>>历史废止发布数据>>>>>>>>>>>>结束执行>>>>>>"+sdf.format(new Date()));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user