fix:三明治铺位审批通过后将详细地址写入门店信息表
This commit is contained in:
@@ -519,6 +519,14 @@ public class PointServiceImpl implements PointService {
|
|||||||
if (AuditStatusEnum.REJECT.equals(auditStatus)) {
|
if (AuditStatusEnum.REJECT.equals(auditStatus)) {
|
||||||
return auditRejectDeal(pointInfo, request.getReason());
|
return auditRejectDeal(pointInfo, request.getReason());
|
||||||
}
|
}
|
||||||
|
// 如果是三明治,将地址写入门店信息表
|
||||||
|
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(pointInfo.getShopId());
|
||||||
|
if (Objects.nonNull(shopInfo) && Integer.valueOf(shopInfo.getFranchiseBrand()).equals(FranchiseBrandEnum.ZXSMZ.getCode())) {
|
||||||
|
ShopInfoDO updateShopInfo = new ShopInfoDO();
|
||||||
|
updateShopInfo.setId(pointInfo.getShopId());
|
||||||
|
updateShopInfo.setDetailAddress(pointInfo.getAddress());
|
||||||
|
shopInfoDAO.updateShopInfo(updateShopInfo);
|
||||||
|
}
|
||||||
//处理下一节点任务及更新point状态
|
//处理下一节点任务及更新point状态
|
||||||
return dealNextAuditRecord(pointInfo, pointAuditRecordMap, pointTodo.getNodeNo());
|
return dealNextAuditRecord(pointInfo, pointAuditRecordMap, pointTodo.getNodeNo());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user