You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rawSQL:=fmt.Sprintf("select id, name, description, creator, DATE_FORMAT(create_at,'%s') as create_at,"+
1265
+
rawSQL=fmt.Sprintf("select id, name, description, creator, DATE_FORMAT(create_at,'%s') as create_at,"+
1265
1266
"DATE_FORMAT(update_at,'%s') as update_at from host_group where id in (select host_group_id from host_group_host where host_id='%s')",
1266
1267
dbDateFormat, dbDateFormat, hostID)
1268
+
ifproductID!=0 {
1269
+
rawSQL=fmt.Sprintf("select id, name, description, creator, DATE_FORMAT(create_at,'%s') as create_at,"+
1270
+
"DATE_FORMAT(update_at,'%s') as update_at from host_group where product_id = %d and id in (select host_group_id from host_group_host where host_id='%s')",
0 commit comments