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
QianQiXiang
haoban-manage3.0
Commits
3fd2f735
Commit
3fd2f735
authored
Feb 17, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b4a84349
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
2 deletions
+40
-2
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+2
-0
WxEnterpriseRelatedApiService.java
...ban/manage/api/service/WxEnterpriseRelatedApiService.java
+2
-0
WxEnterpriseRelatedService.java
...an/manage/service/service/WxEnterpriseRelatedService.java
+4
-0
WxEnterpriseRelatedServiceImpl.java
.../service/service/impl/WxEnterpriseRelatedServiceImpl.java
+11
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+6
-0
WxEnterpriseRelatedApiServiceImpl.java
...e/service/out/impl/WxEnterpriseRelatedApiServiceImpl.java
+14
-1
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
3fd2f735
...
...
@@ -27,4 +27,6 @@ public interface StaffApiService {
public
void
wxGetAdd
(
String
userId
,
String
wxEnterpriseId
);
public
void
staffEdit
(
StaffDTO
staffDTO
,
String
departmentIds
);
}
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/WxEnterpriseRelatedApiService.java
View file @
3fd2f735
...
...
@@ -8,4 +8,6 @@ public interface WxEnterpriseRelatedApiService {
List
<
EnterpriseDetailDTO
>
listEnterpriseByWxEnterpriseId
(
String
wxEnterpriseId
);
void
wxEnterpriseBind
(
String
enterpriseId
,
String
wxEnterpriseId
,
String
version
);
String
getByGicEnterpriseIdByEnterpriseRelatedId
(
String
wxEnterpriseRelatedId
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/WxEnterpriseRelatedService.java
View file @
3fd2f735
package
com
.
gic
.
haoban
.
manage
.
service
.
service
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterpriseRelated
;
public
interface
WxEnterpriseRelatedService
{
TabHaobanWxEnterpriseRelated
getByGicEnterpriseIdByEnterpriseRelatedId
(
String
wxEnterpriseRelatedId
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseRelatedServiceImpl.java
View file @
3fd2f735
package
com
.
gic
.
haoban
.
manage
.
service
.
service
.
impl
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.gic.haoban.manage.service.dao.mapper.WxEnterpriseRelatedMapper
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterpriseRelated
;
import
com.gic.haoban.manage.service.service.WxEnterpriseRelatedService
;
@Service
public
class
WxEnterpriseRelatedServiceImpl
implements
WxEnterpriseRelatedService
{
@Autowired
private
WxEnterpriseRelatedMapper
mapper
;
@Override
public
TabHaobanWxEnterpriseRelated
getByGicEnterpriseIdByEnterpriseRelatedId
(
String
wxEnterpriseRelatedId
)
{
return
mapper
.
selectByPrimaryKey
(
wxEnterpriseRelatedId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
3fd2f735
...
...
@@ -142,4 +142,10 @@ public class StaffApiServiceImpl implements StaffApiService {
}
@Override
public
void
staffEdit
(
StaffDTO
staffDTO
,
String
departmentIds
)
{
// TODO Auto-generated method stub
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseRelatedApiServiceImpl.java
View file @
3fd2f735
...
...
@@ -5,6 +5,7 @@ import java.util.List;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.gic.commons.util.EntityUtil
;
...
...
@@ -13,12 +14,15 @@ import com.gic.haoban.manage.api.dto.EnterpriseDetailDTO;
import
com.gic.haoban.manage.api.service.WxEnterpriseRelatedApiService
;
import
com.gic.haoban.manage.service.dao.mapper.WxEnterpriseRelatedMapper
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterpriseRelated
;
import
com.gic.haoban.manage.service.service.WxEnterpriseRelatedService
;
@Service
public
class
WxEnterpriseRelatedApiServiceImpl
implements
WxEnterpriseRelatedApiService
{
private
static
final
Logger
logger
=
LogManager
.
getLogger
(
WxEnterpriseRelatedApiServiceImpl
.
class
);
@Autowired
private
WxEnterpriseRelatedMapper
wxEnterpriseRelatedMapper
;
@Autowired
private
WxEnterpriseRelatedService
wxEnterpriseRelatedService
;
@Override
public
List
<
EnterpriseDetailDTO
>
listEnterpriseByWxEnterpriseId
(
String
wxEnterpriseId
)
{
...
...
@@ -46,5 +50,14 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
wxEnterpriseRelatedMapper
.
insertSelective
(
tab
);
}
}
@Override
public
String
getByGicEnterpriseIdByEnterpriseRelatedId
(
String
wxEnterpriseRelatedId
)
{
TabHaobanWxEnterpriseRelated
tab
=
wxEnterpriseRelatedService
.
getByGicEnterpriseIdByEnterpriseRelatedId
(
wxEnterpriseRelatedId
);
if
(
tab
!=
null
)
{
return
tab
.
getEnterpriseId
();
}
return
null
;
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
3fd2f735
...
...
@@ -86,7 +86,7 @@ public class StaffController extends WebBaseController{
public
HaobanResponse
staffEdit
(
StaffDTO
staffDTO
,
String
departmentIds
){
String
staffId
=
staffDTO
.
getStaffId
();
//
staffApiService.staffEdit(staffDTO,departmentIds);
staffApiService
.
staffEdit
(
staffDTO
,
departmentIds
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
...
...
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