| | |
| | | import com.ruoyi.inventory.excel.StockInExcelDto; |
| | | import com.ruoyi.inventory.service.StockInService; |
| | | import com.ruoyi.inventory.pojo.StockIn; |
| | | import com.ruoyi.purchase.dto.ProductRecordDto; |
| | | import com.ruoyi.purchase.dto.PurchaseLedgerDto; |
| | | import com.ruoyi.purchase.pojo.ProductRecord; |
| | | import com.ruoyi.purchase.service.IProductRecordService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public class StockInController{ |
| | | @Autowired |
| | | private StockInService stockInService; |
| | | @Autowired |
| | | private IProductRecordService productRecordService; |
| | | @GetMapping("/productlist") |
| | | public AjaxResult list(String purchaseContractNumber) { |
| | | return AjaxResult.success(productRecordService.selectProductRecordListByPuechaserId(purchaseContractNumber)); |
| | | } |
| | | |
| | | @GetMapping("/listPage") |
| | | public AjaxResult listPage(Page page, StockinDto stockinDto) { |