支持ams分阵地数据库查询(初版)
parent
e7da605061
commit
1ec8a0e08e
|
@ -51,7 +51,7 @@ public class AutoRelationRuleItemRepository extends BasicGenericDao<AutoRelation
|
|||
sql = "select b.name source_field_name,b.code source_field_code,b.type source_field_type, c.name target_field_name, c.code target_field_code,c.type target_field_type, a.* from " + positionKey + "." +
|
||||
"ci_auto_relation_rule_item a LEFT JOIN " + positionKey + "." +
|
||||
"ci_property b ON a.source_field = b.id LEFT JOIN " + positionKey + "." +
|
||||
"ci_property c ON a.target_field = c.id " + positionKey + "." +
|
||||
"ci_property c ON a.target_field = c.id " +
|
||||
"where a.is_deleted=0 and a.relation_rule_id = :ruleId ";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue