代办消息列表

test
anthonywj 1 year ago
parent e689eec813
commit 8792e1e7ab

@ -0,0 +1,9 @@
package com.glxp.api.dao.system;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.api.entity.system.SysMsgTodoEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface SysMsgTodoMapper extends BaseMapper<SysMsgTodoEntity> {
}

@ -0,0 +1,114 @@
package com.glxp.api.entity.system;
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@ApiModel(value = "com-glxp-api-entity-system-SysMsgTodo")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_msg_todo")
public class SysMsgTodoEntity implements Serializable {
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value = "")
private Integer id;
/**
*
*/
@TableField(value = "code")
@ApiModelProperty(value = "消息编码")
private String code;
/**
* 1:2:35.;67:8
*/
@TableField(value = "msgType")
@ApiModelProperty(value = "消息类型1:入院物资申请2:单据审核3单据发票确认5.资质审核;6领用单审核7:申购单审核8采购订单审核")
private Byte msgType;
/**
*
*/
@TableField(value = "msgContent")
@ApiModelProperty(value = "消息内容")
private String msgContent;
/**
*
*/
@TableField(value = "dealStatus")
@ApiModelProperty(value = "处理状态")
private Byte dealStatus;
/**
* 12:3
*/
@TableField(value = "pushStatus")
@ApiModelProperty(value = "推送小程序状态1未推送2:推送成功3推送失败")
private Byte pushStatus;
/**
*
*/
@TableField(value = "toUrl")
@ApiModelProperty(value = "跳转地址")
private String toUrl;
/**
*
*/
@TableField(value = "createTime")
@ApiModelProperty(value = "创建时间")
private Date createTime;
/**
*
*/
@TableField(value = "updateUser")
@ApiModelProperty(value = "更新人")
private String updateUser;
/**
*
*/
@TableField(value = "updateTime")
@ApiModelProperty(value = "更新时间")
private Date updateTime;
/**
*
*/
@TableField(value = "deptCode")
@ApiModelProperty(value = "所属仓库")
private String deptCode;
/**
*
*/
@TableField(value = "invCode")
@ApiModelProperty(value = "所属仓库")
private String invCode;
/**
*
*/
@TableField(value = "remark")
@ApiModelProperty(value = "备注")
private String remark;
private static final long serialVersionUID = 1L;
}

@ -0,0 +1,12 @@
package com.glxp.api.service.system;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.glxp.api.dao.system.SysMsgTodoMapper;
import com.glxp.api.entity.system.SysMsgTodoEntity;
@Service
public class SysMsgTodoService extends ServiceImpl<SysMsgTodoMapper, SysMsgTodoEntity> {
}

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.dao.system.SysMsgTodoMapper">
<resultMap id="BaseResultMap" type="com.glxp.api.entity.system.SysMsgTodoEntity">
<!--@mbg.generated-->
<!--@Table sys_msg_todo-->
<id column="id" jdbcType="INTEGER" property="id"/>
<result column="code" jdbcType="VARCHAR" property="code"/>
<result column="msgType" jdbcType="TINYINT" property="msgType"/>
<result column="msgContent" jdbcType="VARCHAR" property="msgContent"/>
<result column="dealStatus" jdbcType="TINYINT" property="dealStatus"/>
<result column="pushStatus" jdbcType="TINYINT" property="pushStatus"/>
<result column="toUrl" jdbcType="VARCHAR" property="toUrl"/>
<result column="createTime" jdbcType="TIMESTAMP" property="createTime"/>
<result column="updateUser" jdbcType="VARCHAR" property="updateUser"/>
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="deptCode" jdbcType="VARCHAR" property="deptCode"/>
<result column="invCode" jdbcType="VARCHAR" property="invCode"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, code, msgType, msgContent, dealStatus, pushStatus, toUrl, createTime, updateUser,
updateTime, deptCode, invCode, remark
</sql>
</mapper>
Loading…
Cancel
Save