有的时候我们需要用一个数字来维护多个状态,比如权限,一个角色可以有读的权限,也可以有写的权限,设计数据库的时候,很多人会选择创建多个列来维护不同的权限 其实完全是可以用一个数字来维护多个权限的 大致的思路用数字二进制形态中的0和1以及1所处的位置来表示表示状态,数是多少位,就能表示多少个状态,并且这 ...
分类:
其他好文 时间:
2020-05-14 19:22:47
阅读次数:
52
Devexpress中DXValidationProvider的基本使用方法创建一个新项目,如下图,放置一个Devexpress中自带的文本框(textEdit)控件,命为:textEdit1,添加dxValidationProviderk控件,在这里只讲条件验证。注:在使用dxValidation ...
分类:
其他好文 时间:
2020-05-14 19:22:05
阅读次数:
94
日志集中式监控平台上线已经有一段时间,但是大部分情况下只是作为发布或者出问题时查看日志的便利工具使用。平时大家都不怎么主动上去看看。于是前几天把应用的错误日志也加上邮件、Hi和短信报警,马上就收到很多错误报警,引起了大家的重视。其中有一个Redis报错: Push notify error: => ...
分类:
其他好文 时间:
2020-05-14 19:21:01
阅读次数:
74
The abstract provides a summary of the thesis and often contains the following moves in this order: 1. background to the thesis 2. purpose of the thes ...
分类:
其他好文 时间:
2020-05-14 12:46:10
阅读次数:
74
yum查找可安装的软件包 yum search xxx 查看ansible的所有版本 yum --showduplicates list ansible ...
分类:
系统相关 时间:
2020-05-13 12:05:31
阅读次数:
65
错误信息:[Err] 1140 - In aggregated query without GROUP BY, expression #6 of SELECT list contains nonaggregated column 'bladex_account.a.dept_id'; this is ...
分类:
数据库 时间:
2020-05-13 11:56:12
阅读次数:
70
${workspaceFolder} the path of the workspace folder that contains the tasks.json file ${workspaceRootFolderName} the name of the folder opened in VS C ...
分类:
其他好文 时间:
2020-05-11 15:51:53
阅读次数:
78
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:
其他好文 时间:
2020-05-11 01:23:35
阅读次数:
61
展开微信小程序访问Token安全验证的API接口API//添加一个自定义过滤器using Newtonsoft.Json;using System;using System.Collections.Generic;using System.IO;using System.Linq;using Sys ...
分类:
微信 时间:
2020-05-11 01:17:01
阅读次数:
446
老孟导读:Flutter内置了多个标签类控件,但本质上它们都是同一个控件,只不过是属性参数不同而已,在学习的过程中可以将其放在放在一起学习,方便记忆。 RawChip Material风格标签控件,此控件是其他标签控件的基类,通常情况下,不会直接创建此控件,而是使用如下控件: Chip InputC ...
分类:
其他好文 时间:
2020-05-10 10:21:29
阅读次数:
78