作者 yangfu

导出修改

@@ -97,7 +97,7 @@ func (data ExportCooperationUserData) CellValue(index int, enName string) (value @@ -97,7 +97,7 @@ func (data ExportCooperationUserData) CellValue(index int, enName string) (value
97 case "CooperationCompany": 97 case "CooperationCompany":
98 return data[index].CooperationInfo.CooperationCompany 98 return data[index].CooperationInfo.CooperationCompany
99 case "CooperationDeadline": 99 case "CooperationDeadline":
100 - if data[index].CooperationInfo.CooperationDeadline.IsZero() { 100 + if data[index].CooperationInfo.CooperationDeadline.IsZero() || data[index].CooperationInfo.CooperationDeadline.Unix() == 0 {
101 return "" 101 return ""
102 } 102 }
103 return data[index].CooperationInfo.CooperationDeadline.Format("2006-01-02") 103 return data[index].CooperationInfo.CooperationDeadline.Format("2006-01-02")