|
|
@ -19,6 +19,8 @@ import org.springframework.web.bind.annotation.*; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import static com.win.framework.common.pojo.CommonResult.success; |
|
|
|
|
|
|
|
@Tag(name = "管理后台 - 采购收货记录子") |
|
|
@ -61,4 +63,13 @@ public class PurchasereceiptRecordDetailController { |
|
|
|
return success(result); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
@Operation(summary = "高级搜索获得采购收货记录子信息分页") |
|
|
|
@PreAuthorize("@ss.hasPermission('wms:purchasereceipt-record-detail:query')") |
|
|
|
public CommonResult<List<PurchasereceiptRecordDetailRespVO>> getPurchasereceiptRecordDetailList(@RequestParam Long masterId) { |
|
|
|
List<PurchasereceiptRecordDetailDO> list = purchasereceiptRecordDetailService.selectList(masterId); |
|
|
|
List<PurchasereceiptRecordDetailRespVO> result = PurchasereceiptRecordDetailConvert.INSTANCE.convertList(list); |
|
|
|
return success(result); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|