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
32d1aff2
Commit
32d1aff2
authored
May 31, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决部分bug
parent
fe6448a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
CustomerWechat.java
.../java/com/house365/ws/interfaces/rest/CustomerWechat.java
+8
-1
ProjectWechat.java
...n/java/com/house365/ws/interfaces/rest/ProjectWechat.java
+3
-1
applicationContext-quartz.xml
...rces/production/application/applicationContext-quartz.xml
+1
-1
No files found.
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/rest/CustomerWechat.java
View file @
32d1aff2
...
...
@@ -357,7 +357,9 @@ public class CustomerWechat implements ICustomerWechat {
try
{
House365RestObject
<
CustomerEntity
>
data
=
doGetHotLineCustomer
(
map
);
if
(
entity
.
getShowMobile
()
!=
1
)
{
data
.
getEntity
().
setPhone
(
MobileUtil
.
hidePhone
(
data
.
getEntity
().
getPhone
()));
if
(
data
!=
null
&&
data
.
getEntity
()
!=
null
)
{
data
.
getEntity
().
setPhone
(
MobileUtil
.
hidePhone
(
data
.
getEntity
().
getPhone
()));
}
}
response
.
setResult
(
ReturnAppResult
.
APP_SUCCESS
.
getResultCode
());
response
.
setMsg
(
ReturnAppResult
.
APP_SUCCESS
.
getResultMessage
());
...
...
@@ -1824,10 +1826,15 @@ public class CustomerWechat implements ICustomerWechat {
// 取得所需参数
Map
<
String
,
Object
>
map
=
parameter
.
getArgs
();
House365RestResponse
<
CustomerEntity
>
response
=
new
House365RestResponse
<>();
String
phone
=
getMapValueByKey
(
Constant
.
CUSTOMER_PHONE
,
map
,
""
);
UserEntity
entity
=
getUserEntity
(
phone
);
// 业务层统一处理
try
{
House365RestObject
<
CustomerEntity
>
data
=
doGetManagers
(
map
);
if
(
entity
.
getShowMobile
()
!=
1
)
{
data
.
getEntity
().
setPhone
(
MobileUtil
.
hidePhone
(
data
.
getEntity
().
getPhone
()));
}
response
.
setResult
(
ReturnAppResult
.
APP_SUCCESS
.
getResultCode
());
response
.
setMsg
(
ReturnAppResult
.
APP_SUCCESS
.
getResultMessage
());
response
.
setData
(
data
);
...
...
house365-hgs-ws/src/main/java/com/house365/ws/interfaces/rest/ProjectWechat.java
View file @
32d1aff2
...
...
@@ -278,7 +278,9 @@ public class ProjectWechat implements IProjectWechat {
try
{
House365RestObject
<
CustomerEntity
>
data
=
doGetCustomers
(
map
);
if
(
entity
.
getShowMobile
()
!=
1
)
{
data
.
getEntity
().
setPhone
(
MobileUtil
.
hidePhone
(
data
.
getEntity
().
getPhone
()));
if
(
data
!=
null
&&
data
.
getEntity
()
!=
null
)
{
data
.
getEntity
().
setPhone
(
MobileUtil
.
hidePhone
(
data
.
getEntity
().
getPhone
()));
}
}
response
.
setResult
(
ReturnAppResult
.
APP_SUCCESS
.
getResultCode
());
response
.
setMsg
(
ReturnAppResult
.
APP_SUCCESS
.
getResultMessage
());
...
...
house365-hgs-ws/src/main/resources/production/application/applicationContext-quartz.xml
View file @
32d1aff2
...
...
@@ -772,7 +772,7 @@
<bean
id=
"addMarketActivity"
class=
"org.springframework.scheduling.quartz.CronTriggerBean"
>
<property
name=
"jobDetail"
ref=
"addMarketCus"
/>
<property
name=
"cronExpression"
value=
"0 10
3
* * ? *"
/>
<property
name=
"cronExpression"
value=
"0 10
0
* * ? *"
/>
</bean>
<bean
id=
"addMarketCus"
class=
"org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
>
...
...
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