获取权限和根据权限获取任务列表
parent
296db97c72
commit
b667d6840e
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.base.enumutil;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* @Description : wms数据权限枚举
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-3-8 15:53
|
||||
* @Modify:
|
||||
**/
|
||||
public class DataAuthEnumUtil {
|
||||
|
||||
/**
|
||||
* 数据对象枚举
|
||||
*/
|
||||
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
||||
public enum DATA_OBJ_TYPE {
|
||||
WAREHOUSE("10", "WAREHOUSE", "仓库对象"),
|
||||
ZONE("20", "ZONE", "存储区对象"),
|
||||
LOCATE("30", "LOCATE", "库位对象");
|
||||
|
||||
private String code;
|
||||
private String description;
|
||||
String value;
|
||||
|
||||
DATA_OBJ_TYPE(String value, String code, String description) {
|
||||
this.value = value;
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WareHouse;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsDataAuth;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : wms数据权限
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-03-08 14:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsDataAuthRepository extends BaseRepository<WmsDataAuth, Long> {
|
||||
}
|
Loading…
Reference in New Issue