质量校验关联属性查询修改
This commit is contained in:
parent
9a3bd51e6c
commit
a8281a757b
Binary file not shown.
@ -9721,6 +9721,8 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
/***************************************************文件属性校验*************************************************/
|
||||
|
||||
for (PALRepositoryPropertyModel property : propertys) {
|
||||
flag1=true;
|
||||
flag2=true;
|
||||
String id = property.getPropertyId();
|
||||
if (!attributeModelMap.containsKey(id) || !attributeModelMap.get(id).getUse()) {
|
||||
continue;
|
||||
@ -9732,8 +9734,9 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
if ("relation".equals(attributeModel.getType()) || "awsorg".equals(attributeModel.getType())) {
|
||||
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(uuid, "", attributeModel.getKey());
|
||||
if (list == null || list.isEmpty()) {
|
||||
String sql = "SELECT ID FROM APP_ACT_COE_PAL_SHAPE_RLAT where FILEID=? and ATTRID=?";
|
||||
RowMap orgrowMap= DBSql.getMap(sql, new Object[]{uuid, property.getPropertyId()});
|
||||
if(orgrowMap==null){
|
||||
flag1 = false;
|
||||
}
|
||||
} else {
|
||||
@ -9741,7 +9744,6 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
if (!flag1) {// 校验不通过
|
||||
sb1.append("''" + attributeModel.getTitle() + "''").append(",");
|
||||
flag1 = false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -10636,7 +10638,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
public String getPalProcessLevelRepositoryChildData(String wsId, String teamId, String id, String createUsers, String orgIds, String methodIds) {
|
||||
public String getPalProcessLevelRepositoryChildData(String wsId, String teamId, String id, String createUsers, String orgIds, String methodIds) {
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
// 获取当前文件信息
|
||||
PALRepository coeProcessLevel = CoeProcessLevelDaoFacotory.createCoeProcessLevel();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user