|
@@ -287,7 +287,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
|
|
}
|
|
}
|
|
func getConfiguration(conditionName, conditionType string, entId int64) []map[string]interface{} {
|
|
func getConfiguration(conditionName, conditionType string, entId int64) []map[string]interface{} {
|
|
data := IC.BiMysql.SelectBySql(`SELECT
|
|
data := IC.BiMysql.SelectBySql(`SELECT
|
|
- DISTINCT b.name,b.element_value
|
|
|
|
|
|
+ DISTINCT b.name,b.element_value as code
|
|
FROM
|
|
FROM
|
|
customer_data_yys_permissions a INNER JOIN customer_data_yys_permission_elements b
|
|
customer_data_yys_permissions a INNER JOIN customer_data_yys_permission_elements b
|
|
on
|
|
on
|
|
@@ -302,7 +302,7 @@ func getConfiguration(conditionName, conditionType string, entId int64) []map[st
|
|
}
|
|
}
|
|
if len(*data) == 0 {
|
|
if len(*data) == 0 {
|
|
data = IC.BiMysql.SelectBySql(`SELECT
|
|
data = IC.BiMysql.SelectBySql(`SELECT
|
|
- DISTINCT name,element_value
|
|
|
|
|
|
+ DISTINCT name,element_value as code
|
|
FROM
|
|
FROM
|
|
customer_data_yys_permission_elements where
|
|
customer_data_yys_permission_elements where
|
|
ent_id = ?
|
|
ent_id = ?
|