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
9573799d
Commit
9573799d
authored
Jun 03, 2021
by
huagnxiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全链条修改bug,二维码城市已经平台客户批量删除
parent
9140c971
Hide 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 @
9573799d
...
@@ -194,6 +194,7 @@ public class PlatformManagementController extends BaseController {
...
@@ -194,6 +194,7 @@ public class PlatformManagementController extends BaseController {
searchParams
.
put
(
"EQ_orderBy"
,
sortColumn
.
toString
());
searchParams
.
put
(
"EQ_orderBy"
,
sortColumn
.
toString
());
searchParams
.
put
(
"EQ_cityCode"
,
cityCode
);
searchParams
.
put
(
"EQ_cityCode"
,
cityCode
);
searchParams
.
put
(
"EQ_isDelete"
,
"0"
);
searchParams
.
put
(
"EQ_isDelete"
,
"0"
);
searchParams
.
put
(
"EQ_isShowInPlat"
,
"0"
);
searchParams
.
put
(
"EQ_platformCreater"
,
userEntity
.
getId
());
searchParams
.
put
(
"EQ_platformCreater"
,
userEntity
.
getId
());
searchParams
.
put
(
"EQ_customerSourceType"
,
"8"
);
searchParams
.
put
(
"EQ_customerSourceType"
,
"8"
);
searchParams
.
put
(
"EQ_platformCreateSource"
,
"PT"
);
searchParams
.
put
(
"EQ_platformCreateSource"
,
"PT"
);
...
...
house365-hgs-ws/src/main/resources/development/ibatis/Customer.xml
View file @
9573799d
...
@@ -1542,6 +1542,11 @@
...
@@ -1542,6 +1542,11 @@
star_pt_customer = 0
star_pt_customer = 0
]]>
]]>
</isNotEmpty>
</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"
>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/development/mybatis/CustomerMapper.xml
View file @
9573799d
...
@@ -865,7 +865,7 @@
...
@@ -865,7 +865,7 @@
</select>
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
WHERE
id
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/development/mybatis/UserMapper.xml
View file @
9573799d
...
@@ -270,11 +270,12 @@
...
@@ -270,11 +270,12 @@
</update>
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
select
dd.`name` AS city
case c.city
FROM `user` u
when 'zb001' then 'nj'
inner JOIN department dd on u.deptUrlPath = dd.urlPath
else c.city end
where u.id=#{userId}
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
house365-hgs-ws/src/main/resources/production/ibatis/Customer.xml
View file @
9573799d
...
@@ -1542,6 +1542,11 @@
...
@@ -1542,6 +1542,11 @@
star_pt_customer = 0
star_pt_customer = 0
]]>
]]>
</isNotEmpty>
</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"
>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/production/mybatis/CustomerMapper.xml
View file @
9573799d
...
@@ -858,7 +858,7 @@
...
@@ -858,7 +858,7 @@
</select>
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
WHERE
id
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/production/mybatis/UserMapper.xml
View file @
9573799d
...
@@ -270,11 +270,12 @@
...
@@ -270,11 +270,12 @@
</update>
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
select
dd.`name` AS city
case c.city
FROM `user` u
when 'zb001' then 'nj'
inner JOIN department dd on u.deptUrlPath = dd.urlPath
else c.city end
where u.id=#{userId}
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
house365-hgs-ws/src/main/resources/test/ibatis/Customer.xml
View file @
9573799d
...
@@ -1530,6 +1530,11 @@
...
@@ -1530,6 +1530,11 @@
starCustomer = 0
starCustomer = 0
]]>
]]>
</isNotEmpty>
</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"
>
<isNotEmpty
prepend=
"AND"
property=
"searchFilters.starCustomer"
>
<![CDATA[
<![CDATA[
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
starCustomer $searchFilters.starCustomer.operation$ #searchFilters.starCustomer.value#
...
...
house365-hgs-ws/src/main/resources/test/mybatis/CustomerMapper.xml
View file @
9573799d
...
@@ -851,7 +851,7 @@
...
@@ -851,7 +851,7 @@
</select>
</select>
<update
id=
"updateIdList"
parameterType=
"list"
>
<update
id=
"updateIdList"
parameterType=
"list"
>
update customer set is_
delete
=1
update customer set is_
show_in_plat
=1
WHERE
WHERE
id
id
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
<foreach
collection=
"list"
item=
"id"
open=
"in ("
close=
")"
separator=
","
>
...
...
house365-hgs-ws/src/main/resources/test/mybatis/UserMapper.xml
View file @
9573799d
...
@@ -270,11 +270,12 @@
...
@@ -270,11 +270,12 @@
</update>
</update>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
<select
id=
"getCityById"
parameterType=
"String"
resultType=
"String"
>
SELECT
select
dd.`name` AS city
case c.city
FROM `user` u
when 'zb001' then 'nj'
inner JOIN department dd on u.deptUrlPath = dd.urlPath
else c.city end
where u.id=#{userId}
as city
from user u inner join city_urlpath c on SUBSTRING_INDEX(u.deptUrlPath,'/',3)=c.urlpath where u.id=#{userId}
</select>
</select>
</mapper>
</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