|
@@ -25,7 +25,7 @@ import com.fs.hisStore.service.IFsShippingTemplatesScrmService;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 运费模板Service业务层处理
|
|
* 运费模板Service业务层处理
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @author fs
|
|
* @author fs
|
|
* @date 2022-03-15
|
|
* @date 2022-03-15
|
|
*/
|
|
*/
|
|
@@ -45,7 +45,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 查询运费模板
|
|
* 查询运费模板
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param shippingId 运费模板ID
|
|
* @param shippingId 运费模板ID
|
|
* @return 运费模板
|
|
* @return 运费模板
|
|
*/
|
|
*/
|
|
@@ -57,7 +57,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 查询运费模板列表
|
|
* 查询运费模板列表
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param fsShippingTemplates 运费模板
|
|
* @param fsShippingTemplates 运费模板
|
|
* @return 运费模板
|
|
* @return 运费模板
|
|
*/
|
|
*/
|
|
@@ -69,7 +69,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增运费模板
|
|
* 新增运费模板
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param fsShippingTemplates 运费模板
|
|
* @param fsShippingTemplates 运费模板
|
|
* @return 结果
|
|
* @return 结果
|
|
*/
|
|
*/
|
|
@@ -82,7 +82,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 修改运费模板
|
|
* 修改运费模板
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param fsShippingTemplates 运费模板
|
|
* @param fsShippingTemplates 运费模板
|
|
* @return 结果
|
|
* @return 结果
|
|
*/
|
|
*/
|
|
@@ -95,7 +95,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 批量删除运费模板
|
|
* 批量删除运费模板
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param shippingIds 需要删除的运费模板ID
|
|
* @param shippingIds 需要删除的运费模板ID
|
|
* @return 结果
|
|
* @return 结果
|
|
*/
|
|
*/
|
|
@@ -107,7 +107,7 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
|
|
|
|
/**
|
|
/**
|
|
* 删除运费模板信息
|
|
* 删除运费模板信息
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param shippingId 运费模板ID
|
|
* @param shippingId 运费模板ID
|
|
* @return 结果
|
|
* @return 结果
|
|
*/
|
|
*/
|
|
@@ -123,7 +123,11 @@ public class FsShippingTemplatesScrmServiceImpl implements IFsShippingTemplatesS
|
|
throw new CustomException("请指定包邮地区");
|
|
throw new CustomException("请指定包邮地区");
|
|
}
|
|
}
|
|
FsShippingTemplatesScrm shippingTemplates = new FsShippingTemplatesScrm();
|
|
FsShippingTemplatesScrm shippingTemplates = new FsShippingTemplatesScrm();
|
|
- BeanUtil.copyProperties(fsShippingTemplates,shippingTemplates);
|
|
|
|
|
|
+ shippingTemplates.setId(fsShippingTemplates.getId());
|
|
|
|
+ shippingTemplates.setName(fsShippingTemplates.getName());
|
|
|
|
+ shippingTemplates.setType(fsShippingTemplates.getType());
|
|
|
|
+ shippingTemplates.setSort(fsShippingTemplates.getSort());
|
|
|
|
+ shippingTemplates.setAppoint(fsShippingTemplates.getAppoint());
|
|
shippingTemplates.setRegionInfo(JSON.toJSONString(fsShippingTemplates.getRegionInfo()));
|
|
shippingTemplates.setRegionInfo(JSON.toJSONString(fsShippingTemplates.getRegionInfo()));
|
|
shippingTemplates.setAppointInfo(JSON.toJSONString(fsShippingTemplates.getAppointInfo()));
|
|
shippingTemplates.setAppointInfo(JSON.toJSONString(fsShippingTemplates.getAppointInfo()));
|
|
if(fsShippingTemplates.getId() != null && fsShippingTemplates.getId() > 0){
|
|
if(fsShippingTemplates.getId() != null && fsShippingTemplates.getId() > 0){
|