移动系统liao
2024-05-29 71e821ab5e6b3014fac9b691d6957bcc09704b70
CoreCms.Net.Web.Admin/Controllers/baifenbingfa/CoreCmsProductsController.cs
@@ -245,6 +245,17 @@
            {
                where = where.And(p => p.distributionCutMoney == distributionCutMoney);
            }
            //是否删除 bit
            var isCustomizable = Request.Form["isCustomizable"].FirstOrDefault();
            if (!string.IsNullOrEmpty(isCustomizable) && isCustomizable.ToLowerInvariant() == "true")
            {
                where = where.And(p => p.isCustomizable == true);
            }
            else if (!string.IsNullOrEmpty(isCustomizable) && isCustomizable.ToLowerInvariant() == "false")
            {
                where = where.And(p => p.isCustomizable == false);
            }
            //获取数据
            var list = await _CoreCmsProductsServices.QueryDetailPageAsync(where, orderEx, orderBy, pageCurrent, pageSize, true);
            //返回数据
@@ -344,6 +355,8 @@
        [Description("编辑提交")]
        public async Task<AdminUiCallBack> DoEdit([FromBody]CoreCmsProducts entity)
        {
            var jm = await _CoreCmsProductsServices.UpdateAsync(entity);
            return jm;
        }