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
8409a10b
Commit
8409a10b
authored
Feb 26, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
d9effba0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
5 deletions
+12
-5
WxEnterpriseApiService.java
...gic/haoban/manage/api/service/WxEnterpriseApiService.java
+1
-1
EnterpriseController.java
...ic/haoban/manage/web/controller/EnterpriseController.java
+1
-1
WxEnterpriseMapper.java
.../haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
+2
-1
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+1
-1
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+7
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/WxEnterpriseApiService.java
View file @
8409a10b
...
...
@@ -19,7 +19,7 @@ public interface WxEnterpriseApiService {
* 运维后台获取微信企业id列表
* @return
*/
com
.
gic
.
api
.
base
.
commons
.
Page
<
YwWxEnterpriseDTO
>
list
(
BasePageInfo
pageInfo
,
String
keyword
,
String
gicContactFlag
,
String
version
);
com
.
gic
.
api
.
base
.
commons
.
Page
<
YwWxEnterpriseDTO
>
list
(
BasePageInfo
pageInfo
,
String
keyword
,
Integer
gicContactFlag
,
String
version
);
/**
* 获取一个
* @param wxEnterpriseId
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/EnterpriseController.java
View file @
8409a10b
...
...
@@ -31,7 +31,7 @@ public class EnterpriseController extends WebBaseController{
private
WxEnterpriseApiService
wxEnterpriseApiService
;
//企业列表
@RequestMapping
(
"wx-enterprise-list"
)
public
HaobanResponse
wxEnterpriseList
(
BasePageInfo
pageInfo
,
String
keyword
,
String
contactFlag
,
String
version
)
{
public
HaobanResponse
wxEnterpriseList
(
BasePageInfo
pageInfo
,
String
keyword
,
Integer
contactFlag
,
String
version
)
{
Page
<
YwWxEnterpriseDTO
>
page
=
wxEnterpriseApiService
.
list
(
pageInfo
,
keyword
,
contactFlag
,
version
);
PageResult
<
YwWxEnterpriseDTO
>
pageVo
=
new
PageResult
<>();
pageVo
.
setList
(
EntityUtil
.
changeEntityListByJSON
(
YwWxEnterpriseDTO
.
class
,
page
.
getResult
()));
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
View file @
8409a10b
...
...
@@ -21,7 +21,7 @@ public interface WxEnterpriseMapper {
int
updateByPrimaryKey
(
TabHaobanWxEnterprise
record
);
Page
<
TabHaobanWxEnterprise
>
list
(
@Param
(
"keyword"
)
String
keyword
,
@Param
(
"gicContactFlag"
)
String
gicContactFlag
,
@Param
(
"version"
)
String
version
);
Page
<
TabHaobanWxEnterprise
>
list
(
@Param
(
"keyword"
)
String
keyword
,
@Param
(
"gicContactFlag"
)
int
gicContactFlag
,
@Param
(
"version"
)
String
version
);
List
<
TabHaobanWxEnterprise
>
listBycorpId
(
@Param
(
"corpId"
)
String
corpId
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
8409a10b
...
...
@@ -88,7 +88,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
}
@Override
public
com
.
gic
.
api
.
base
.
commons
.
Page
<
YwWxEnterpriseDTO
>
list
(
BasePageInfo
pageInfo
,
String
keyword
,
String
gicContactFlag
,
String
version
)
{
public
com
.
gic
.
api
.
base
.
commons
.
Page
<
YwWxEnterpriseDTO
>
list
(
BasePageInfo
pageInfo
,
String
keyword
,
Integer
gicContactFlag
,
String
version
)
{
PageHelper
.
startPage
(
pageInfo
.
getPageNum
(),
pageInfo
.
getPageSize
());
Page
<
TabHaobanWxEnterprise
>
page
=
wxEnterpriseMapper
.
list
(
keyword
,
gicContactFlag
,
version
);
return
PageUtil
.
changePageHelperToCurrentPage
(
page
,
YwWxEnterpriseDTO
.
class
);
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
8409a10b
...
...
@@ -363,11 +363,17 @@
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update>
<select
id=
"list"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
<select
id=
"list"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_wx_enterprise
where status_flag = 1
<if
test=
"keyword != null and keyword != ''"
>
and corp_name like CONCAT('%',#{keyword},'%')
</if>
<if
test=
"gicContactFlag != null and gicContactFlag != ''"
>
and contact_flag = #{gicContactFlag,jdbcType=INTEGER}
</if>
</select>
<select
id=
"listBycorpId"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
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