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
4862cab4
Commit
4862cab4
authored
May 18, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业中心登录信息优化
parent
beb325e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
src/main/java/cn/timer/api/bean/qyzx/QyzxEntInfoM.java
+5
-2
src/main/java/cn/timer/api/controller/LoginController.java
+4
-10
No files found.
src/main/java/cn/timer/api/bean/qyzx/QyzxEntInfoM.java
View file @
4862cab4
...
@@ -52,7 +52,7 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
...
@@ -52,7 +52,7 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
@ApiModelProperty
(
value
=
"法人 "
,
example
=
"刘德华"
)
@ApiModelProperty
(
value
=
"法人 "
,
example
=
"刘德华"
)
private
String
operName
;
private
String
operName
;
@ApiModelProperty
(
value
=
"企业规模
10人以下、10-19人、20-99人、100-500人、
500人以上"
,
example
=
"3"
)
@ApiModelProperty
(
value
=
"企业规模
0:10人以下、1:10-19人、2:20-99人、3:100-500人、4:
500人以上"
,
example
=
"3"
)
private
Integer
size
;
private
Integer
size
;
@ApiModelProperty
(
value
=
"电话号码 "
,
example
=
"18712345678"
)
@ApiModelProperty
(
value
=
"电话号码 "
,
example
=
"18712345678"
)
...
@@ -73,7 +73,7 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
...
@@ -73,7 +73,7 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
@ApiModelProperty
(
value
=
"行业类型 1:农、林、牧、渔业、2:采矿业、3:制造业、4:电力、燃气及水的生产和供应业、5:建筑业、6:交通运输、仓储和邮政业、7:信息传输、计算机服务和软件业、8:批发和零售业、9:住宿和餐饮业、10:金融业、11:房地产业、12:租赁和商务服务业、13:科学研究、技术服务和地质勘查业、14:水利、环境和公共设施管理业、15:居民服务和其他服务业"
,
example
=
"101"
)
@ApiModelProperty
(
value
=
"行业类型 1:农、林、牧、渔业、2:采矿业、3:制造业、4:电力、燃气及水的生产和供应业、5:建筑业、6:交通运输、仓储和邮政业、7:信息传输、计算机服务和软件业、8:批发和零售业、9:住宿和餐饮业、10:金融业、11:房地产业、12:租赁和商务服务业、13:科学研究、技术服务和地质勘查业、14:水利、环境和公共设施管理业、15:居民服务和其他服务业"
,
example
=
"101"
)
private
Integer
industryType
;
private
Integer
industryType
;
@ApiModelProperty
(
value
=
"开通渠道 1直属、2总代理、3独家代理、4一般代理商、5区域代理商"
,
example
=
"101"
)
@ApiModelProperty
(
value
=
"开通渠道 1直属、2总代理、3独家代理、4一般代理商、5区域代理商
"
,
example
=
"101"
)
private
Integer
openChannel
;
private
Integer
openChannel
;
@ApiModelProperty
(
value
=
"联系人"
,
example
=
"刘德华"
)
@ApiModelProperty
(
value
=
"联系人"
,
example
=
"刘德华"
)
...
@@ -101,6 +101,9 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
...
@@ -101,6 +101,9 @@ public class QyzxEntInfoM extends Model<QyzxEntInfoM> {
@ApiModelProperty
(
value
=
"认证时间 "
,
example
=
"2019-12-12 08:00:00"
)
@ApiModelProperty
(
value
=
"认证时间 "
,
example
=
"2019-12-12 08:00:00"
)
private
Date
attestTime
;
private
Date
attestTime
;
@ApiModelProperty
(
value
=
"认证通过时间 "
,
example
=
"2019-12-12 08:00:00"
)
private
Date
attestPassTime
;
@ApiModelProperty
(
value
=
"到期时间 "
,
example
=
"2039-12-12 08:00:00"
)
@ApiModelProperty
(
value
=
"到期时间 "
,
example
=
"2039-12-12 08:00:00"
)
private
Date
endTime
;
private
Date
endTime
;
...
...
src/main/java/cn/timer/api/controller/LoginController.java
View file @
4862cab4
...
@@ -3,9 +3,7 @@ package cn.timer.api.controller;
...
@@ -3,9 +3,7 @@ package cn.timer.api.controller;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpSession
;
import
javax.servlet.http.HttpSession
;
...
@@ -14,7 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -14,7 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.interceptor.TransactionAspectSupport
;
import
org.springframework.transaction.interceptor.TransactionAspectSupport
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -407,21 +404,18 @@ public class LoginController {
...
@@ -407,21 +404,18 @@ public class LoginController {
qyzxEmpLogin1
.
updateById
();
qyzxEmpLogin1
.
updateById
();
//员工信息 手机号修改
// 员工信息 手机号修改
YgglMainEmp
.
builder
().
phone
(
phone
).
build
().
update
(
new
UpdateWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
qyzxEmpLogin1
.
getId
()));
YgglMainEmp
.
builder
().
phone
(
phone
).
build
().
update
(
new
UpdateWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
qyzxEmpLogin1
.
getId
()));
return
ResultUtil
.
success
(
"修改手机号/用户名成功"
);
return
ResultUtil
.
success
(
"修改手机号/用户名成功"
);
}
}
return
ResultUtil
.
error
(
"修改手机号/用户名失败"
);
return
ResultUtil
.
error
(
"修改手机号/用户名失败"
);
}
}
@Autowired
@Autowired
SpmkServiceImpl
SpmkService
;
SpmkServiceImpl
SpmkService
;
/**
/**
* 注册企业
* 注册企业
*
*
...
@@ -464,7 +458,7 @@ public class LoginController {
...
@@ -464,7 +458,7 @@ public class LoginController {
}
}
// 企业信息
// 企业信息
QyzxEntInfoM
qyzxEntInfoM
=
QyzxEntInfoM
.
builder
().
name
(
name
).
registerTime
(
DateUtil
.
date
())
QyzxEntInfoM
qyzxEntInfoM
=
QyzxEntInfoM
.
builder
().
name
(
name
).
registerTime
(
DateUtil
.
date
())
.
phone
(
phone
).
operName
(
username
)
.
endTime
(
DateUtil
.
offsetDay
(
new
Date
(),
offset
)).
level
(
CommonEnum
.
LEVEL_PROBATION
.
getType
())
.
endTime
(
DateUtil
.
offsetDay
(
new
Date
(),
offset
)).
level
(
CommonEnum
.
LEVEL_PROBATION
.
getType
())
.
build
();
.
build
();
boolean
b1
=
qyzxEntInfoM
.
insert
();
boolean
b1
=
qyzxEntInfoM
.
insert
();
...
...
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