diff --git a/CoreCms.Net.IRepository/Good/ICoreCmsGoodsRepository.cs b/CoreCms.Net.IRepository/Good/ICoreCmsGoodsRepository.cs index d9761bc6..f5982ed3 100644 --- a/CoreCms.Net.IRepository/Good/ICoreCmsGoodsRepository.cs +++ b/CoreCms.Net.IRepository/Good/ICoreCmsGoodsRepository.cs @@ -79,7 +79,7 @@ namespace CoreCms.Net.IRepository /// 条件表达式树 /// 是否使用WITH(NOLOCK) /// - new Task GetCountAsync(Expression> predicate, bool blUseNoLock = false); + Task GetCountAsync(Expression> predicate, bool blUseNoLock = false); /// diff --git a/CoreCms.Net.IServices/Good/ICoreCmsGoodsServices.cs b/CoreCms.Net.IServices/Good/ICoreCmsGoodsServices.cs index 7af66433..8fb5452b 100644 --- a/CoreCms.Net.IServices/Good/ICoreCmsGoodsServices.cs +++ b/CoreCms.Net.IServices/Good/ICoreCmsGoodsServices.cs @@ -145,7 +145,7 @@ namespace CoreCms.Net.IServices /// 条件表达式树 /// 是否使用WITH(NOLOCK) /// - new Task GetCountAsync(Expression> predicate, bool blUseNoLock = false); + Task GetCountAsync(Expression> predicate, bool blUseNoLock = false); /// diff --git a/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs b/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs index 6db4a66c..01e5394b 100644 --- a/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs +++ b/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs @@ -1019,7 +1019,7 @@ namespace CoreCms.Net.Repository /// 条件表达式树 /// 是否使用WITH(NOLOCK) /// - public new async Task GetCountAsync(Expression> predicate, bool blUseNoLock = false) + public async Task GetCountAsync(Expression> predicate, bool blUseNoLock = false) { var count = 0; if (blUseNoLock) diff --git a/CoreCms.Net.Services/Good/CoreCmsGoodsServices.cs b/CoreCms.Net.Services/Good/CoreCmsGoodsServices.cs index 68bef88b..51c655dd 100644 --- a/CoreCms.Net.Services/Good/CoreCmsGoodsServices.cs +++ b/CoreCms.Net.Services/Good/CoreCmsGoodsServices.cs @@ -922,7 +922,7 @@ namespace CoreCms.Net.Services /// 条件表达式树 /// 是否使用WITH(NOLOCK) /// - public new async Task GetCountAsync(Expression> predicate, bool blUseNoLock = false) + public async Task GetCountAsync(Expression> predicate, bool blUseNoLock = false) { return await _dal.GetCountAsync(predicate, blUseNoLock); } diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-modal-img/coreshop-modal-img.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-modal-img/coreshop-modal-img.vue index cbb13ad0..da2cf2d7 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-modal-img/coreshop-modal-img.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-modal-img/coreshop-modal-img.vue @@ -1,8 +1,10 @@ diff --git a/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsCategoryController.cs b/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsCategoryController.cs index 0e4941b7..67a80507 100644 --- a/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsCategoryController.cs +++ b/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsCategoryController.cs @@ -216,7 +216,7 @@ namespace CoreCms.Net.Web.Admin.Controllers oldModel.createTime = entity.createTime; //事物处理过程结束 - var result = await _coreCmsGoodsCategoryServices.UpdateAsync(entity); + var result = await _coreCmsGoodsCategoryServices.UpdateAsync(oldModel); var bl = result.code == 0; jm.code = bl ? 0 : 1; jm.msg = bl ? GlobalConstVars.EditSuccess : GlobalConstVars.EditFailure; diff --git a/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsController.cs b/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsController.cs index ea7cecd7..c2ed4c35 100644 --- a/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsController.cs +++ b/CoreCms.Net.Web.Admin/Controllers/Good/CoreCmsGoodsController.cs @@ -583,7 +583,7 @@ namespace CoreCms.Net.Web.Admin.Controllers //获取参数列表 var paramsList = await _goodsParamsServices.QueryListByClauseAsync(p => p.id > 0, p => p.id, OrderByType.Desc, true, true); //获取SKU列表 - var skuList = await _goodsTypeSpecServices.QueryListByClauseAsync(p => p.id > 0, p => p.id, OrderByType.Desc, true); + var skuList = await _goodsTypeSpecServices.QueryListByClauseAsync(p => p.id > 0, p => p.id, OrderByType.Desc, true, true); //获取品牌 var brands = await _brandServices.QueryListByClauseAsync(p => p.id > 0 && p.isShow == true, p => p.id, OrderByType.Desc, true, true); diff --git a/CoreCms.Net.Web.Admin/Doc.xml b/CoreCms.Net.Web.Admin/Doc.xml index 21fc5388..505ceb8f 100644 --- a/CoreCms.Net.Web.Admin/Doc.xml +++ b/CoreCms.Net.Web.Admin/Doc.xml @@ -393,6 +393,97 @@ + + + 打印机列表 + + + + + 构造函数 + + + + + 获取列表 + + + + + + 首页数据 + + + + + + 创建数据 + + + + + + 创建提交 + + + + + + + 编辑数据 + + + + + + + 编辑提交 + + + + + + + 单选删除 + + + + + + + 刷新Token + + + + + + + 打印测试页 + + + + + + + 预览数据 + + + + + + + 设置是否默认 + + + + + + + 设置是否开启 + + + + 文章表 diff --git a/CoreCms.Net.Web.Admin/NLog.config b/CoreCms.Net.Web.Admin/NLog.config index 1a2906c7..42eb752b 100644 --- a/CoreCms.Net.Web.Admin/NLog.config +++ b/CoreCms.Net.Web.Admin/NLog.config @@ -14,7 +14,7 @@ dbProvider="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient" connectionString="Server=127.0.0.1;Database=BaseMIS;User ID=sa;Password=123456" --> - + INSERT INTO SysNLogRecords (LogDate,LogLevel,LogType,LogTitle,Logger,Message,MachineName,MachineIp,NetRequestMethod diff --git a/CoreCms.Net.Web.Admin/wwwroot/upload/20220922/20220922215851_0484.jpg b/CoreCms.Net.Web.Admin/wwwroot/upload/20220922/20220922215851_0484.jpg new file mode 100644 index 00000000..f9c295a2 Binary files /dev/null and b/CoreCms.Net.Web.Admin/wwwroot/upload/20220922/20220922215851_0484.jpg differ diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/shop/message/wechatappletsmessage/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/shop/message/wechatappletsmessage/index.html index b7aea740..d34bfbdb 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/shop/message/wechatappletsmessage/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/shop/message/wechatappletsmessage/index.html @@ -47,37 +47,61 @@ 模板ID:
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.order){ }} + {{# } else { }} + + {{# } }}
@@ -85,31 +109,51 @@
+ {{# if(d.data.cancel){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.cancel){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.cancel){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.cancel){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.cancel){ }} + {{# } else { }} + + {{# } }}
@@ -117,25 +161,41 @@
+ {{# if(d.data.pay){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.pay){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.pay){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.pay){ }} + {{# } else { }} + + {{# } }}
@@ -143,25 +203,41 @@
+ {{# if(d.data.ship){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.ship){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.ship){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.ship){ }} + {{# } else { }} + + {{# } }}
@@ -169,31 +245,51 @@
+ {{# if(d.data.aftersale){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.aftersale){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.aftersale){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.aftersale){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.aftersale){ }} + {{# } else { }} + + {{# } }}
@@ -201,37 +297,61 @@
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}
+ {{# if(d.data.refund){ }} + {{# } else { }} + + {{# } }}