摘要: @Query(value = "(?0) -no:?1 +typeCode:?2", fields = { "no", "typeName", "name", "keywords", "modifyDate", "score" }, name = "TodoDocument.findByNamedQ 阅读全文
posted @ 2017-06-17 09:37 margin_gu 阅读(2807) 评论(0) 推荐(0) 编辑
摘要: 1.新建maven项目 2.选择webapp 3.若是项目没有 src/main/java 则在下图中新建main下新建java文件夹 4.在 src/main/java 文件夹下 新建 cn.com.test 包 5.右键 properties => project facets 发现 dynam 阅读全文
posted @ 2017-06-16 10:26 margin_gu 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.App.config 2.LogUitls 3.调用 阅读全文
posted @ 2017-05-25 09:32 margin_gu 阅读(171) 评论(0) 推荐(0) 编辑
摘要: MyRichTextBox using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using Sys 阅读全文
posted @ 2017-05-25 09:17 margin_gu 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: socket 客户端 的一些想法 包头 4byte 4byte 2byte 2byte 数据长 数据长 约定数字 0 1.登录 2.每隔15秒发送心跳包 3.死循环接收数据,把收到的byte[]塞到List<byte>(队列,先进先出)(生产者) 4.List<byte> 要有同步锁 5.死循环读取 阅读全文
posted @ 2017-03-20 16:05 margin_gu 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 插件接口 插件1 插件2 winform调用插件 界面 阅读全文
posted @ 2016-09-20 10:53 margin_gu 阅读(2001) 评论(5) 推荐(1) 编辑
摘要: 界面 阅读全文
posted @ 2016-09-20 10:34 margin_gu 阅读(5640) 评论(1) 推荐(0) 编辑
摘要: public class HttpUitls { public static string Get(string Url) { //System.GC.Collect(); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url);... 阅读全文
posted @ 2016-09-20 09:17 margin_gu 阅读(8480) 评论(0) 推荐(0) 编辑
摘要: 2017/3/22 获得文件夹下所有文件名 阅读全文
posted @ 2016-09-20 09:03 margin_gu 阅读(13268) 评论(1) 推荐(1) 编辑
摘要: class Win32 { public enum Bool { False = 0, True }; [StructLayout(LayoutKind.Sequential)] public struct Point { public Int32 x; public Int32 y; public 阅读全文
posted @ 2016-08-20 00:48 margin_gu 阅读(2726) 评论(1) 推荐(1) 编辑