| | |
| | | } |
| | | |
| | | //插入拓展 |
| | | public long InsertsEx(Entity.AssetsPumpPartMain part, List<Entity.AssetsPumpPropContent> AssetsPumpPropContents, Entity.AssetsPumpMainAndPartMap partmap) |
| | | public long InsertsEx(Entity.AssetsPumpPartMain part, List<Entity.AssetsPumpPropContent> AssetsPumpPropContents, Entity.AssetsPumpMainAndPartMapping partmap) |
| | | { |
| | | if (part == null) |
| | | { |
| | |
| | | { |
| | | if (partmap != null) |
| | | { |
| | | partmap.PumpPartID = result; |
| | | partmap.PartID = result; |
| | | var mainandpartmap = db.Insertable(partmap).ExecuteReturnSnowflakeId(); |
| | | if (mainandpartmap < 0) |
| | | { |