Commit 1b43020a authored by zhengyi's avatar zhengyi

补充提交

parent 492c0a95
...@@ -154,7 +154,7 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> { ...@@ -154,7 +154,7 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> {
"LEFT JOIN ecw_region r2 ", "LEFT JOIN ecw_region r2 ",
"ON w.shi = r2.id ", "ON w.shi = r2.id ",
"WHERE w.deleted = 0 AND w.`status` =0 ", "WHERE w.deleted = 0 AND w.`status` =0 ",
"<if test= 'tradeType != null'>", "<when test= 'tradeType != null'>",
"AND trade_type =#{tradeType}", "AND trade_type =#{tradeType}",
"</when>", "</when>",
"</script>" "</script>"
......
...@@ -103,7 +103,7 @@ public class WarehouseController { ...@@ -103,7 +103,7 @@ public class WarehouseController {
@GetMapping("/getWarehouseTreeList") @GetMapping("/getWarehouseTreeList")
@ApiModelProperty("获取仓库区域树形列表") @ApiModelProperty("获取仓库区域树形列表")
@ApiImplicitParam(name = "tradeType", value = "进出口类型,1-进口,2-出口", required = false, example = "1", dataTypeClass = Integer.class) @ApiImplicitParam(name = "tradeType", value = "进出口类型,1-进口,2-出口", required = false, example = "1", dataTypeClass = Integer.class)
public CommonResult<List<WarehouseTreeVO>> getWarehouseTreeLis(Integer tradeType){ public CommonResult<List<WarehouseTreeVO>> getWarehouseTreeList(Integer tradeType){
List<WarehouseTreeVO> list = warehouseService.getWarehouseTreeList(tradeType); List<WarehouseTreeVO> list = warehouseService.getWarehouseTreeList(tradeType);
return success(list); return success(list);
} }
......
...@@ -179,7 +179,7 @@ public class AppWarehouseController { ...@@ -179,7 +179,7 @@ public class AppWarehouseController {
@GetMapping("/getWarehouseTreeList") @GetMapping("/getWarehouseTreeList")
@ApiModelProperty("获取仓库区域树形列表") @ApiModelProperty("获取仓库区域树形列表")
@ApiImplicitParam(name = "tradeType", value = "进出口类型,1-进口,2-出口", required = false, example = "1", dataTypeClass = Integer.class) @ApiImplicitParam(name = "tradeType", value = "进出口类型,1-进口,2-出口", required = false, example = "1", dataTypeClass = Integer.class)
public CommonResult<List<WarehouseTreeVO>> getWarehouseTreeLis(Integer tradeType){ public CommonResult<List<WarehouseTreeVO>> getWarehouseTreeList(Integer tradeType){
List<WarehouseTreeVO> list = warehouseService.getWarehouseTreeList(tradeType); List<WarehouseTreeVO> list = warehouseService.getWarehouseTreeList(tradeType);
return success(list); return success(list);
} }
......
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