摘要: 1、接收xml controller中写法如下 [HttpPost, ActionName("Sign_off")] [Produces("application/xml")]//接收[Consumes("application/xml")]//返回public async Task Sign_of 阅读全文
posted @ 2023-10-09 14:04 艺洁 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 一、新建Process-Based App 二、准备好暂存数据的model data 使用query multiple查询要汇出的数据并映射到准备的model data中(注:因为查询出的结果集可能有多条 所以要设置ComplexType为Repeatable;mapping时要把parameter 阅读全文
posted @ 2023-03-31 13:59 艺洁 阅读(28) 评论(0) 推荐(0) 编辑
摘要: REVERSE(欄位) 反轉 CHARINDEX(篩選字符,欄位,[start]) 例:CHARINDEX('/',ProImage,13) 從13位查詢/所在索引 SUBSTRING(欄位,start,end) 例:SUBSTRING(ProImage,0,CHARINDEX('/',ProIma 阅读全文
posted @ 2023-03-03 16:25 艺洁 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 我在写窗体规则时,明明默认值已经绑定,但是在页面加载时规则并没有起作用,导致改隐藏的没隐藏,该显示的不显示。找了半天,发现规则设置时可选择执行事件。 设置在页面加载时执行规则后,发现还是不能正确显隐组件。这时,想到是否组件本身设置有问题。发现使用的是Auto_LookUp绑定数据到组件,考虑可能是执 阅读全文
posted @ 2022-07-22 14:54 艺洁 阅读(34) 评论(0) 推荐(0) 编辑
摘要: /** * eform helper */ efh = function () { /** * eform help error handler */ function _handleError(fieldId, error, caller) { caller = caller ? caller : 阅读全文
posted @ 2022-07-22 14:36 艺洁 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 一、跨字段验证 1、新增验证器 import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms'; export const placeRevealedValidator: ValidatorFn = (c 阅读全文
posted @ 2022-07-01 13:54 艺洁 阅读(211) 评论(0) 推荐(0) 编辑
摘要: //表格字段都是大写的 想要实现首字母小写(特定操作配置输出序列化选项)[HttpPost, ActionName("QueryAll")] public ActionResult QueryAll() { return new JsonResult( _bll.QueryAll(), new Js 阅读全文
posted @ 2022-06-29 10:30 艺洁 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 一、时间格式转换 1.新建一个格式化类DatetimeJsonConverter,继承自JsonConverter,然后重写里面的方法 public class DatetimeJsonConverter : JsonConverter<DateTime> { public override Dat 阅读全文
posted @ 2022-05-17 11:36 艺洁 阅读(905) 评论(0) 推荐(0) 编辑
摘要: 假设路由守卫有这种场景 需要使用observable同时发送多个Http 请求,判断request2返回的数据中是否存在request1返回的数据 使用async await export class testAuth implements CanActivate { username = loca 阅读全文
posted @ 2022-04-26 16:58 艺洁 阅读(232) 评论(0) 推荐(0) 编辑
摘要: C CBD(Component-based Development)基于构件的开发CBSE(Component-based Software Engineering)基于构件的软件工程 D DO(Digital Information-Oriented)面向数字信息 DFD(Data Flow Di 阅读全文
posted @ 2022-04-24 16:05 艺洁 阅读(1378) 评论(0) 推荐(0) 编辑