摘要: scheduleTimeoutControl MongoError: command find requires authentication MongoTimeoutError: Server selection timed out after 30000 ms 阅读全文
posted @ 2021-07-27 23:01 Aroundight 阅读(576) 评论(0) 推荐(0) 编辑
摘要: $('#text').inputmask('decimal');默认是右对齐的添加rightAlign后无效,改成rightAlignNumerics $('#text').inputmask('decimal', {rightAlignNumerics: false}); 阅读全文
posted @ 2018-09-14 11:00 Aroundight 阅读(303) 评论(0) 推荐(0) 编辑
摘要: /// /// 使用虚拟表进行分页查询,不适用明确知道列名的查询/// /// sql 如"select * from name where 1=1"/// 页码 如"1"/// 条数 如"100"/// DataTablepublic static DataTable SelectPaging(S... 阅读全文
posted @ 2015-10-13 10:02 Aroundight 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一定还有很多的问题,比如设置列宽时很麻烦,也没有什么很高深的东西。写是为了自己先记下来防止以后忘了。首先肯定要下载PHPEXCEL后放到项目里。以下是控制器中的代码require APP_PATH . 'Common/PHPExcel/PHPExcel.php';// 引入PHPExcel,自己修改... 阅读全文
posted @ 2014-05-09 11:08 Aroundight 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 下载PHPEXCEL后放到项目里。 public function InExcel() { //设定缓存模式为经gzip压缩后存入cache(PHPExcel导入导出及大量数据导入缓存方式的修改 ) $cacheMethod = PHPExcel_CachedObjec... 阅读全文
posted @ 2014-05-09 11:02 Aroundight 阅读(270) 评论(0) 推荐(0) 编辑
摘要: JS部分的代码 html部分代码 阅读全文
posted @ 2014-05-09 09:35 Aroundight 阅读(4627) 评论(1) 推荐(1) 编辑
摘要: using System;using System.IO;using System.Messaging;namespace YURE.PAIWEI.BALIANGUI{ /// /// MQ文件发送 /// 所有异常都将抛出请做好异常处理 /// public st... 阅读全文
posted @ 2014-05-09 09:22 Aroundight 阅读(803) 评论(0) 推荐(0) 编辑