Closed this issue 4 years ago · 1 comments
Every time add a department ,the Id of the department default is 0, department.Model.Insert(entity) save fail
table id need primary key and AUTO_INCREMENT