|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
package com.ruoyi.manage.controller;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.github.pagehelper.Page;
|
|
|
|
|
import com.ruoyi.manage.domain.RecordInSort;
|
|
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
@ -30,6 +33,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
public class RecordInController extends BaseController
|
|
|
|
|
{
|
|
|
|
|
private String prefix = "manage/record_in";
|
|
|
|
|
private String prefix2 = "manage/record_in_sort";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private IRecordInService recordInService;
|
|
|
|
@ -41,7 +46,38 @@ public class RecordInController extends BaseController
|
|
|
|
|
return prefix + "/record_in";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequiresPermissions("manage:record_in_sort:view")
|
|
|
|
|
@GetMapping("/record_in_sort")
|
|
|
|
|
public String record_in_sort()
|
|
|
|
|
{
|
|
|
|
|
return prefix2 + "/record_in_sort";
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 分类查询轮挡入库记录列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("manage:record_in:sort_list")
|
|
|
|
|
@PostMapping("/sort_list")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public TableDataInfo sort_list(RecordInSort recordInSort)
|
|
|
|
|
{
|
|
|
|
|
startPage();
|
|
|
|
|
List<RecordInSort> list = recordInService.selectRecordInSortList(recordInSort);
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 按批次码分类查询轮挡入库记录列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("manage:record_in:sort_list")
|
|
|
|
|
@PostMapping("/sort_BatchCode")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public TableDataInfo selectByBatchCode(String batchCode)
|
|
|
|
|
{
|
|
|
|
|
startPage();
|
|
|
|
|
List<RecordIn> list = recordInService.selectByBatchCode(batchCode);
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 查询轮挡入库记录列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("manage:record_in:list")
|
|
|
|
|