代码备份

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

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

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

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

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

@ -1,18 +1,24 @@
package com.glxp.api.req.system; package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.List; import java.util.List;
@Data @Data
@ApiModel(value = "过滤分类编码请求")
public class FilterClassifyCodeRequest extends ListPageRequest { public class FilterClassifyCodeRequest extends ListPageRequest {
@ApiModelProperty(value = "密钥")
private String key; private String key;
@ApiModelProperty(value = "编码")
private String code; private String code;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "输入过滤器")
private String inFilter; private String inFilter;
@ApiModelProperty(value = "输入过滤器列表")
private List<String> inFilterList; 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.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ -13,54 +15,56 @@ import java.util.Date;
* @date : 2023/5/24 11:51 * @date : 2023/5/24 11:51
* @modyified By : * @modyified By :
*/ */
@ApiModel(value = "许可证请求实体")
@Data @Data
public class LicenseRequest extends ListPageRequest { public class LicenseRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private Long id; private Long id;
// 接口分类名称 // 接口分类名称
@ApiModelProperty(value = "接口分类名称")
private String name; private String name;
// 接口地址 // 接口地址
@ApiModelProperty(value = "接口地址")
private String path; private String path;
@ApiModelProperty(value = "父级ID")
private Long parentId; private Long parentId;
@ApiModelProperty(value = "权限标识")
//权限标识 //权限标识
private String perms; private String perms;
@ApiModelProperty(value = "接口文档地址")
// 接口文档地址 // 接口文档地址
private String docUrl; private String docUrl;
@ApiModelProperty(value = "创建时间")
// 创建时间 // 创建时间
private Date createTime; private Date createTime;
@ApiModelProperty(value = "更新时间")
// 更新时间 // 更新时间
private Date updateTime; private Date updateTime;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
/** /**
* *
*/ */
@ApiModelProperty(value = "创建开始时间")
private String startTime; private String startTime;
@ApiModelProperty(value = "创建结束时间")
/** /**
* *
*/ */
private String endTime; private String endTime;
@ApiModelProperty(value = "更新开始时间")
/** /**
* *
*/ */
private String startAduditTime; private String startAduditTime;
@ApiModelProperty(value = "更新结束时间")
/** /**
* *
*/ */

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

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

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

Loading…
Cancel
Save