• 如手机号为15859078491, telephone_suffix 存储8491,为了解决已有字段加密后,查询不方便
  • 显示效果
  • mapper文件配置
  • 注意suffix配置
 "telephone": {
      "tableId": 1,
      "encDesMethod": "qt2db", //qt2db  qt  db
      "field": "telephone",
      "dataType": "varchar",
      "title": "手机号",
      "remark": "手机号",
      "name": "telephone",
      "alias": "telephone",
      "isList": false,
      "isDetail": true,
      "isEdit": false,
      "isAdd": false,
      "isData": true,
      //加密前截取后缀用于查询
      "suffix": {
        "field": "telephoneSuffix",
        "alias": "telephone_suffix",
        "name": "telephone_suffix",
        "length": 4
      },
      "filter": {},
      "editPropertie": {
        "showMethod": "text"
      },
      "pagePropertie": {
        "showMethod": "text"
      },
      "maxLength": 100
    },

文档更新时间: 2022-08-20 14:01   作者:admin