摘要: List作为查询条件 public List<tm_master_commodity> SelectCommodity(List<int> CommodityID) { var sql = @"select CommodityID, MemberID, BarCode,CommodityCode,C 阅读全文
posted @ 2021-06-09 11:48 东方李 阅读(276) 评论(0) 推荐(0) 编辑
摘要: var data = from b in body join m in member on b.MemberID equals m.MemberID into um from m in um.DefaultIfEmpty() join w in warehouse on b.WarehouseID 阅读全文
posted @ 2021-06-09 11:42 东方李 阅读(166) 评论(0) 推荐(0) 编辑
摘要: <script type="text/template" id="taskquery"> <div class="company" style="background-color: white;"> <el-container> <el-main v-bind:class="func_main" : 阅读全文
posted @ 2021-06-09 11:32 东方李 阅读(831) 评论(0) 推荐(0) 编辑
摘要: C#中?.、 ?、 ?? 、? : 的区别。 1. 可空类型修饰符(?) 引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空。 例如:int? 表示可空的整形,DateTime? 表示可为空的时间。 2. 三元(运算符)表达式(?:) 例如:x?y:z 表示如果表达式x为true,则 阅读全文
posted @ 2021-05-24 14:15 东方李 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// 信息脱敏帮助类 3 /// </summary> 4 public static class DesensitizationHelper 5 { 6 private static string replace(this string s, int len, 阅读全文
posted @ 2021-04-29 16:27 东方李 阅读(59) 评论(0) 推荐(0) 编辑
摘要: EXCLE多行递增(前面加字母):"S"&INT((ROW(A2)-2)/5)+202142801 阅读全文
posted @ 2021-04-28 19:46 东方李 阅读(456) 评论(0) 推荐(0) 编辑
摘要: C#-图片上传: controller: 1 public JsonResult ExpressDeliverySign(ExpressDeliverySign_LO_IP model) 2 { 3 HttpFileCollectionBase files = Request.Files; 4 if 阅读全文
posted @ 2021-04-28 17:57 东方李 阅读(561) 评论(0) 推荐(0) 编辑
摘要: C#查询:数据查询层 public List<PackageBox> GetPackageBoxList(int memberID) { using (var wmsconn = DapperConnection.GetConnection(DatabaseEnum.WMS_Main_Read.To 阅读全文
posted @ 2021-04-28 12:07 东方李 阅读(81) 评论(0) 推荐(0) 编辑
摘要: LINQ查询语法: into:可以使用 into 上下文关键字创建一个临时标识符,以便将 group、join 或 select 子句的结果存储到新的标识符中。 var data = new List<WarehousestorageSM>(); data = (from m in storageL 阅读全文
posted @ 2021-04-28 11:21 东方李 阅读(68) 评论(0) 推荐(0) 编辑
摘要: HTML页面: <div class=" row t1" style="text-align:center;"> <div class="form-group col-xs-2 col-md-offset-1"> <div class="panel panel-danger" style="back 阅读全文
posted @ 2021-03-30 16:35 东方李 阅读(123) 评论(0) 推荐(0) 编辑