| | |
| | | |
| | | public List<Doc_Classification> GetDocClassificationList() |
| | | { |
| | | var ret = _db.Queryable<Doc_Classification>().Where(x => x.parent_code =="003" && x.status == 1).ToList(); |
| | | var ret = _db.Queryable<Doc_Classification>().Where(x => x.parent_code =="003" && x.status == 1 && x.is_system == true).ToList(); |
| | | return ret; |
| | | } |
| | | |
| | | public bool SaveDocumentTBXYFileInfoNotRep(Document_TBXYFile dp) |
| | | { |
| | | |
| | | if (dp.Id > 0) |
| | | { |
| | | _db.Updateable<Document_TBXYFile>(dp).ExecuteCommand(); |
| | | } |
| | | else |
| | | { |
| | | _db.Insertable<Document_TBXYFile>(dp).ExecuteCommand(); |
| | | } |
| | | |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | } |