mapperType
"manager": {
"showExtand": "{geography},null lng_lat",
"bridgeColumnExtand": "lng_lat,workshop,factory_user",
"originalExtand": "0.0 lng,0.0 lat",
// #region 开启扩展入库配置
"saveSqlExtand": true,
// #endregion 开启扩展入库配置
"guidMethod": "None",
"dataFromType": "Database",
"extend": "basis",
"original": "'' workshop,'' factory_user,is_enabled",
"auth": true,
"viewCountClosed": false,
"fieldChild": {},
"mapperType": {
// true 开启强制外部的
"replaces": false,
// key 对应角色id,如果包含,_mapperType=值,如果外部传递,使用外部的
// value 对应 op-eq值
"mappers": [
{
"key": "111",
"value": "",
"sortId": 1,
//关联对象类型, type 1=角色权限,2=用户增加特殊权限,3=用户减少的特殊权限,4=单位权限 5 职位
"type": null
}
]
},
"wheres": [
"{where_sql} ",
"{s-if:_mapperType}",
// #region 添加不存在用户过滤
"{op-eq:1} ",
"and ( ",
"create_user_id<>@_userId ",
"and fact_id not in (select factory_id from cpc_ws_factory_user where user_id=@_userId)",
") ",
"{op-eq:1}",
// #endregion 添加不存在用户过滤
"{e-if:_mapperType}"
]
},
文档更新时间: 2022-07-13 07:15 作者:admin