摘要: --1、临时表(DECLARE @details Table()) DECLARE @details Table(DTaskDetailsId [uniqueidentifier] NOT NULL,--任务id DAdvertCompanyFloorId [uniqueidentifier] NO 阅读全文
posted @ 2021-01-25 15:14 lanofsky 阅读(238) 评论(0) 推荐(0)
摘要: 1、上传Excel文件服务端 /// <summary> /// 任务详情导入模板数据 /// </summary> /// <param name="advertId">广告公司id</param> /// <param name="tempId">excel模板id</param> /// <r 阅读全文
posted @ 2020-12-03 18:06 lanofsky 阅读(227) 评论(0) 推荐(0)
摘要: @{ ViewBag.Title = "坐标选择"; Layout = "~/Views/Shared/_Layout.cshtml";}<div ng-controller="FeiYeCtrl" ng-init="Init()" ng-cloak> <div class="col-md-12 c 阅读全文
posted @ 2020-11-30 11:56 lanofsky 阅读(714) 评论(0) 推荐(0)
摘要: cs文件用csc.exe编译成exe。 写点小工具方便,比如生成Guid。 1、准备cs脚本文件,CmdMain.cs,需要有入口函数静态static void Main(string[] args)。 using System;class Program{ static void Main(str 阅读全文
posted @ 2020-11-30 11:49 lanofsky 阅读(417) 评论(0) 推荐(0)
摘要: 3、Task.Factory.StartNew 将来的任务执行有可能劫持现有任务并杀死其进程.。 a、推荐方法 引入System.Collections.Concurrent 命名空间–线程安全数据结构 把非线程安全的数据结构替换成下面的数据结构即可 BlockingCollection<T> 为实 阅读全文
posted @ 2020-11-27 16:18 lanofsky 阅读(1821) 评论(0) 推荐(1)
摘要: 1、html 引入,包地址https://files.cnblogs.com/files/lanofsky/ySelect.zip <link href="~/Scripts/ySelect/css/ySelect.css" rel="stylesheet" /> <script src="~/Sc 阅读全文
posted @ 2020-11-25 12:40 lanofsky 阅读(1220) 评论(0) 推荐(0)
摘要: using ElevatorAdvertising.Common;using ElevatorAdvertising.Model;using ElevatorAdvertising.Model.Entites;using System;using System.Collections.Generic 阅读全文
posted @ 2020-11-25 09:30 lanofsky 阅读(529) 评论(0) 推荐(0)
摘要: 1、h5的audio.onTimeUpdate是多个都会执行,微信小程序会覆盖,只执行最新一个。 方法1:给audio对象添加一个属性,进度更新监听要执行的方法数组audio.onTimeUpdateList。然后在需要启动监听的地方执行监听,比如在播放事件onPlay中。再加个属性onTimeUp 阅读全文
posted @ 2020-11-16 17:40 lanofsky 阅读(1767) 评论(0) 推荐(1)
摘要: uniapp //h5上传图片到服务器解析 //选择图片 uni.chooseImage({ // sourceType:"camera", success: function(chooseImageRes) { // console.log(chooseImageRes.tempFilePaths 阅读全文
posted @ 2020-11-13 11:15 lanofsky 阅读(894) 评论(0) 推荐(0)
摘要: 注意连接队列服务器时,参数必须和服务器配置一致 private string queue;//队列名 private bool durable;//持久化 private bool exclusive;//独占 private bool autoDelete;//自动删除 默认帐号guest不能远程 阅读全文
posted @ 2020-10-24 17:52 lanofsky 阅读(1321) 评论(0) 推荐(0)