示例#1
0
//回填
func getFillValue(fillKey string, r *common.DataRow, k string) interface{} {
	if len(fillKey) > 0 {
		key := cache.FormatKey(fillKey, r.GetKey(fillKey), k)
		//	log.Infoln("key is ", key)
		if tv, ok := cache.Get(key); ok {
			return tv
		}
	}
	return nil
}