部门信息

master
anthonywj 2 years ago
parent 61f197c530
commit 60adcd3df3

@ -1,13 +1,17 @@
package com.glxp.api.dao.auth;
import com.glxp.api.dao.BaseMapperPlus;
import com.glxp.api.entity.auth.DeptEntity;
import com.glxp.api.entity.auth.DeptUserEntity;
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface DeptDao {
@Mapper
public interface DeptDao extends BaseMapperPlus<DeptDao, DeptEntity, DeptEntity> {
List<DeptEntity> filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);

@ -1,33 +1,55 @@
package com.glxp.api.entity.auth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName(value = "auth_dept")
public class DeptEntity {
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@TableField(value = "pid")
private Integer pid;
@TableField(value = "code;")
private String code;
@TableField(value = "name")
private String name;
@TableField(value = "advanceType")
private Boolean advanceType;
@TableField(value = "isDefault")
private Boolean isDefault;
@TableField(value = "status")
private Integer status;
@TableField(value = "updateTime")
private Date updateTime;
@TableField(value = "remark")
private String remark;
@TableField(value = "level")
private Integer level;
@TableField(value = "pcode")
private String pcode;
@TableField(value = "pName")
private String pName;
/**
* ID
*/
@TableField(value = "thirdId")
private String thirdId;
@TableField(value = "thirdId1")
private String thirdId1;
@TableField(value = "thirdId2")
private String thirdId2;
@TableField(value = "thirdId3")
private String thirdId3;
@TableField(value = "thirdId4")
private String thirdId4;
@TableField(value = "spUse")
private Boolean spUse;
}

Loading…
Cancel
Save