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
754f9f5f
Commit
754f9f5f
authored
May 26, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充部分页面手机号码加密
parent
e40892a9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
10 deletions
+42
-10
CustomerController.java
.../java/com/house365/web/controller/CustomerController.java
+3
-0
ExternalCustomerController.java
...m/house365/web/controller/ExternalCustomerController.java
+5
-0
PlatformManagementController.java
...house365/web/controller/PlatformManagementController.java
+4
-4
PropertyReportController.java
...com/house365/web/controller/PropertyReportController.java
+16
-2
StatisticController.java
...java/com/house365/web/controller/StatisticController.java
+11
-1
myPlatformCustomer.jsp
...INF/views/platformmanagement/pages/myPlatformCustomer.jsp
+3
-3
No files found.
house365-hgs-web/src/main/java/com/house365/web/controller/CustomerController.java
View file @
754f9f5f
...
@@ -3043,6 +3043,9 @@ public class CustomerController extends BaseController {
...
@@ -3043,6 +3043,9 @@ public class CustomerController extends BaseController {
List
<
CustomerCallbackLogEntity
>
backLogList
=
customerCallbackLog
.
queryByConditions
(
cpMap
);
List
<
CustomerCallbackLogEntity
>
backLogList
=
customerCallbackLog
.
queryByConditions
(
cpMap
);
userEntity
.
setCity
(
cityCode
);
userEntity
.
setCity
(
cityCode
);
if
(
userEntity
.
getShowMobile
()
!=
1
)
{
customerEntity
.
setPhone
(
MobileUtil
.
hidePhone
(
customerEntity
.
getPhone
()));
}
model
.
addAttribute
(
"action"
,
action
);
model
.
addAttribute
(
"action"
,
action
);
model
.
addAttribute
(
"callLogs"
,
backLogList
);
model
.
addAttribute
(
"callLogs"
,
backLogList
);
model
.
addAttribute
(
"customerProjects"
,
cpList
);
model
.
addAttribute
(
"customerProjects"
,
cpList
);
...
...
house365-hgs-web/src/main/java/com/house365/web/controller/ExternalCustomerController.java
View file @
754f9f5f
...
@@ -187,6 +187,11 @@ public class ExternalCustomerController extends BaseController {
...
@@ -187,6 +187,11 @@ public class ExternalCustomerController extends BaseController {
}
}
}
}
if
(
userEntity
.
getShowMobile
()
!=
1
)
{
entity
.
setPhone
(
MobileUtil
.
hidePhone
(
entity
.
getPhone
()));
}
model
.
addAttribute
(
"callLogs"
,
callLogList
);
model
.
addAttribute
(
"callLogs"
,
callLogList
);
model
.
addAttribute
(
"entity"
,
entity
);
model
.
addAttribute
(
"entity"
,
entity
);
List
<
ExternalCustomerEntity
>
oldList
=
new
ArrayList
<>();
List
<
ExternalCustomerEntity
>
oldList
=
new
ArrayList
<>();
...
...
house365-hgs-web/src/main/java/com/house365/web/controller/PlatformManagementController.java
View file @
754f9f5f
...
@@ -649,16 +649,16 @@ public class PlatformManagementController extends BaseController {
...
@@ -649,16 +649,16 @@ public class PlatformManagementController extends BaseController {
String
customerId
=
request
.
getParameter
(
"customerId"
);
String
customerId
=
request
.
getParameter
(
"customerId"
);
String
managerId
=
request
.
getParameter
(
"managerId"
);
String
managerId
=
request
.
getParameter
(
"managerId"
);
String
phone
=
request
.
getParameter
(
"phone"
);
//
String phone = request.getParameter("phone");
String
action
=
request
.
getParameter
(
"action"
);
String
action
=
request
.
getParameter
(
"action"
);
CustomerEntity
customerEntity
;
CustomerEntity
customerEntity
;
CustomerResponse
customerResponse
=
customer
.
getCustomerById
(
Integer
.
valueOf
(
customerId
));
if
(
StringUtils
.
isEmpty
(
managerId
))
{
//公海客户详情页
if
(
StringUtils
.
isEmpty
(
managerId
))
{
//公海客户详情页
CustomerResponse
customerResponse
=
customer
.
getCustomerById
(
Integer
.
valueOf
(
customerId
));
customerEntity
=
customerResponse
.
getEntity
();
customerEntity
=
customerResponse
.
getEntity
();
}
else
{
}
else
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
10
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
10
);
map
.
put
(
"managerId"
,
managerId
);
map
.
put
(
"managerId"
,
managerId
);
map
.
put
(
"phone"
,
phone
);
map
.
put
(
"phone"
,
customerResponse
.
getEntity
().
getPhone
()
);
customerEntity
=
customer
.
getMergeCustomerId
(
map
);
customerEntity
=
customer
.
getMergeCustomerId
(
map
);
}
}
...
@@ -735,7 +735,7 @@ public class PlatformManagementController extends BaseController {
...
@@ -735,7 +735,7 @@ public class PlatformManagementController extends BaseController {
map
.
put
(
"relateId"
,
customerEntity
.
getId
());
map
.
put
(
"relateId"
,
customerEntity
.
getId
());
list
=
logInterface
.
queryByConditions
(
map
);
list
=
logInterface
.
queryByConditions
(
map
);
}
else
{
}
else
{
map
.
put
(
"phone"
,
phone
);
map
.
put
(
"phone"
,
customerEntity
.
getPhone
()
);
map
.
put
(
"managerId"
,
managerId
);
map
.
put
(
"managerId"
,
managerId
);
map
.
put
(
"idList"
,
customerIdList
);
map
.
put
(
"idList"
,
customerIdList
);
list
=
logInterface
.
queryByConditions
(
map
);
list
=
logInterface
.
queryByConditions
(
map
);
...
...
house365-hgs-web/src/main/java/com/house365/web/controller/PropertyReportController.java
View file @
754f9f5f
...
@@ -77,8 +77,18 @@ public class PropertyReportController extends BaseController {
...
@@ -77,8 +77,18 @@ public class PropertyReportController extends BaseController {
listRequest
.
setPaging
(
page
);
listRequest
.
setPaging
(
page
);
listRequest
.
setSearchParams
(
searchParams
);
listRequest
.
setSearchParams
(
searchParams
);
MapListResponse
response
=
reportInterface
.
list
(
listRequest
);
MapListResponse
response
=
reportInterface
.
list
(
listRequest
);
List
<
Map
<
String
,
Object
>>
objectList
=
response
.
getObjectList
();
if
(
userEntity
.
getShowMobile
()
!=
1
)
{
for
(
Map
<
String
,
Object
>
i
:
objectList
)
{
if
(
i
!=
null
&&
i
.
containsKey
(
"phone"
))
{
i
.
replace
(
"phone"
,
MobileUtil
.
hidePhone
(
String
.
valueOf
(
i
.
get
(
"phone"
))));
}
}
}
model
.
addAttribute
(
"page"
,
response
.
getPaging
());
model
.
addAttribute
(
"page"
,
response
.
getPaging
());
model
.
addAttribute
(
"dataList"
,
response
.
getObjectList
()
);
model
.
addAttribute
(
"dataList"
,
objectList
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
logger
.
error
(
"置业报告列表"
,
e
);
logger
.
error
(
"置业报告列表"
,
e
);
...
@@ -154,7 +164,8 @@ public class PropertyReportController extends BaseController {
...
@@ -154,7 +164,8 @@ public class PropertyReportController extends BaseController {
* @return 结果视图
* @return 结果视图
*/
*/
@RequestMapping
(
value
=
"toEdit/{customerId}"
)
@RequestMapping
(
value
=
"toEdit/{customerId}"
)
public
String
toEdit
(
Model
model
,
@PathVariable
int
customerId
)
{
public
String
toEdit
(
Model
model
,
@PathVariable
int
customerId
,
HttpServletRequest
request
)
{
UserEntity
userEntity
=
(
UserEntity
)
request
.
getSession
().
getAttribute
(
SessionConstants
.
THREAD_USER_KEY
);
CustomerEntity
entity
=
customer
.
queryById
(
customerId
);
CustomerEntity
entity
=
customer
.
queryById
(
customerId
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
5
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
5
);
map
.
put
(
"customerId"
,
customerId
);
map
.
put
(
"customerId"
,
customerId
);
...
@@ -184,6 +195,9 @@ public class PropertyReportController extends BaseController {
...
@@ -184,6 +195,9 @@ public class PropertyReportController extends BaseController {
report
.
setChannel
(
channel
);
report
.
setChannel
(
channel
);
model
.
addAttribute
(
"report"
,
report
);
model
.
addAttribute
(
"report"
,
report
);
}
}
if
(
userEntity
.
getShowMobile
()
!=
1
)
{
entity
.
setPhone
(
MobileUtil
.
hidePhone
(
entity
.
getPhone
()));
}
model
.
addAttribute
(
"data"
,
entity
);
model
.
addAttribute
(
"data"
,
entity
);
return
getAutoUrl
(
"update"
);
return
getAutoUrl
(
"update"
);
}
}
...
...
house365-hgs-web/src/main/java/com/house365/web/controller/StatisticController.java
View file @
754f9f5f
...
@@ -3534,6 +3534,7 @@ public class StatisticController extends BaseController {
...
@@ -3534,6 +3534,7 @@ public class StatisticController extends BaseController {
public
String
transactionStatusReport
(
Integer
number
,
Model
model
,
HttpServletRequest
request
)
{
public
String
transactionStatusReport
(
Integer
number
,
Model
model
,
HttpServletRequest
request
)
{
try
{
try
{
DepartmentEntity
dept
=
(
DepartmentEntity
)
request
.
getSession
().
getAttribute
(
SESSION_CURRNET_DEPT_KEY
);
DepartmentEntity
dept
=
(
DepartmentEntity
)
request
.
getSession
().
getAttribute
(
SESSION_CURRNET_DEPT_KEY
);
UserEntity
userEntity
=
(
UserEntity
)
request
.
getSession
().
getAttribute
(
SessionConstants
.
THREAD_USER_KEY
);
Map
<
String
,
Object
>
searchParams
=
Servlets
.
getParametersStartingWith
(
request
,
"search_"
);
Map
<
String
,
Object
>
searchParams
=
Servlets
.
getParametersStartingWith
(
request
,
"search_"
);
String
city
=
dept
.
getDescripition
();
String
city
=
dept
.
getDescripition
();
String
startTime
=
request
.
getParameter
(
"startTime"
);
String
startTime
=
request
.
getParameter
(
"startTime"
);
...
@@ -3552,8 +3553,17 @@ public class StatisticController extends BaseController {
...
@@ -3552,8 +3553,17 @@ public class StatisticController extends BaseController {
listRequest
.
setPaging
(
page
);
listRequest
.
setPaging
(
page
);
listRequest
.
setSearchParams
(
searchParams
);
listRequest
.
setSearchParams
(
searchParams
);
MapListResponse
response
=
customerProject
.
list
(
listRequest
,
city
,
startTime
,
endTime
);
MapListResponse
response
=
customerProject
.
list
(
listRequest
,
city
,
startTime
,
endTime
);
List
<
Map
<
String
,
Object
>>
objectList
=
response
.
getObjectList
();
if
(
userEntity
.
getShowMobile
()
!=
1
)
{
for
(
Map
<
String
,
Object
>
i
:
objectList
)
{
if
(
i
!=
null
&&
i
.
containsKey
(
"phone"
))
{
i
.
replace
(
"phone"
,
MobileUtil
.
hidePhone
(
String
.
valueOf
(
i
.
get
(
"phone"
))));
}
}
}
model
.
addAttribute
(
"page"
,
response
.
getPaging
());
model
.
addAttribute
(
"page"
,
response
.
getPaging
());
model
.
addAttribute
(
"dataList"
,
response
.
getObjectList
()
);
model
.
addAttribute
(
"dataList"
,
objectList
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
"查询成交状态报表失败"
,
e
);
logger
.
error
(
"查询成交状态报表失败"
,
e
);
}
}
...
...
house365-hgs-web/src/main/webapp/WEB-INF/views/platformmanagement/pages/myPlatformCustomer.jsp
View file @
754f9f5f
...
@@ -687,7 +687,7 @@
...
@@ -687,7 +687,7 @@
</div>
</div>
</c:if>
</c:if>
<div
class=
"mangerOperate__detail"
<div
class=
"mangerOperate__detail"
onclick=
"customerInfo(${customer.id}, '${customer.managerId}'
, ${customer.phone}
)"
>
查看详情
onclick=
"customerInfo(${customer.id}, '${customer.managerId}')"
>
查看详情
</div>
</div>
<
%
--
<
div
class=
"mangerOperate__detail"
--
%
>
<
%
--
<
div
class=
"mangerOperate__detail"
--
%
>
<
%
--onclick=
"deleteById(${customer.id})"
>
删除--%>
<
%
--onclick=
"deleteById(${customer.id})"
>
删除--%>
...
@@ -876,9 +876,9 @@
...
@@ -876,9 +876,9 @@
});
});
}
}
function
customerInfo
(
id
,
managerId
,
phone
)
{
function
customerInfo
(
id
,
managerId
)
{
setCookie
(
"lastChoseCustomerId"
,
id
);
setCookie
(
"lastChoseCustomerId"
,
id
);
window
.
open
(
"/house365-hgs-web/platformmanagement/customerInfo?customerId="
+
id
+
"&managerId="
+
managerId
+
"&phone="
+
phone
,
"_blank"
);
window
.
open
(
"/house365-hgs-web/platformmanagement/customerInfo?customerId="
+
id
+
"&managerId="
+
managerId
,
"_blank"
);
}
}
function
deleteById
(
customerId
)
{
function
deleteById
(
customerId
)
{
...
...
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