|
@@ -2056,7 +2056,7 @@ func (tn *Table) assemblePackage(k1, v1, key string) {
|
|
|
k2, w1, v2, _, bf := CommonDataAnaly(k1, "中标情况", "", v1)
|
|
|
if bf {
|
|
|
for pos, k3 := range k2 {
|
|
|
- if bp.TableKV.Kv != nil && (bp.TableKV.Kv[k3] == "" || w1[pos] > bp.TableKV.KvTag[k3].Weight) {
|
|
|
+ if bp.TableKV.Kv != nil && bp.TableKV.KvTag[k3] != nil && (bp.TableKV.Kv[k3] == "" || w1[pos] > bp.TableKV.KvTag[k3].Weight) {
|
|
|
bp.TableKV.Kv[k3] = v2
|
|
|
bp.TableKV.KvTag[k3] = &u.Tag{Value: v2, Weight: w1[pos]}
|
|
|
}
|