IActSuppliesRoleService.java 2.52 KB
Newer Older
dongjg's avatar
dongjg committed
1 2 3 4
package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.ActSuppliesRole;
5
import com.ruoyi.system.domain.ActSuppliesRoleDetail;
lenovo's avatar
lenovo committed
6
import com.ruoyi.system.domain.ActSuppliesTemplate;
7
import io.lettuce.core.dynamic.annotation.Param;
dongjg's avatar
dongjg committed
8 9 10 11 12 13 14

/**
 * 导入规则Service接口
 * 
 * @author dongjg
 * @date 2023-07-12
 */
15

dongjg's avatar
dongjg committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
public interface IActSuppliesRoleService 
{
    /**
     * 查询导入规则
     * 
     * @param id 导入规则ID
     * @return 导入规则
     */
    public ActSuppliesRole selectActSuppliesRoleById(Integer id);

    /**
     * 查询导入规则列表
     * 
     * @param actSuppliesRole 导入规则
     * @return 导入规则集合
     */
    public List<ActSuppliesRole> selectActSuppliesRoleList(ActSuppliesRole actSuppliesRole);

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
    /**
     * 查询规则详情
     *
     * @param id 规则详情ID
     * @return 规则详情
     */
    public ActSuppliesRoleDetail selectActSuppliesRoleDetailById(Integer id);

    /**
     * 查询规则详情列表
     *
     * @param id 规则详情
     * @return 规则详情集合
     */
    public List<ActSuppliesRoleDetail> selectActSuppliesRoleDetailList(Integer id);

dongjg's avatar
dongjg committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
    /**
     * 新增导入规则
     * 
     * @param actSuppliesRole 导入规则
     * @return 结果
     */
    public int insertActSuppliesRole(ActSuppliesRole actSuppliesRole);

    /**
     * 修改导入规则
     * 
     * @param actSuppliesRole 导入规则
     * @return 结果
     */
    public int updateActSuppliesRole(ActSuppliesRole actSuppliesRole);

66 67
    public int updateActSuppliesRoleDetail(ActSuppliesRoleDetail actSuppliesRoleDetail);

dongjg's avatar
dongjg committed
68 69 70 71 72 73
    /**
     * 批量删除导入规则
     * 
     * @param ids 需要删除的导入规则ID
     * @return 结果
     */
74
    public int deleteActSuppliesRoleByIds(Long[] ids);
dongjg's avatar
dongjg committed
75 76 77 78 79 80 81 82

    /**
     * 删除导入规则信息
     * 
     * @param id 导入规则ID
     * @return 结果
     */
    public int deleteActSuppliesRoleById(Integer id);
83

lenovo's avatar
lenovo committed
84
    List<ActSuppliesTemplate> saveSid();
85 86 87 88 89 90
    /**
     * 启用物料细分类管理
     *
     * @param id  尝试启用物料细分类管理的id
     * @return
     */
91 92
    int setEnable(@Param("id") Long id, @Param("status") Integer status);

93 94 95 96 97 98

    /**
     * 禁用
     *
     * @param id  尝试禁用物料细分类管理的id
     */
99
    int setDisable(@Param("id") Long id, @Param("status") Integer status);
100

lenovo's avatar
lenovo committed
101
    List<Integer> findall(Integer[] ids);
102
    List<Integer> find(Integer id);
张兴海's avatar
张兴海 committed
103

104 105 106
    List<String> releaseRS(Long[] ids ,Long[] tempids);

    int offShelfRS(Long[] ids);
dongjg's avatar
dongjg committed
107
}