正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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") |
-
请 注册 或 登录 后发表评论