|
@@ -716,6 +716,12 @@ func (rg *PreRegisterController) Detail(c *gin.Context) {
|
|
|
CreateTime: item.CreateTime.Format(utils.FormatDateTime),
|
|
|
}
|
|
|
|
|
|
+ if nItme.StartDate == "0001-01-01" {
|
|
|
+ nItme.StartDate = ""
|
|
|
+ }
|
|
|
+ if nItme.EndDate == "0001-01-01" {
|
|
|
+ nItme.EndDate = ""
|
|
|
+ }
|
|
|
cond := `contract_register_id = ? AND invoice_type = ? `
|
|
|
pars := make([]interface{}, 0)
|
|
|
pars = append(pars, req.ContractRegisterId, req.InvoiceType)
|