去掉多余接口
This commit is contained in:
parent
ee7f52ca3b
commit
89a6d309b5
|
|
@ -282,14 +282,6 @@ public class InvoicingApi {
|
||||||
return Result.OK("操作成功");
|
return Result.OK("操作成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value="采购单-修改库房物料是否启用", notes="采购单-修改库房物料是否启用")
|
|
||||||
@AutoLog(value = "采购单-修改库房物料是否启用",clientType="app")
|
|
||||||
@PostMapping(value = "/updateWarehouserEnabled")
|
|
||||||
public Result<String> updateWarehouserEnabled(@RequestBody MaterialInfoEntity materialInfoEntity, HttpServletRequest req) {
|
|
||||||
invoicingApi.updateWarehouserEnabled(materialInfoEntity);
|
|
||||||
return Result.OK("操作成功");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@ApiOperation(value="采购单-获取物料分类树可采购的物料数量(库房列表使用)", notes="采购单-获取物料分类树可采购的物料数量(库房列表使用)")
|
@ApiOperation(value="采购单-获取物料分类树可采购的物料数量(库房列表使用)", notes="采购单-获取物料分类树可采购的物料数量(库房列表使用)")
|
||||||
@GetMapping(value = "/getTreeDataWlnum")
|
@GetMapping(value = "/getTreeDataWlnum")
|
||||||
|
|
@ -438,11 +430,6 @@ public class InvoicingApi {
|
||||||
return Result.error(pddMap.get("message").toString());
|
return Result.error(pddMap.get("message").toString());
|
||||||
}
|
}
|
||||||
Map<String,String> result = invoicingApi.editPrice(cgdInfoEntityDto);
|
Map<String,String> result = invoicingApi.editPrice(cgdInfoEntityDto);
|
||||||
// if(StringUtils.equals("2",result)){
|
|
||||||
// return Result.error("入库数量错误,超过采购数量");
|
|
||||||
// }else if(StringUtils.equals("3",result)){
|
|
||||||
// return Result.error("销账数量错误,超过采购数量");
|
|
||||||
// }
|
|
||||||
return Result.OK(result);
|
return Result.OK(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue