摘要: 通过特性来统一验证的入口,实现ActionFilterAttribute接口来进行接口的签名验证 1 /// <summary> 2 /// 标准接口基类Controller 3 /// </summary> 4 [SignVerification] 5 public abstract class 阅读全文
posted @ 2020-06-16 18:26 Cyril-Hcj 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 在Postgre中使用||符号可以将字段内容拼接起来,如下select code||name as codeName from myTable但是要注意的是,如果拼接的字段中有null值那么拼接的返回结果会变成null可以使用coalesce对null值赋个空字符串解决,如下select coale 阅读全文
posted @ 2020-06-16 10:39 Cyril-Hcj 阅读(329) 评论(0) 推荐(0) 编辑