diff --git a/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go b/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go index 227e21b0..8cee1694 100644 --- a/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go +++ b/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go @@ -75,8 +75,8 @@ func CreateJyt2012(model models.TDataexJyt2012) (bool, string, error) { business.JytFlag = model.JytFlag business.ParentId = html.EscapeString(model.ParentId) business.CreateTime = time.Now() - business.DeleteFlag = -1 - business.EnableFlag = 1 + business.DeleteFlag = model.DeleteFlag + business.EnableFlag = model.EnableFlag result, message, error := Jyt2012DAO.CreateJyt2012(business)