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
a7de2b0b
Commit
a7de2b0b
authored
Jun 17, 2020
by
tangzhaoqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://develop-gitlab.youlingrc.com/8timerv2/8timerapiv200.git
into tzq
parents
d45206a1
143ca0e6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
7 deletions
+24
-7
src/main/java/cn/timer/api/bean/yggl/YgglMainEmp.java
+16
-4
src/main/java/cn/timer/api/controller/LoginController.java
+2
-1
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+2
-2
src/main/java/cn/timer/api/controller/qyzx/QyzxAuthController.java
+4
-0
src/main/resources/mapping/kqmk/KqglAssoMonthPunchSummaryMapper.xml
+0
-0
No files found.
src/main/java/cn/timer/api/bean/yggl/YgglMainEmp.java
View file @
a7de2b0b
...
...
@@ -91,11 +91,23 @@ public class YgglMainEmp extends Model<YgglMainEmp> {
@ApiModelProperty
(
value
=
"政治面貌 1:中共党员;2:中共预备党员;3共青团员;4:民革党员;5:民盟盟员;6:民建会员;7:民进会员;8:农工党党员;9:致公党党员;10:九三学社社员;11:台盟盟员;12:无党派人士;13:群众"
,
example
=
"101"
)
private
Integer
zzmm
;
@ApiModelProperty
(
value
=
"籍贯 省
/市/区 例:广东/广州/白云
"
,
example
=
"101"
)
@ApiModelProperty
(
value
=
"籍贯 省"
,
example
=
"101"
)
private
String
jg
;
@ApiModelProperty
(
value
=
"户籍城市 省/市/区 例:广东/广州/白云"
,
example
=
"101"
)
private
Integer
city
;
@ApiModelProperty
(
value
=
"籍贯 省id"
,
example
=
"101"
)
private
String
jgId
;
@ApiModelProperty
(
value
=
"省"
)
private
String
province
;
@ApiModelProperty
(
value
=
"省id"
)
private
String
provinceId
;
@ApiModelProperty
(
value
=
"市"
)
private
String
city
;
@ApiModelProperty
(
value
=
"市id"
)
private
String
cityId
;
@ApiModelProperty
(
value
=
"区"
)
private
String
district
;
@ApiModelProperty
(
value
=
"区编号"
)
private
String
districtId
;
@ApiModelProperty
(
value
=
"户口性质 1:城镇户口;2:农村户口;3:居民户口"
,
example
=
"101"
)
private
Integer
hkType
;
...
...
src/main/java/cn/timer/api/controller/LoginController.java
View file @
a7de2b0b
...
...
@@ -517,8 +517,9 @@ public class LoginController {
}
login
=
qyzxEmpLogin
;
}
// 1-是主账号管理员
boolean
b4
=
YgglMainEmp
.
builder
().
orgCode
(
qyId
).
empNum
(
login
.
getId
()).
rzTime
(
new
Date
())
.
isManager
(
SysRoleType
.
U_TYPE_ADMIN
.
getType
()
).
name
(
username
).
phone
(
phone
)
.
isManager
(
1
).
name
(
username
).
phone
(
phone
)
.
jobType
(
YgJobType
.
QUANZHI
.
getType
()).
jobStatus
(
YgEnumInterface
.
jobStatus
.
ZHENSHI
.
getType
()).
build
()
.
insert
();
if
(!
b4
)
{
...
...
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
a7de2b0b
...
...
@@ -469,10 +469,10 @@ public class DzhtController2 {
}
if
(
quantity
==
null
||
remainder
==
null
||
remainder
<=
0
)
{
return
ResultUtil
.
error
(
"
企业 "
+
orgCode
+
" :
套餐余额不足,请充值购买后使用"
);
return
ResultUtil
.
error
(
"
当前企业
套餐余额不足,请充值购买后使用"
);
}
if
(
date
!=
null
&&
date
.
getTime
()
<=
new
Date
().
getTime
())
{
return
ResultUtil
.
error
(
"
企业 "
+
orgCode
+
" :
电子合同套餐已过期"
);
return
ResultUtil
.
error
(
"
当前企业
电子合同套餐已过期"
);
}
// ConfigInfo cfgInfo = new ConfigInfo(null, "1,2", null, null);
...
...
src/main/java/cn/timer/api/controller/qyzx/QyzxAuthController.java
View file @
a7de2b0b
...
...
@@ -8,6 +8,8 @@
package
cn
.
timer
.
api
.
controller
.
qyzx
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.Comparator
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
...
...
@@ -183,6 +185,8 @@ public class QyzxAuthController {
.
eq
(
YgglMainEmp:
:
getIsManager
,
2
).
select
(
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getPhone
,
YgglMainEmp:
:
getEmpNum
,
YgglMainEmp:
:
getIsManager
));
child
.
add
(
main
);
Collections
.
sort
(
child
,
Comparator
.
comparing
(
YgglMainEmp:
:
getIsManager
));
return
ResultUtil
.
data
(
child
,
"查询成功"
);
}
...
...
src/main/resources/mapping/kqmk/KqglAssoMonthPunchSummaryMapper.xml
View file @
a7de2b0b
This diff is collapsed.
Click to expand it.
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