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
dd227c7f
Commit
dd227c7f
authored
May 09, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子合同代码优化
parent
50fe9b2b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
src/main/java/cn/timer/api/controller/dzht/DzhtController.java
+2
-0
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+3
-2
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
+1
-1
No files found.
src/main/java/cn/timer/api/controller/dzht/DzhtController.java
View file @
dd227c7f
...
...
@@ -334,8 +334,10 @@ public class DzhtController {
public
Result
<
Object
>
rzUserNow
(
@CurrentUser
UserBean
userBean
,
Integer
empNum
)
{
DzhtAssoGrrz
grrz
=
new
DzhtAssoGrrz
();
grrz
.
setType
(
0
);
System
.
err
.
println
(
empNum
);
YgglMainEmp
yg
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
select
(
"phone"
)
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
System
.
err
.
println
(
yg
);
grrz
.
setMobileNo
(
yg
.
getPhone
());
DzhtAssoGrzc
grzc
=
DzhtAssoGrzc
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
DzhtAssoGrzc
>()
...
...
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
dd227c7f
...
...
@@ -97,7 +97,7 @@ public class DzhtController2 {
Integer
orgCode
=
userBean
.
getOrgCode
();
YgglMainEmp
yg
=
YgglMainEmp
.
builder
().
build
()
.
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
eq
(
"emp_num"
,
empNum
));
.
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
eq
(
"
org_code"
,
orgCode
).
eq
(
"
emp_num"
,
empNum
));
String
phone
=
yg
.
getPhone
();
String
name
=
yg
.
getName
();
...
...
@@ -351,7 +351,8 @@ public class DzhtController2 {
dzhtQueryDto
.
getTotalPage
()
==
null
?
10
:
dzhtQueryDto
.
getTotalPage
());
QueryWrapper
<
DzhtAssoHtmb
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"is_del"
,
0
).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()).
like
(
mbmc
!=
null
,
"mbmc"
,
mbmc
)
.
select
(
"template_id"
,
"mbmc"
,
"file_name"
,
"created_time"
).
orderByDesc
(
"created_time"
);
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
select
(
"template_id"
,
"mbmc"
,
"file_name"
,
"created_time"
)
.
orderByDesc
(
"created_time"
);
IPage
<
DzhtAssoHtmb
>
dPage
=
DzhtAssoHtmb
.
builder
().
build
().
selectPage
(
page
,
queryWrapper
);
List
<
DzhtAssoHtmb
>
htmbs
=
dPage
.
getRecords
();
dPage
.
getCurrent
();
...
...
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
View file @
dd227c7f
...
...
@@ -153,7 +153,7 @@ public class HtzzController {
htzzQueryDto
.
getTotalPage
()
==
null
?
10
:
htzzQueryDto
.
getTotalPage
());
QueryWrapper
<
HtzzAdminZzda
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"
lrrid"
,
userBean
.
getEmpNum
()).
eq
(
"
org_code"
,
userBean
.
getOrgCode
())
queryWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
())
.
select
(
"id"
,
"zjmc"
,
"czry"
,
"czrdh"
,
"fzrq"
,
"yxdqr"
,
"txkg_type"
).
eq
(
"is_delete"
,
0
)
.
gt
(!
StrUtil
.
hasBlank
(
e
),
"yxdqr"
,
!
StrUtil
.
hasBlank
(
e
)
?
e
:
"9999-01-01 00:00:00"
)
.
and
(!
StrUtil
.
hasBlank
(
q
),
wq
->
wq
.
like
(
"zjmc"
,
q
).
or
().
like
(
"czry"
,
q
)).
orderByDesc
(
"lrsj_time"
);
...
...
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