| | |
| | | |
| | | await $EntityInstanceName$Repository.InsertAsync(insertObj); |
| | | |
| | | if (input.Sort.HasValue && insertObj.Sort != maxSort) |
| | | { |
| | | await AdjustSortAsync(insertObj.Id, insertObj.Sort); |
| | | } |
| | | //if (input.Sort.HasValue && insertObj.Sort != maxSort) |
| | | //{ |
| | | // await AdjustSortAsync(insertObj.Id, insertObj.Sort); |
| | | //} |
| | | |
| | | return ObjectMapper.Map<$EntityName$, $EntityName$Dto>(insertObj); |
| | | } |
| | |
| | | ["閰嶇疆"] = ExportHelper.ConvertListToExportData(result), |
| | | }; |
| | | |
| | | var fileName = result.Count > 1 ? "$ChinaComment$鍒楄〃" : result.Count == 1 ? result[0]?.$ValidateRepeatName$ : "$EntityName$妯$増"; |
| | | var fileName = "$PageMenuName$"; |
| | | return (sheets, fileName); |
| | | } |
| | | |