master
huanghai 5 years ago
parent d552fc7bd6
commit 00fc43b677

@ -202,6 +202,15 @@ func SaveAppIdentity(identityId int, appId string) error {
return nil
}
/**
APP
*/
func GetAppIdentity(appId string) ([]map[string]interface{}, error) {
sql := `select * from t_app_identity where app_id=?`
list, err := db.SQL(sql, appId).Query().List()
return list, err
}
/**
*/
@ -220,6 +229,15 @@ func SaveAppPosition(appId string, positionId string) error {
return nil
}
/**
APP
*/
func GetAppPosition(appId string) ([]map[string]interface{}, error) {
sql := `select * from t_app_position where app_id=?`
list, err := db.SQL(sql, appId).Query().List()
return list, err
}
/**
*/
@ -247,6 +265,15 @@ func SaveAppStage(appId string, positionIds []string) error {
return nil
}
/**
APP
*/
func GetAppStage(appId string) ([]map[string]interface{}, error) {
sql := `select * from t_app_stage where app_id=?`
list, err := db.SQL(sql, appId).Query().List()
return list, err
}
/**
*/

Loading…
Cancel
Save