Commit f1954200 authored by liuzeheng's avatar liuzeheng

复制价格包装数据复制

parent 3f1e4bd4
......@@ -159,7 +159,15 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> {
"</if>",
"GROUP BY w.title_zh",
"</when>",
"<when test = 'type == 4'>",
"GROUP BY w.shi",
"</when>",
"<when test = 'type == 5'>",
"GROUP BY w.title_zh",
"</when>",
"</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 {
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 {
}
@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("")){
return new ArrayList();
}
List<WarehouseTreeRegionVO> list = warehouseMapper.getRegionList(type,regionId);
List<WarehouseTreeRegionVO> list = warehouseMapper.getRegionList(type,regionId,destCountryId,objectiveId,destWarehouseId);
return list;
}
}
......@@ -101,8 +101,9 @@ public class WarehouseController {
}
@GetMapping("/getRegionList")
public CommonResult<List<WarehouseTreeRegionVO>> getRegionList(@RequestParam(value = "type", required = false) Integer type,String regionId){
List<WarehouseTreeRegionVO> list = warehouseService.getRegionList(type,regionId);
public CommonResult<List<WarehouseTreeRegionVO>> getRegionList(@RequestParam(value = "type", required = false) Integer type,
String regionId,String destCountryId, String objectiveId ,String destWarehouseId){
List<WarehouseTreeRegionVO> list = warehouseService.getRegionList(type,regionId,destCountryId,objectiveId,destWarehouseId);
return success(list);
}
......
......@@ -7,6 +7,9 @@ import lombok.*;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 线路价格特需
*/
@TableName("ecw_product_price_special")
@Data
@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