Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
Hgs
Project
Project
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
徐州
Hgs
Commits
1a47716a
Commit
1a47716a
authored
Jun 04, 2021
by
gaoyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5415ec94
9573799d
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
40 additions
and
18 deletions
+40
-18
PlatformManagementController.java
...house365/web/controller/PlatformManagementController.java
+1
-0
Customer.xml
...hgs-ws/src/main/resources/development/ibatis/Customer.xml
+5
-0
CustomerMapper.xml
...src/main/resources/development/mybatis/CustomerMapper.xml
+1
-1
UserMapper.xml
...-ws/src/main/resources/development/mybatis/UserMapper.xml
+7
-5
Customer.xml
...-hgs-ws/src/main/resources/production/ibatis/Customer.xml
+5
-0
CustomerMapper.xml
.../src/main/resources/production/mybatis/CustomerMapper.xml
+1
-1
UserMapper.xml
...s-ws/src/main/resources/production/mybatis/UserMapper.xml
+7
-5
Customer.xml
house365-hgs-ws/src/main/resources/test/ibatis/Customer.xml
+5
-0
CustomerMapper.xml
...hgs-ws/src/main/resources/test/mybatis/CustomerMapper.xml
+1
-1
UserMapper.xml
...365-hgs-ws/src/main/resources/test/mybatis/UserMapper.xml
+7
-5
No files found.
house365-hgs-web/src/main/java/com/house365/web/controller/PlatformManagementController.java
View file @
1a47716a
...
...
@@ -194,6 +194,7 @@ public class PlatformManagementController extends BaseController {
searchParams
.
put
(
"EQ_orderBy"
,
sortColumn
.
toString
());
searchParams
.
put
(
"EQ_cityCode"
,
cityCode
);
searchParams
.
put
(
"EQ_isDelete"
,
"0"
);
searchParams
.
put
(
"EQ_isShowInPlat"
,
"0"
);
searchParams
.
put
(
"EQ_platformCreater"
,
userEntity
.
getId
());
searchParams
.
put
(
"EQ_customerSourceType"
,
"8"
);
searchParams
.
put
(
"EQ_platformCreateSource"
,
"PT"
);
...
...
house365-hgs-ws/src/main/resources/development/ibatis/Customer.xml
View file @
1a47716a
...
...
@@ -1542,6 +1542,11 @@
star_pt_customer = 0
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.isShowInPlat"
>
<![CDATA[
c.is_show_in_plat $searchFilters.isShowInPlat.operation$ #searchFilters.isShowInPlat.value#
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/development/mybatis/CustomerMapper.xml
View file @
1a47716a
...
...
@@ -865,7 +865,7 @@
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/development/mybatis/UserMapper.xml
View file @
1a47716a
...
...
@@ -270,11 +270,12 @@
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
dd.`name` AS city
FROM `user` u
inner JOIN department dd on u.deptUrlPath = dd.urlPath
where u.id=#{userId}
select
case c.city
when 'zb001' then 'nj'
else c.city end
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</mapper>
\ No newline at end of file
house365-hgs-ws/src/main/resources/production/ibatis/Customer.xml
View file @
1a47716a
...
...
@@ -1542,6 +1542,11 @@
star_pt_customer = 0
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.isShowInPlat"
>
<![CDATA[
c.is_show_in_plat $searchFilters.isShowInPlat.operation$ #searchFilters.isShowInPlat.value#
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/production/mybatis/CustomerMapper.xml
View file @
1a47716a
...
...
@@ -858,7 +858,7 @@
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/production/mybatis/UserMapper.xml
View file @
1a47716a
...
...
@@ -270,11 +270,12 @@
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
dd.`name` AS city
FROM `user` u
inner JOIN department dd on u.deptUrlPath = dd.urlPath
where u.id=#{userId}
select
case c.city
when 'zb001' then 'nj'
else c.city end
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</mapper>
\ No newline at end of file
house365-hgs-ws/src/main/resources/test/ibatis/Customer.xml
View file @
1a47716a
...
...
@@ -1530,6 +1530,11 @@
starCustomer = 0
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.isShowInPlat"
>
<![CDATA[
c.is_show_in_plat $searchFilters.isShowInPlat.operation$ #searchFilters.isShowInPlat.value#
]]>
</isNotEmpty>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/test/mybatis/CustomerMapper.xml
View file @
1a47716a
...
...
@@ -851,7 +851,7 @@
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/test/mybatis/UserMapper.xml
View file @
1a47716a
...
...
@@ -270,11 +270,12 @@
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
dd.`name` AS city
FROM `user` u
inner JOIN department dd on u.deptUrlPath = dd.urlPath
where u.id=#{userId}
select
case c.city
when 'zb001' then 'nj'
else c.city end
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</mapper>
\ No newline at end of file
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