上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页
摘要: var grpBalance = listBalance.GroupBy(m => new { m.MerChantId, m.Name}).Distinct().Select(t => new balInfo { MerChantId = t.Key.MerChantId, Name = t.Ke 阅读全文
posted @ 2019-12-11 09:49 低调码农哥! 阅读(17221) 评论(0) 推荐(0) 编辑
摘要: 下载链接:https://pan.baidu.com/s/1uPbBknyIebQRDt4k_RA58Q 提取码:14zi 将下载文件进行解压,我解压位置为:D:\Program Files\mysql-5.7.28-winx64 在D:\Program Files\mysql-5.7.28-win 阅读全文
posted @ 2019-11-22 14:57 低调码农哥! 阅读(9294) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 邮件发送 /// </summary> /// <param name="subject">邮件标题</param> /// <param name="body">邮件内容,html格式</param> /// <param name="toMailList">收 阅读全文
posted @ 2019-11-05 10:23 低调码农哥! 阅读(1478) 评论(0) 推荐(1) 编辑
摘要: .netcore 2.1使用左表连接时报错,原因是对数据库中实体 DateTimeOffset date做查询判断时,将数据库中date转为string进行了判断,这样判断是错误的,并且效率低,应该是不改变数据库中字段类型,将查询条件字段更改为数据库字段类型 错误的写法: 正确的写法: 阅读全文
posted @ 2019-10-28 16:51 低调码农哥! 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: 使用.netcore2.1 做文件上传时,要求是小于20M,上传3至5M都没问题,大于10M,提示错误【如标题】,原来是nginx配置的原因 解决方法: 打开nginx反向代理服务器nginx.conf配置文件,修改client_max_body_size值,client_max_body_size 阅读全文
posted @ 2019-10-28 10:59 低调码农哥! 阅读(1841) 评论(0) 推荐(0) 编辑
摘要: var begin_daily = from a in _postgreDbContext.tab1 join b in _postgreDbContext.tab2 on a.id equals b.merchant_id into a_left from left_a in a_left.Def 阅读全文
posted @ 2019-10-24 15:15 低调码农哥! 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 在C#的数字运算过程中,有时候针对十进制decimal类型的计算需要保留2位有效小数,针对decimal变量保留2位有效小数有多种方法,可以使用Math.Round方法以及ToString先转换为字符串等操作来实现。 (1)方法一:使用C#中的数字计算类Math类中的方法Math.Round方法。 阅读全文
posted @ 2019-10-23 11:10 低调码农哥! 阅读(10956) 评论(0) 推荐(0) 编辑
摘要: 使用let赋值给临时变量 阅读全文
posted @ 2019-10-21 17:23 低调码农哥! 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 添加NotMapped 特性 阅读全文
posted @ 2019-10-21 17:18 低调码农哥! 阅读(1552) 评论(0) 推荐(0) 编辑
摘要: 账号提钱、存钱实例方法 测试方法 阅读全文
posted @ 2019-10-19 14:43 低调码农哥! 阅读(452) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页