Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
9d05882d
Commit
9d05882d
authored
Aug 19, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2ad24e4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
99 additions
and
1 deletions
+99
-1
EnterpriseDetailDTO.java
...va/com/gic/haoban/manage/api/dto/EnterpriseDetailDTO.java
+8
-1
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+10
-0
EnterpriseSearchVO.java
...java/com/gic/haoban/manage/web/vo/EnterpriseSearchVO.java
+81
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/EnterpriseDetailDTO.java
View file @
9d05882d
...
@@ -21,6 +21,7 @@ public class EnterpriseDetailDTO implements Serializable{
...
@@ -21,6 +21,7 @@ public class EnterpriseDetailDTO implements Serializable{
private
String
staffId
;
private
String
staffId
;
private
String
staffName
;
private
String
staffName
;
private
Date
createTime
;
private
Date
createTime
;
private
String
brandName
;
public
String
getWxEnterpriseRelatedId
()
{
public
String
getWxEnterpriseRelatedId
()
{
return
wxEnterpriseRelatedId
;
return
wxEnterpriseRelatedId
;
}
}
...
@@ -81,6 +82,12 @@ public class EnterpriseDetailDTO implements Serializable{
...
@@ -81,6 +82,12 @@ public class EnterpriseDetailDTO implements Serializable{
public
void
setCreateTime
(
Date
createTime
)
{
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
this
.
createTime
=
createTime
;
}
}
public
String
getBrandName
()
{
return
brandName
;
}
public
void
setBrandName
(
String
brandName
)
{
this
.
brandName
=
brandName
;
}
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
9d05882d
...
@@ -27,6 +27,7 @@ import com.gic.haoban.manage.web.anno.IgnoreLogin;
...
@@ -27,6 +27,7 @@ import com.gic.haoban.manage.web.anno.IgnoreLogin;
import
com.gic.haoban.manage.web.auth.AuthRequestUtil
;
import
com.gic.haoban.manage.web.auth.AuthRequestUtil
;
import
com.gic.haoban.manage.web.config.Config
;
import
com.gic.haoban.manage.web.config.Config
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.vo.EnterpriseSearchVO
;
import
com.gic.haoban.manage.web.vo.LoginVO
;
import
com.gic.haoban.manage.web.vo.LoginVO
;
import
com.gic.haoban.manage.web.vo.SecretSettingVO
;
import
com.gic.haoban.manage.web.vo.SecretSettingVO
;
import
com.gic.haoban.manage.web.vo.StoreVo
;
import
com.gic.haoban.manage.web.vo.StoreVo
;
...
@@ -85,6 +86,7 @@ public class WxEnterpriseController extends WebBaseController{
...
@@ -85,6 +86,7 @@ public class WxEnterpriseController extends WebBaseController{
if
(
enterpriseDTO
!=
null
){
if
(
enterpriseDTO
!=
null
){
dto
.
setEnterpriseName
(
enterpriseDTO
.
getEnterpriseName
());
dto
.
setEnterpriseName
(
enterpriseDTO
.
getEnterpriseName
());
dto
.
setEnterpriseLogo
(
enterpriseDTO
.
getQcloudImageUrl
());
dto
.
setEnterpriseLogo
(
enterpriseDTO
.
getQcloudImageUrl
());
dto
.
setBrandName
(
enterpriseDTO
.
getBrandName
());
}
}
}
}
}
}
...
@@ -139,6 +141,14 @@ public class WxEnterpriseController extends WebBaseController{
...
@@ -139,6 +141,14 @@ public class WxEnterpriseController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
EnterpriseAndUserDTO
dto
=
enterpriseService
.
getEnterpriseAndUserByName
(
enterpriseName
);
EnterpriseAndUserDTO
dto
=
enterpriseService
.
getEnterpriseAndUserByName
(
enterpriseName
);
EnterpriseSearchVO
vo
=
EntityUtil
.
changeEntityByJSON
(
EnterpriseSearchVO
.
class
,
dto
);
if
(
vo
!=
null
){
String
enterpriseId
=
vo
.
getEnterpriseId
();
EnterpriseDTO
enterprise
=
enterpriseService
.
getEnterpriseByEid
(
enterpriseId
);
if
(
enterprise
!=
null
){
vo
.
setBrandName
(
enterprise
.
getBrandName
());
}
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
dto
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
dto
);
}
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/EnterpriseSearchVO.java
0 → 100644
View file @
9d05882d
package
com
.
gic
.
haoban
.
manage
.
web
.
vo
;
import
java.io.Serializable
;
public
class
EnterpriseSearchVO
implements
Serializable
{
private
String
enterpriseId
;
private
String
enterpriseName
;
private
String
clerkId
;
private
String
clerkCode
;
private
String
clerkName
;
private
String
phoneNumber
;
private
String
nationCode
;
private
String
brandName
;
public
String
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
String
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
}
public
String
getEnterpriseName
()
{
return
enterpriseName
;
}
public
void
setEnterpriseName
(
String
enterpriseName
)
{
this
.
enterpriseName
=
enterpriseName
;
}
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
String
getClerkCode
()
{
return
clerkCode
;
}
public
void
setClerkCode
(
String
clerkCode
)
{
this
.
clerkCode
=
clerkCode
;
}
public
String
getClerkName
()
{
return
clerkName
;
}
public
void
setClerkName
(
String
clerkName
)
{
this
.
clerkName
=
clerkName
;
}
public
String
getPhoneNumber
()
{
return
phoneNumber
;
}
public
void
setPhoneNumber
(
String
phoneNumber
)
{
this
.
phoneNumber
=
phoneNumber
;
}
public
String
getNationCode
()
{
return
nationCode
;
}
public
void
setNationCode
(
String
nationCode
)
{
this
.
nationCode
=
nationCode
;
}
public
String
getBrandName
()
{
return
brandName
;
}
public
void
setBrandName
(
String
brandName
)
{
this
.
brandName
=
brandName
;
}
}
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