|
|
@@ -285,7 +285,7 @@ public class FsStoreAfterSalesScrmServiceImpl implements IFsStoreAfterSalesScrmS
|
|
|
@Transactional
|
|
|
public R applyForAfterSales(long userId, FsStoreAfterSalesParam storeAfterSalesParam) {
|
|
|
logger.info("申请退款请求信息:"+JSONUtil.toJsonStr(storeAfterSalesParam));
|
|
|
-
|
|
|
+
|
|
|
// 查询配置:是否删除历史售后数据
|
|
|
try {
|
|
|
String deleteAfterSalesConfig = configService.selectConfigByKey("delete_after_sales");
|
|
|
@@ -309,7 +309,7 @@ public class FsStoreAfterSalesScrmServiceImpl implements IFsStoreAfterSalesScrmS
|
|
|
} catch (Exception e) {
|
|
|
logger.error("查询或更新历史售后数据失败", e);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
FsStoreOrderScrm order=orderService.selectFsStoreOrderByOrderCode(storeAfterSalesParam.getOrderCode());
|
|
|
Integer orderStatus = order.getStatus();
|
|
|
if(!order.getUserId().equals(userId)){
|
|
|
@@ -629,7 +629,7 @@ public class FsStoreAfterSalesScrmServiceImpl implements IFsStoreAfterSalesScrmS
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @DataScope(deptAlias = "cu", userAlias = "cu")
|
|
|
+// @DataScope(deptAlias = "cu", userAlias = "cu")
|
|
|
public List<FsStoreAfterSalesVO> selectFsStoreAfterSalesListVO(FsStoreAfterSalesScrm fsStoreAfterSales) {
|
|
|
List<FsStoreAfterSalesVO> fsStoreAfterSalesVOS = fsStoreAfterSalesMapper.selectFsStoreAfterSalesListVO(fsStoreAfterSales);
|
|
|
List<Long> orderIds = new ArrayList<>();
|