代码备份

cert
1178634255 2 years ago
parent 104c27539e
commit 76c4079d9d

@ -4,6 +4,8 @@ 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 lombok.Data;
import java.util.Date;
@ -11,36 +13,40 @@ import java.util.Date;
@Data
@TableName(value = "sys_menu")
public class Smenu {
@ApiModelProperty(value = "主键")
@TableId(value = "id", type = IdType.INPUT)
private Long id;
@ApiModelProperty(value = "接口分类名称")
// 接口分类名称
@TableField(value = "name")
private String name;
@ApiModelProperty(value = "接口地址")
// 接口地址
@TableField(value = "path")
private String path;
@ApiModelProperty(value = "父级ID")
@TableField(value = "parentId")
private Long parentId;
@ApiModelProperty(value = "权限标识")
//权限标识
@TableField(value = "perms")
private String perms;
@ApiModelProperty(value = "接口文档地址")
// 接口文档地址
@TableField(value = "docUrl")
private String docUrl;
// 创建时间
@ApiModelProperty(value = "创建时间")
@TableField(value = "createTime")
private Date createTime;
@ApiModelProperty(value = "更新时间")
// 更新时间
@TableField(value = "updateTime")
private Date updateTime;
@ApiModelProperty(value = "备注")
@TableField(value = "remark")
private String remark;

@ -8,89 +8,106 @@ import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel("用户公司实体")
@TableName(value = "user_company")
public class UserCompanyEntity implements Serializable {
@ApiModelProperty(value = "主键")
@TableId(value = "id", type = IdType.INPUT)
private Long id;
/**
*
*/
@ApiModelProperty(value = "企业名称")
@TableField(value = "companyName")
private String companyName;
/**
*
*/
@ApiModelProperty(value = "统一社会信用号")
@TableField(value = "creditNum")
private String creditNum;
/**
* 1,2,3,.4.
*/
@ApiModelProperty(value = "企业类型 1生产企业,2流通企业,3,医疗机构.4.监管机构")
@TableField(value = "bussinessStatus")
private String bussinessStatus;
/**
*
*/
@ApiModelProperty(value = "注册时间")
@TableField(value = "registerTime")
private Date registerTime;
/**
*
*/
@ApiModelProperty(value = "法人名称")
@TableField(value = "legalPerson")
private String legalPerson;
/**
*
*/
@ApiModelProperty(value = "法人身份证")
@TableField(value = "legalIdCard")
private String legalIdCard;
/**
*
*/
@ApiModelProperty(value = "注册地址")
@TableField(value = "registerAddress")
private String registerAddress;
/**
*
*/
@ApiModelProperty(value = "联系方式")
@TableField(value = "contactWay")
private String contactWay;
/**
*
*/
@ApiModelProperty(value = "备注")
@TableField(value = "comments")
private String comments;
/**
* 0 /3 /1 /2
*/
@ApiModelProperty(value = "审核状态 0 未提交/3 已提交未审核/1 审核通过/2 审核未通过")
@TableField(value = "checkStatus")
private String checkStatus;
/**
* 1 0
*/
@ApiModelProperty(value = "状态1 正常0 禁用")
@TableField(value = "`status`")
private String status;
/**
*
*/
@ApiModelProperty(value = "说明")
@TableField(value = "`reason`")
private String reason;
/**
* 线 1线2线
*/
@ApiModelProperty(value = "在线状态 1在线2离线")
@TableField(exist = false)
private Integer onLineStatus;

@ -1,14 +1,20 @@
package com.glxp.api.entity.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel(value = "分类代码实体")
@Data
public class ClassifyCodeEntity {
@ApiModelProperty(value = "主键")
private Integer id;
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "级别")
private String level;
@ApiModelProperty(value = "器械类别")
private String qxlb;
}

@ -1,17 +1,27 @@
package com.glxp.api.entity.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel(value = "公司实体")
@Data
public class CompanyEntity {
@ApiModelProperty(value = "企业名称")
private String name; //企业名称
@ApiModelProperty(value = "企业类型")
private String category; //企业类型
@ApiModelProperty(value = "统一社会信用代码")
private String creditCode; //统一社会信用代码
@ApiModelProperty(value = "住所地址")
private String addr; //住所地址
@ApiModelProperty(value = "生产地址")
private String productAddr; //生产地址
@ApiModelProperty(value = "企业类别1.生产企业2.流通企业3。医疗机构")
private String classes; //企业类别 //企业类别1.生产企业2.流通企业3。医疗机构
@ApiModelProperty(value = "程序的唯一标识符")
private String appId;
@ApiModelProperty(value = "程序的密钥")
private String appSecret;
@ApiModelProperty(value = "审核评论")
private String auditComment;
}

@ -8,69 +8,81 @@ import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
*
*/
@Data
@ApiModel("查询记录表")
@TableName(value = "trace_record_log")
public class TraceRecordLogEntity implements Serializable {
@ApiModelProperty(value = "主键")
@TableId(value = "id", type = IdType.INPUT)
private Long id;
/**
*
*/
@ApiModelProperty(value = "查询记录流水号")
@TableField(value = "recordCode")
private String recordCode;
/**
*
*/
@ApiModelProperty(value = "查询来源")
@TableField(value = "fromType")
private Integer fromType;
/**
*
*/
@ApiModelProperty(value = "查询者")
@TableField(value = "`createUser`")
private String createUser;
/**
*
*/
@ApiModelProperty(value = "查询记录时间")
@TableField(value = "createTime")
private Date createTime;
/**
*
*/
@ApiModelProperty(value = "更新时间")
@TableField(value = "updateTime")
private Date updateTime;
/**
*
*/
@ApiModelProperty(value = "备注")
@TableField(value = "remark")
private String remark;
/**
* 1:2.3.
*/
@ApiModelProperty(value = "查询状态 1:未处理2.未完结3.已完成")
@TableField(value = "status")
private Integer status;
/**
* 1:UDI; 2:
*/
@ApiModelProperty(value = "查询方案1:按UDI码查询; 2:按批次号查询)")
@TableField(value = "traceType")
private Integer traceType;
/**
*
*/
@ApiModelProperty(value = "追溯产品记录外键")
@TableField(value = "traceProductIdFk")
private Long traceProductIdFk;

@ -1,18 +1,24 @@
package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
@Data
@ApiModel(value = "过滤分类编码请求")
public class FilterClassifyCodeRequest extends ListPageRequest {
@ApiModelProperty(value = "密钥")
private String key;
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "输入过滤器")
private String inFilter;
@ApiModelProperty(value = "输入过滤器列表")
private List<String> inFilterList;
}

@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ -13,54 +15,56 @@ import java.util.Date;
* @date : 2023/5/24 11:51
* @modyified By :
*/
@ApiModel(value = "许可证请求实体")
@Data
public class LicenseRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private Long id;
// 接口分类名称
@ApiModelProperty(value = "接口分类名称")
private String name;
// 接口地址
@ApiModelProperty(value = "接口地址")
private String path;
@ApiModelProperty(value = "父级ID")
private Long parentId;
@ApiModelProperty(value = "权限标识")
//权限标识
private String perms;
@ApiModelProperty(value = "接口文档地址")
// 接口文档地址
private String docUrl;
@ApiModelProperty(value = "创建时间")
// 创建时间
private Date createTime;
@ApiModelProperty(value = "更新时间")
// 更新时间
private Date updateTime;
@ApiModelProperty(value = "备注")
private String remark;
/**
*
*/
@ApiModelProperty(value = "创建开始时间")
private String startTime;
@ApiModelProperty(value = "创建结束时间")
/**
*
*/
private String endTime;
@ApiModelProperty(value = "更新开始时间")
/**
*
*/
private String startAduditTime;
@ApiModelProperty(value = "更新结束时间")
/**
*
*/

@ -8,16 +8,16 @@ import lombok.Data;
import java.util.Date;
@Data
@ApiModel("踪记录请求")
@ApiModel("踪记录请求")
public class TraceRecordRequest extends ListPageRequest {
@ApiModelProperty(hidden = true)
@ApiModelProperty(hidden = true,value = "主键")
private Long id;
/**
*
*/
@ApiModelProperty(hidden = true)
@ApiModelProperty(hidden = true,value = "查询记录号")
private String recordCode;
/**
@ -35,18 +35,18 @@ public class TraceRecordRequest extends ListPageRequest {
/**
*
*/
@ApiModelProperty(hidden = true)
@ApiModelProperty(hidden = true,value = "查询记录时间")
private Date createTime;
/**
*
*/
@ApiModelProperty(hidden = true)
@ApiModelProperty(hidden = true,value = "更新时间")
private Date updateTime;
/**
* 1:2)
*/
@ApiModelProperty(hidden = true)
@ApiModelProperty(hidden = true,value = "查询方式1:源头查询2现在检查查询)")
private Integer traceSource;
/**
* UDI/

@ -1,5 +1,7 @@
package com.glxp.api.res;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
@ -8,10 +10,13 @@ import java.util.List;
*
*/
@Data
@ApiModel("简单的分页返回对象")
public class PageSimpleResponse<T> {
// 总数
@ApiModelProperty(value = "总数")
private Integer total;
// 列表
@ApiModelProperty(value = "列表")
private List<T> list;
public void setTotal(Long total) {

@ -1,79 +1,116 @@
package com.glxp.api.res.basic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* VO
*/
@Data
@ApiModel(value = "单据类型响应VO")
public class BasicBussinessTypeResponse {
/**
* ID
*/
@ApiModelProperty(value = "单据类型ID")
private Long id;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private String action;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private String name;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private Boolean enable;
@ApiModelProperty(value = "单据类型ID")
private String remark;
@ApiModelProperty(value = "单据类型ID")
private String mainAction;
@ApiModelProperty(value = "单据类型ID")
private String thirdSysFk;
@ApiModelProperty(value = "单据类型ID")
private String thirdId;
@ApiModelProperty(value = "单据类型ID")
private String thirdName;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private Boolean checkEnable;
/**
*
*
*/
@ApiModelProperty(value = "单据类型ID")
// private Boolean advanceType;
private Boolean changeEnable;
@ApiModelProperty(value = "单据类型ID")
private Boolean genUnit;
@ApiModelProperty(value = "单据类型ID")
private String defaultUnit;
@ApiModelProperty(value = "单据类型ID")
private int spUse;
@ApiModelProperty(value = "单据类型ID")
private Boolean secCheckEnable;
@ApiModelProperty(value = "单据类型ID")
private int checkUdims;
@ApiModelProperty(value = "单据类型ID")
private int checkPdaEd;
@ApiModelProperty(value = "单据类型ID")
private int checkPdaUn;
@ApiModelProperty(value = "单据类型ID")
private int checkPc;
@ApiModelProperty(value = "单据类型ID")
private int checkWebNew;
@ApiModelProperty(value = "单据类型ID")
private int checkChange;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckUdims;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckPdaEd;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckPdaUn;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckPc;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckWebNew;
@ApiModelProperty(value = "单据类型ID")
private boolean secCheckChange;
@ApiModelProperty(value = "单据类型ID")
private int corpType;
@ApiModelProperty(value = "单据类型ID")
private String storageCode;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private String supplementOrderType;
/**
*
*/
@ApiModelProperty(value = "单据类型ID")
private boolean enableSupplementOrder;
@ApiModelProperty(value = "单据类型ID")
private int checkBalance;
private boolean secCheckBalance;
private boolean useDyCount;

Loading…
Cancel
Save