摘要: /// <summary> /// 组织部门 /// </summary> public class ArchvieOrganizationAppService : RunGoAppServiceBase<Model.Archvie_Organization, DetailArchvieOrgani 阅读全文
posted @ 2020-01-08 15:32 苏苏苏en 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: List<ScreenList> All = new List<ScreenList>(); if (string.IsNullOrEmpty(roomrowguid)) { ScreenList viewroom = new ScreenList(); viewroom.Key = "区域"; v 阅读全文
posted @ 2020-01-08 15:30 苏苏苏en 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 之前有讲过ios系统的时间显示不支持‘-’所以转换成‘/’但是不知道是不是系统不兼容的问题,只要时间做了格式转换就会出现相差8小时的问题,如果只是把‘-’换成‘/’就没有这种问题,这里有两种解决方案 一:后端统一处理时间格式,这里有个前提就是前端都需要这种格式的时间 在startup.cs中进行配置 阅读全文
posted @ 2020-01-08 15:21 苏苏苏en 阅读(1657) 评论(0) 推荐(0) 编辑
摘要: public class MaintenanceDutyPsersonDto { /// <summary> /// 值班人员(组织兵力唯一标识) /// </summary> [StringLength(50)] public string MilitaryRowGuid { get; set; 阅读全文
posted @ 2020-01-08 15:08 苏苏苏en 阅读(994) 评论(0) 推荐(0) 编辑
摘要: ① 获取当月开始日期和结束日期 DateTime currentTime = DateTime.Now; DateTime CurrentMonthStart = DateTime.Parse($"{currentTime.Year}-{currentTime.Month+1}-1");//当月开始 阅读全文
posted @ 2020-01-08 14:54 苏苏苏en 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 最近在解决word导出时,从前台传数据到后台报错,也无法进断点: “Only one complex type allowed as argument to a controller action that's binding source is 'Body'. But AddMenu (api/s 阅读全文
posted @ 2020-01-03 14:20 苏苏苏en 阅读(434) 评论(0) 推荐(0) 编辑
摘要: <dd>{{userData.departmentName.replace(new RegExp(",","g"),'-')}}</dd> 阅读全文
posted @ 2020-01-02 15:51 苏苏苏en 阅读(7950) 评论(0) 推荐(0) 编辑
摘要: 最近在处理word文档导出时遇到了一个问题就是当导出数据需要换行时不论是使用“\r\n”还是“^p”等等各种网上说的方法都没办法解决,“\n”在这里打出来也只是个空格,后来找到了解决办法: xwpfRun.AddBreak(BreakType.TEXTWRAPPING) xwpfRun.AddBre 阅读全文
posted @ 2020-01-02 15:48 苏苏苏en 阅读(6399) 评论(0) 推荐(0) 编辑
摘要: NPOI word 中的单元格合并。网上有不少教程将单元格合并的,但是基本都是在创建的单元的时候就开始合并了。现在我们来看下,如何在创建好的表格上再做合并动作。NPOI 的XWPFTable的row提供了MergeCells这个功能,该功能可以实现单行的已存在的单元格的合并,和set gridspa 阅读全文
posted @ 2020-01-02 11:07 苏苏苏en 阅读(3728) 评论(0) 推荐(0) 编辑
摘要: 通过接口查询出来的列表,如果有新的字段想要绑定上去但列表中没有这个字段: 注意:$foeceUpdate()很重要,一定要加上! 阅读全文
posted @ 2019-12-31 11:21 苏苏苏en 阅读(886) 评论(0) 推荐(0) 编辑