模组信息查询
This commit is contained in:
@@ -155,7 +155,7 @@ public class WoPackagingBoxController {
|
||||
|
||||
@GetMapping("boxList/{woSubstrateId}")
|
||||
@ApiOperation("查询模组id所在包装箱")
|
||||
public List<WoPackagingBox> get(@PathVariable("woSubstrateId") String woSubstrateId){
|
||||
public List<WoPackagingBox> boxList(@PathVariable("woSubstrateId") String woSubstrateId){
|
||||
return woPackagingBoxService.boxList(woSubstrateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.omg.CORBA.PRIVATE_MEMBER;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -287,4 +286,10 @@ public class WoPackagingBoxSubstrateController {
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@GetMapping("substrateList/{woSubstrateId}")
|
||||
@ApiOperation("模组信息查询")
|
||||
public List<WoPackagingBoxSubstrateDTO> substrateList(@PathVariable("woSubstrateId") String woSubstrateId){
|
||||
return woPackagingBoxSubstrateService.substrateList(woSubstrateId);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user