From 5a149d626ae8bc3fa4bddbb53f8caf40f51f6da6 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 04 6月 2025 17:42:13 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo

---
 Weben_CMS专用代码生成器/Code/Templete/Controller模板.txt |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)

diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
index 7bfd47d..4e3f2f1 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
@@ -1,8 +1,8 @@
-using Ao.Lang;
 using CMS.Extensions.Abp.AspNetCore.Mvc.Filters;
 using CMS.Framework.AspNetCore.Users;
 using CMS.Plugin.$NameSpacePath$.Application.Contracts.Dtos.$EntityName$;
 using CMS.Plugin.$NameSpacePath$.Application.Contracts.Services;
+using CmsQueryExtensions.Entitys;
 using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
@@ -10,7 +10,6 @@
 using System.Reflection;
 using Volo.Abp;
 using Volo.Abp.Application.Dtos;
-using CmsQueryExtensions.Entitys;
 
 namespace CMS.Plugin.$NameSpacePath$.Controller
 {
@@ -60,6 +59,30 @@
         public virtual Task<PagedResultDto<$EntityName$Dto>> GetListAsync([FromQuery] Get$EntityName$Input input)
         {
             return _$EntityInstanceName$AppService.GetListAsync(input);
+        }
+
+        /// <summary> 
+        /// 根据条件获取$ChinaComment$
+        /// </summary> 
+        /// <param name="input">查询参数</param> 
+        /// <returns></returns> 
+        [HttpPost]
+        [Route("FindListByFilter")]
+        public virtual async Task<List<$EntityName$Dto>> FindListByFilterAsync([FromBody]Get$EntityName$Input input)
+        {
+            return await _$EntityInstanceName$AppService.FindListByFilterAsync(input);
+        }
+        /// <summary> 
+        /// 根据条件获取单个$ChinaComment$
+        /// </summary> 
+        /// <param name="input">查询参数</param> 
+        /// <returns></returns> 
+        [HttpPost]
+        [Route("FindSingleByFilter")]
+        public virtual async Task<$EntityName$Dto> FindSingleByFilterAsync([FromBody]Get$EntityName$Input input)
+        {
+
+            return await _$EntityInstanceName$AppService.FindSingleByFilterAsync(input);
         }
 
         /// <summary>
@@ -124,7 +147,7 @@
                 UserId = _currentUser.UserId
             };
             //return _wmsMaterialAppService.DeleteAsync(id,myCurrentUser);//逻辑删除
-            return _wmsMaterialAppService.DeletePermanentlyAsync(id, myCurrentUser);//物理删除
+            return _$EntityInstanceName$AppService.DeletePermanentlyAsync(id, myCurrentUser);//物理删除
         }
 
         /// <summary>
@@ -142,7 +165,7 @@
                 UserId = _currentUser.UserId
             };
             // return _wmsMaterialAppService.DeleteManyAsync(ids,myCurrentUser);//逻辑删除
-            return _wmsMaterialAppService.BatchDeletePermanentlyAsync(ids, myCurrentUser);//物理删除
+            return _$EntityInstanceName$AppService.BatchDeletePermanentlyAsync(ids, myCurrentUser);//物理删除
         }
 
         /// <summary>

--
Gitblit v1.9.3