Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
12ab9f41
Commit
12ab9f41
authored
Jun 23, 2020
by
lal
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of develop-gitlab.youlingrc.com:8timerv2/8timerapiv200 into lal
parents
bb700fe5
117b7139
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
src/main/java/cn/timer/api/bean/qyzx/QyzxEntInfoM.java
+3
-0
src/main/java/cn/timer/api/controller/qyzx/Auth.java
+2
-0
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
+2
-1
No files found.
src/main/java/cn/timer/api/bean/qyzx/QyzxEntInfoM.java
View file @
12ab9f41
...
@@ -58,6 +58,9 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
...
@@ -58,6 +58,9 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
@ApiModelProperty
(
value
=
"电话号码 "
,
example
=
"18712345678"
)
@ApiModelProperty
(
value
=
"电话号码 "
,
example
=
"18712345678"
)
private
String
phone
;
private
String
phone
;
@ApiModelProperty
(
value
=
"邮编 "
,
example
=
"110000"
)
private
String
zipCode
;
@ApiModelProperty
(
value
=
"所在地区id"
,
example
=
"广东省广州市白云区"
)
@ApiModelProperty
(
value
=
"所在地区id"
,
example
=
"广东省广州市白云区"
)
private
String
area
;
private
String
area
;
...
...
src/main/java/cn/timer/api/controller/qyzx/Auth.java
View file @
12ab9f41
...
@@ -92,6 +92,8 @@ public class Auth {
...
@@ -92,6 +92,8 @@ public class Auth {
Integer
empNum
=
userBean
.
getEmpNum
();
Integer
empNum
=
userBean
.
getEmpNum
();
QyzxEmpEntAsso
qyzxEmpEntAsso
=
selectMain
(
orgCode
,
empNum
);
QyzxEmpEntAsso
qyzxEmpEntAsso
=
selectMain
(
orgCode
,
empNum
);
if
(
qyzxEmpEntAsso
!=
null
)
{
if
(
qyzxEmpEntAsso
!=
null
)
{
if
(
qyzxEmpEntAsso
.
getUserType
()
==
SysRoleType
.
U_TYPE_ADMIN
.
getType
())
return
ResultUtil
.
error
(
"主账号暂时不能删除"
);
if
(
QyzxEmpEntAsso
.
builder
().
userType
(
SysRoleType
.
U_TYPE_EMP
.
getType
()).
build
()
if
(
QyzxEmpEntAsso
.
builder
().
userType
(
SysRoleType
.
U_TYPE_EMP
.
getType
()).
build
()
.
update
(
new
LambdaQueryWrapper
<
QyzxEmpEntAsso
>().
eq
(
QyzxEmpEntAsso:
:
getOrgCode
,
orgCode
)
.
update
(
new
LambdaQueryWrapper
<
QyzxEmpEntAsso
>().
eq
(
QyzxEmpEntAsso:
:
getOrgCode
,
orgCode
)
.
eq
(
QyzxEmpEntAsso:
:
getEmpNum
,
childEmpNum
)))
.
eq
(
QyzxEmpEntAsso:
:
getEmpNum
,
childEmpNum
)))
...
...
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
View file @
12ab9f41
...
@@ -298,7 +298,8 @@ public class QyzxBusinessController {
...
@@ -298,7 +298,8 @@ public class QyzxBusinessController {
.
eq
(
QyzxUseRecord:
:
getPmid
,
1
)
.
eq
(
QyzxUseRecord:
:
getPmid
,
1
)
.
eq
(
StringUtils
.
isNotBlank
(
orderNo
),
QyzxUseRecord:
:
getOrderNo
,
orderNo
)
.
eq
(
StringUtils
.
isNotBlank
(
orderNo
),
QyzxUseRecord:
:
getOrderNo
,
orderNo
)
.
ge
(
StringUtils
.
isNotBlank
(
startTime
),
QyzxUseRecord:
:
getCreateTime
,
startTime
)
.
ge
(
StringUtils
.
isNotBlank
(
startTime
),
QyzxUseRecord:
:
getCreateTime
,
startTime
)
.
le
(
StringUtils
.
isNotBlank
(
endTime
),
QyzxUseRecord:
:
getCreateTime
,
endTime
));
.
le
(
StringUtils
.
isNotBlank
(
endTime
),
QyzxUseRecord:
:
getCreateTime
,
endTime
)
.
last
(
"order by create_time desc"
));
return
ResultUtil
.
pageData
(
list
,
page
.
getTotal
(),
"查询成功"
);
return
ResultUtil
.
pageData
(
list
,
page
.
getTotal
(),
"查询成功"
);
}
}
...
...
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