Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
28f1302d
Commit
28f1302d
authored
Oct 28, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户告知书13
parent
1ea0aa74
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+9
-0
yd-api/src/main/java/com/yd/dal/mapper/marketing/MktLeadsAssignedTrackMapper.java
+3
-0
yd-api/src/main/java/com/yd/dal/service/marketing/Impl/MktLeadsAssignedTrackDALServiceImpl.java
+5
-0
yd-api/src/main/java/com/yd/dal/service/marketing/MktLeadsAssignedTrackDALService.java
+2
-0
yd-api/src/main/resources/mapper/marketing/MktLeadsAssignedTrackMapper.xml
+6
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
28f1302d
...
@@ -3670,6 +3670,8 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -3670,6 +3670,8 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
track
.
setTrackScore
(
dropOption
.
getDropOptionScore
());
track
.
setTrackScore
(
dropOption
.
getDropOptionScore
());
//保存
//保存
mktLeadsAssignedTrackDALService
.
saveTrack
(
track
);
mktLeadsAssignedTrackDALService
.
saveTrack
(
track
);
//更新所有商机状态
mktLeadsAssignedTrackDALService
.
updateCustomerIdByLeadsAssignedId
(
newerCustomer
.
getId
(),
requestVO
.
getLeadsAssignedId
());
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
resp
.
setId
(
informed
.
getId
());
resp
.
setId
(
informed
.
getId
());
...
@@ -3700,6 +3702,13 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -3700,6 +3702,13 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
public
CommonResultIDResponseVO
updateInformedSheetById
(
UpdateInformedSheetByIdRequestVO
requestVO
)
{
public
CommonResultIDResponseVO
updateInformedSheetById
(
UpdateInformedSheetByIdRequestVO
requestVO
)
{
CommonResultIDResponseVO
resp
=
new
CommonResultIDResponseVO
();
CommonResultIDResponseVO
resp
=
new
CommonResultIDResponseVO
();
try
{
try
{
String
policyNo
=
requestVO
.
getPolicyNo
();
String
orderNo
=
poOrderDALService
.
findOrderNoByPolicyNo
(
policyNo
);
if
(
StringUtils
.
isBlank
(
orderNo
))
{
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"保单号不存在"
));
return
resp
;
}
// 更新保单号
// 更新保单号
AgPoInformed
informed
=
informedMapper
.
selectByPrimaryKey
(
requestVO
.
getId
());
AgPoInformed
informed
=
informedMapper
.
selectByPrimaryKey
(
requestVO
.
getId
());
BeanUtils
.
copyProperties
(
requestVO
,
informed
);
BeanUtils
.
copyProperties
(
requestVO
,
informed
);
...
...
yd-api/src/main/java/com/yd/dal/mapper/marketing/MktLeadsAssignedTrackMapper.java
View file @
28f1302d
...
@@ -35,4 +35,6 @@ public interface MktLeadsAssignedTrackMapper {
...
@@ -35,4 +35,6 @@ public interface MktLeadsAssignedTrackMapper {
void
deleteScheduleTrackById
(
Long
scheduleTrackId
);
void
deleteScheduleTrackById
(
Long
scheduleTrackId
);
int
updateInformedOssPathByInformedId
(
@Param
(
"informedOssPath"
)
String
InformedOssPath
,
@Param
(
"informedId"
)
Long
informedId
);
int
updateInformedOssPathByInformedId
(
@Param
(
"informedOssPath"
)
String
InformedOssPath
,
@Param
(
"informedId"
)
Long
informedId
);
int
updateCustomerIdByLeadsAssignedId
(
@Param
(
"customerId"
)
Long
customerId
,
@Param
(
"leadsAssignedId"
)
Long
leadsAssignedId
);
}
}
\ No newline at end of file
yd-api/src/main/java/com/yd/dal/service/marketing/Impl/MktLeadsAssignedTrackDALServiceImpl.java
View file @
28f1302d
...
@@ -65,4 +65,9 @@ public class MktLeadsAssignedTrackDALServiceImpl implements MktLeadsAssignedTrac
...
@@ -65,4 +65,9 @@ public class MktLeadsAssignedTrackDALServiceImpl implements MktLeadsAssignedTrac
public
int
updateInformedOssPathByInformedId
(
String
ossPath
,
Long
informedId
)
{
public
int
updateInformedOssPathByInformedId
(
String
ossPath
,
Long
informedId
)
{
return
mktLeadsAssignedTrackMapper
.
updateInformedOssPathByInformedId
(
ossPath
,
informedId
);
return
mktLeadsAssignedTrackMapper
.
updateInformedOssPathByInformedId
(
ossPath
,
informedId
);
}
}
@Override
public
int
updateCustomerIdByLeadsAssignedId
(
Long
customerId
,
Long
leadsAssignedId
)
{
return
mktLeadsAssignedTrackMapper
.
updateCustomerIdByLeadsAssignedId
(
customerId
,
leadsAssignedId
);
}
}
}
yd-api/src/main/java/com/yd/dal/service/marketing/MktLeadsAssignedTrackDALService.java
View file @
28f1302d
...
@@ -36,4 +36,6 @@ public interface MktLeadsAssignedTrackDALService {
...
@@ -36,4 +36,6 @@ public interface MktLeadsAssignedTrackDALService {
void
deleteScheduleTrackById
(
Long
scheduleTrackId
);
void
deleteScheduleTrackById
(
Long
scheduleTrackId
);
int
updateInformedOssPathByInformedId
(
String
ossPath
,
Long
informedId
);
int
updateInformedOssPathByInformedId
(
String
ossPath
,
Long
informedId
);
int
updateCustomerIdByLeadsAssignedId
(
Long
customerId
,
Long
leadsAssignedId
);
}
}
yd-api/src/main/resources/mapper/marketing/MktLeadsAssignedTrackMapper.xml
View file @
28f1302d
...
@@ -395,4 +395,9 @@
...
@@ -395,4 +395,9 @@
set informed_oss_path = #{informedOssPath,jdbcType=VARCHAR}
set informed_oss_path = #{informedOssPath,jdbcType=VARCHAR}
where informed_id = #{informedId,jdbcType=BIGINT}
where informed_id = #{informedId,jdbcType=BIGINT}
</update>
</update>
<update
id=
"updateCustomerIdByLeadsAssignedId"
>
update ag_mkt_leads_assigned_track
set customer_id = #{customerId,jdbcType=BIGINT}
where leads_assigned_id = #{leadsAssignedId,jdbcType=BIGINT}
</update>
</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