将缺失的权限类型字段补进去
This commit is contained in:
parent
4f0bdc1323
commit
a7efce5691
@ -267,6 +267,7 @@ public class UpateFileStateController {
|
|||||||
BO scopeBo = new BO();
|
BO scopeBo = new BO();
|
||||||
scopeBo.set("PALVERSIONID" , plVersionid);
|
scopeBo.set("PALVERSIONID" , plVersionid);
|
||||||
scopeBo.set("PALNAME" , parentModel.getName());
|
scopeBo.set("PALNAME" , parentModel.getName());
|
||||||
|
scopeBo.set("PERMTYPE" , "0");
|
||||||
String sql = "select * from APP_ACT_COE_PAL_REPOSITORY where ID = '"+palId+"'";
|
String sql = "select * from APP_ACT_COE_PAL_REPOSITORY where ID = '"+palId+"'";
|
||||||
RowMap map = DBSql.getMap(sql);
|
RowMap map = DBSql.getMap(sql);
|
||||||
if (map!=null){
|
if (map!=null){
|
||||||
@ -312,7 +313,7 @@ public class UpateFileStateController {
|
|||||||
JSONObject Issuing_department = queryRepositoryAttributeById.get("Issuing_department");
|
JSONObject Issuing_department = queryRepositoryAttributeById.get("Issuing_department");
|
||||||
if (null != Issuing_department && !Issuing_department.equals("")) {
|
if (null != Issuing_department && !Issuing_department.equals("")) {
|
||||||
JSONArray PUBDEPTJA = Issuing_department.getJSONArray("value");
|
JSONArray PUBDEPTJA = Issuing_department.getJSONArray("value");
|
||||||
SDK.getLogAPI().consoleInfo(Issuing_department.toString());
|
//SDK.getLogAPI().consoleInfo(Issuing_department.toString());
|
||||||
if (null != PUBDEPTJA && !PUBDEPTJA.isEmpty()) {
|
if (null != PUBDEPTJA && !PUBDEPTJA.isEmpty()) {
|
||||||
for (Object PUBDEPTO : PUBDEPTJA) {
|
for (Object PUBDEPTO : PUBDEPTJA) {
|
||||||
JSONObject PUBDEPTJO = JSONObject.parseObject(String.valueOf(PUBDEPTO));
|
JSONObject PUBDEPTJO = JSONObject.parseObject(String.valueOf(PUBDEPTO));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user