|
@@ -504,7 +504,7 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
- newRectifiedTime, _ := time.Parse("2006-01-02 15:04:05", rectifiedTime)
|
|
|
+ newRectifiedTime, _ := time.Parse(conf.SysTimeform, rectifiedTime)
|
|
|
// 将整改单的状态->完成,并且填入整改日期
|
|
|
rectification := &models.CmRectification{
|
|
|
BidsectionId: safe.BidsectionId,
|
|
@@ -648,7 +648,7 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
|
|
|
|
|
|
// 将整改单的状态->完成,并且填入整改日期
|
|
|
|
|
|
- newRectifiedTime, err := time.Parse("2006-01-02 15:04:05", rectifiedTime)
|
|
|
+ newRectifiedTime, err := time.Parse(conf.SysTimeform, rectifiedTime)
|
|
|
if err != nil {
|
|
|
session.Rollback()
|
|
|
return err
|