diff --git a/src/main/java/neatlogic/module/cmdb/dao/mapper/resourcecenter/ResourceMapper.xml b/src/main/java/neatlogic/module/cmdb/dao/mapper/resourcecenter/ResourceMapper.xml index 133bd2fffe346dbab55e7f2ba9e0f3fae64ac200..e97e65c88238f76a8b4a60cac2defe08444aaf4b 100644 --- a/src/main/java/neatlogic/module/cmdb/dao/mapper/resourcecenter/ResourceMapper.xml +++ b/src/main/java/neatlogic/module/cmdb/dao/mapper/resourcecenter/ResourceMapper.xml @@ -1083,7 +1083,7 @@ limitations under the License. a.`value` AS NAME, a.`sort` AS envSeqNo FROM `cmdb_global_attritem` a - JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'env' + JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'app_environment' WHERE a.`id` = #{value} @@ -1093,7 +1093,7 @@ limitations under the License. a.`value` AS NAME, a.`sort` AS envSeqNo FROM `cmdb_global_attritem` a - JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'env' + JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'app_environment' where a.`id` in #{value} @@ -1186,7 +1186,7 @@ limitations under the License. a.`value` AS NAME, a.`sort` AS envSeqNo FROM `cmdb_global_attritem` a - JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'env' + JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'app_environment' where a.`value` = #{value} @@ -1197,14 +1197,14 @@ limitations under the License. a.`value` AS envName, a.`sort` AS envSeqNo FROM `cmdb_global_attritem` a - JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'env' + JOIN `cmdb_global_attr` b ON b.`id` = a.`attr_id` AND b.`name` = 'app_environment'