Commit f1954200 authored by liuzeheng's avatar liuzeheng

复制价格包装数据复制

parent 3f1e4bd4
...@@ -159,7 +159,15 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> { ...@@ -159,7 +159,15 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> {
"</if>", "</if>",
"GROUP BY w.title_zh", "GROUP BY w.title_zh",
"</when>", "</when>",
"<when test = 'type == 4'>",
"GROUP BY w.shi",
"</when>",
"<when test = 'type == 5'>",
"GROUP BY w.title_zh",
"</when>",
"</script>" "</script>"
}) })
List<WarehouseTreeRegionVO> getRegionList(@Param("type") Integer type, @Param("regionId") String regionId); List<WarehouseTreeRegionVO> getRegionList(@Param("type") Integer type,@Param("regionId") String regionId,
@Param("destCountryId") String destCountryId,@Param("objectiveId") String objectiveId,
@Param("destWarehouseId") String destWarehouseId);
} }
...@@ -171,5 +171,5 @@ public interface WarehouseService { ...@@ -171,5 +171,5 @@ public interface WarehouseService {
List<WarehouseTreeRegionVO> getWarehouseTreeRegionList(Integer tradeType); List<WarehouseTreeRegionVO> getWarehouseTreeRegionList(Integer tradeType);
List<WarehouseTreeRegionVO> getRegionList(Integer type, String regionId); List<WarehouseTreeRegionVO> getRegionList(Integer type, String regionId, String destCountryId, String objectiveId, String destWarehouseId);
} }
...@@ -514,11 +514,11 @@ public class WarehouseServiceImpl implements WarehouseService { ...@@ -514,11 +514,11 @@ public class WarehouseServiceImpl implements WarehouseService {
} }
@Override @Override
public List<WarehouseTreeRegionVO> getRegionList(Integer type, String regionId) { public List<WarehouseTreeRegionVO> getRegionList(Integer type, String regionId, String destCountryId, String objectiveId, String destWarehouseId) {
if(regionId.equals("")){ if(regionId.equals("")){
return new ArrayList(); return new ArrayList();
} }
List<WarehouseTreeRegionVO> list = warehouseMapper.getRegionList(type,regionId); List<WarehouseTreeRegionVO> list = warehouseMapper.getRegionList(type,regionId,destCountryId,objectiveId,destWarehouseId);
return list; return list;
} }
} }
...@@ -101,8 +101,9 @@ public class WarehouseController { ...@@ -101,8 +101,9 @@ public class WarehouseController {
} }
@GetMapping("/getRegionList") @GetMapping("/getRegionList")
public CommonResult<List<WarehouseTreeRegionVO>> getRegionList(@RequestParam(value = "type", required = false) Integer type,String regionId){ public CommonResult<List<WarehouseTreeRegionVO>> getRegionList(@RequestParam(value = "type", required = false) Integer type,
List<WarehouseTreeRegionVO> list = warehouseService.getRegionList(type,regionId); String regionId,String destCountryId, String objectiveId ,String destWarehouseId){
List<WarehouseTreeRegionVO> list = warehouseService.getRegionList(type,regionId,destCountryId,objectiveId,destWarehouseId);
return success(list); return success(list);
} }
......
...@@ -7,6 +7,9 @@ import lombok.*; ...@@ -7,6 +7,9 @@ import lombok.*;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
/**
* 线路价格特需
*/
@TableName("ecw_product_price_special") @TableName("ecw_product_price_special")
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment