判断参数

This commit is contained in:
jing's 2024-03-14 16:15:40 +08:00
parent 9627157746
commit 9b7f3b2a1d
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ public class EbomApi extends BaseApi {
@GetMapping("editDetail") @GetMapping("editDetail")
@ApiOperation("编辑物料列表") @ApiOperation("编辑物料列表")
public ResultVO<BomNewEbomEditDetailVO> editDetail(@RequestParam("rowId") Long rowId,@RequestParam("bomRowId") Long bomRowId,@RequestParam("projectType") String projectType) { public ResultVO<BomNewEbomEditDetailVO> editDetail(@RequestParam("rowId") Long rowId,@RequestParam("bomRowId") Long bomRowId,@RequestParam("projectType") String projectType) {
if(Objects.isNull(bomRowId)){ if(Objects.isNull(rowId)){
VUtils.isTure(true ).throwMessage("rowId 不能为空"); VUtils.isTure(true ).throwMessage("rowId 不能为空");
} }
if(Objects.isNull(bomRowId)){ if(Objects.isNull(bomRowId)){