Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
683c8f07
Commit
683c8f07
authored
Jun 07, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户列表查询
parent
5cf9633b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
portal-manager/doc/api.md
portal-manager/doc/api.md
+4
-2
portal-manager/src/main/java/com/mortals/xhx/module/user/model/vo/UserVo.java
...ain/java/com/mortals/xhx/module/user/model/vo/UserVo.java
+0
-9
No files found.
portal-manager/doc/api.md
View file @
683c8f07
...
@@ -306,7 +306,7 @@ data|object|数据对象
...
@@ -306,7 +306,7 @@ data|object|数据对象
  
areaCodes|String|所属区域code,多个逗号分隔
  
areaCodes|String|所属区域code,多个逗号分隔
  
roleId|String|所属角色id,多个逗号分隔
  
roleId|String|所属角色id,多个逗号分隔
  
roleName|String|所属角色名称,多个逗号分隔
  
roleName|String|所属角色名称,多个逗号分隔
  
lastLoginTime|Date|
创建
时间
  
lastLoginTime|Date|
最后登录
时间
dict|object|字典对象
dict|object|字典对象
 
userType|object|字典属性对象,详见附录
 
userType|object|字典属性对象,详见附录
 
status|object|字典属性对象,详见附录
 
status|object|字典属性对象,详见附录
...
@@ -358,6 +358,7 @@ data|object|数据对象
...
@@ -358,6 +358,7 @@ data|object|数据对象
 
areaCodes|String|所属区域code,多个逗号分隔
 
areaCodes|String|所属区域code,多个逗号分隔
 
roleId|String|所属角色Id,多个逗号分隔
 
roleId|String|所属角色Id,多个逗号分隔
 
roleName|String|所属角色名称,多个逗号分隔
 
roleName|String|所属角色名称,多个逗号分隔
 
lastLoginTime|Date|最后登录时间
dict|object|字典对象
dict|object|字典对象
 
userType|object|字典属性对象,详见附录
 
userType|object|字典属性对象,详见附录
 
status|object|字典属性对象,详见附录
 
status|object|字典属性对象,详见附录
...
@@ -391,6 +392,8 @@ realName|String|是|用户真实姓名
...
@@ -391,6 +392,8 @@ realName|String|是|用户真实姓名
mobile|String|是|用户手机号
mobile|String|是|用户手机号
siteIds|String|否|所属站点id,多个逗号分隔
siteIds|String|否|所属站点id,多个逗号分隔
areaCodes|String|否|所属区域code,多个逗号分隔
areaCodes|String|否|所属区域code,多个逗号分隔
roleId|String|所属角色Id,多个逗号分隔
roleName|String|所属角色名称,多个逗号分隔
**请求样例:**
**请求样例:**
```
```
...
@@ -421,7 +424,6 @@ data|object|数据对象
...
@@ -421,7 +424,6 @@ data|object|数据对象
  
areaCodes|String|所属区域code,多个逗号分隔
  
areaCodes|String|所属区域code,多个逗号分隔
  
roleId|String|所属角色id,多个逗号分隔
  
roleId|String|所属角色id,多个逗号分隔
  
roleName|String|所属角色名称,多个逗号分隔
  
roleName|String|所属角色名称,多个逗号分隔
  
lastLoginTime|Date|创建时间
**响应消息样例:**
**响应消息样例:**
```
```
{
{
...
...
portal-manager/src/main/java/com/mortals/xhx/module/user/model/vo/UserVo.java
View file @
683c8f07
...
@@ -22,7 +22,6 @@ public class UserVo extends BaseEntityLong {
...
@@ -22,7 +22,6 @@ public class UserVo extends BaseEntityLong {
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
UserQuery
>
orConditionList
;
private
List
<
UserQuery
>
orConditionList
;
/**
/**
* 唯一标识
* 唯一标识
*/
*/
...
@@ -58,20 +57,12 @@ public class UserVo extends BaseEntityLong {
...
@@ -58,20 +57,12 @@ public class UserVo extends BaseEntityLong {
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
UserQuery
userEntity
=
new
UserQuery
();
UserQuery
userEntity
=
new
UserQuery
();
userEntity
.
setRealName
(
"张三"
);
userEntity
.
setRealName
(
"张三"
);
UserQuery
userQuery
=
new
UserQuery
();
UserQuery
userQuery
=
new
UserQuery
();
List
<
UserQuery
>
conditionList
=
new
ArrayList
<>();
List
<
UserQuery
>
conditionList
=
new
ArrayList
<>();
conditionList
.
add
(
userEntity
);
conditionList
.
add
(
userEntity
);
userQuery
.
setOrConditionList
(
conditionList
);
userQuery
.
setOrConditionList
(
conditionList
);
System
.
out
.
println
(
JSON
.
toJSONString
(
userQuery
));
System
.
out
.
println
(
JSON
.
toJSONString
(
userQuery
));
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment