| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.dk.mdm.controller.ivt;
- import com.dk.common.model.pojo.PageList;
- import com.dk.common.response.ResponseResultVO;
- import com.dk.mdm.model.pojo.ivt.Inbound;
- import com.dk.common.service.BaseService;
- import com.dk.mdm.model.query.ivt.InboundQuery;
- import com.dk.mdm.model.response.ivt.InboundResponse;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.RestController;
- import io.swagger.annotations.Api;
- import com.dk.mdm.service.ivt.InboundService;
- @Api(tags = "入库单API接口")
- @RestController
- @RequestMapping("/ivt/inbound")
- public class InboundController{
- public BaseService<Inbound> getService() {
- return inboundService;
- }
- @Autowired
- private InboundService inboundService;
- /**
- * @desc : 查看来源单据,总单加明细 采购退货用
- * @author : 于继渤
- * @date : 2024/3/6 10:36
- */
- @ApiOperation(value = "条件查询", notes = "条件查询")
- @PostMapping({"select_inbound_and_item"})
- public ResponseResultVO<PageList<InboundResponse>> selectInboundAndItem(@RequestBody InboundQuery inboundQuery) {
- return inboundService.selectInboundAndItem(inboundQuery);
- }
- }
|