API接口文档代码提交

cert
schry 2 years ago
parent eff742c1e4
commit 8e86b27ad3

@ -9,6 +9,8 @@ import com.glxp.api.util.RsaUtils;
import com.glxp.api.common.enums.ResultEnum;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@ -20,6 +22,7 @@ import javax.annotation.Resource;
import javax.validation.Valid;
import java.util.List;
@Api(tags = "授权核验相关接口")
@ApiIgnore
@RestController
public class AuthCheckController {
@ -27,6 +30,7 @@ public class AuthCheckController {
@Resource
private AuthCheckService authCheckService;
@ApiOperation(value = "权限验证索引",response = AuthCheckEntity.class)
@GetMapping("/udiwms/auth/device/filter")
public BaseResponse index(FilterAuthCheckRequest filterAuthCheckRequest,
BindingResult bindingResult) {
@ -44,6 +48,7 @@ public class AuthCheckController {
}
@ApiOperation(value = "注册",response = BaseResponse.class)
@PostMapping("/udiwms/auth/device/save")
public BaseResponse save(@RequestBody @Valid AuthCheckEntity authCheckEntity,
BindingResult bindingResult) {

@ -15,6 +15,8 @@ import com.glxp.api.common.enums.ResultEnum;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import com.glxp.api.service.auth.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.BeanUtils;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
@ -28,6 +30,7 @@ import java.util.*;
*
*/
@Api(tags = "管理员相关接口")
@ApiIgnore
@RestController
public class AuthUserController extends BaseController {
@ -39,6 +42,7 @@ public class AuthUserController extends BaseController {
@Resource
DeptService deptService;
@ApiOperation(value = "更新仓库",response = BaseResponse.class)
@AuthRuleAnnotation("admin/auth/admin/updateInv")
@PostMapping("/admin/auth/admin/updateInv")
public BaseResponse updateInv(@RequestBody @Valid AuthUserSaveRequest authUserSaveRequest,
@ -63,6 +67,7 @@ public class AuthUserController extends BaseController {
*
* @return
*/
@ApiOperation(value = "删除用户",response = BaseResponse.class)
@Log(title = "用户管理", businessType = BusinessType.DELETE)
@AuthRuleAnnotation("admin/auth/admin/delete")
@PostMapping("/admin/auth/admin/delete")
@ -89,6 +94,7 @@ public class AuthUserController extends BaseController {
*
* @return
*/
@ApiOperation(value = "获取医院用户列表",response = AuthAdmin.class)
@AuthRuleAnnotation("")
@GetMapping("/admin/auth/admin/selectNotSelectUser")
public BaseResponse selectNotSelectUser(FilterInvLinkDataRequest filterInvLinkDataRequest) {
@ -123,6 +129,7 @@ public class AuthUserController extends BaseController {
//仓库未关联用户列表
@AuthRuleAnnotation("")
@ApiOperation(value = "仓库未关联用户列表",response = AuthAdmin.class)
@GetMapping("/admin/auth/admin/hospitalUserList")
public BaseResponse getHospitalUserList() {
List<AuthAdmin> hospitalUserList = authAdminService.getHospitalUserList();

@ -9,6 +9,8 @@ import java.util.Map;
import javax.annotation.Resource;
import javax.validation.Valid;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@ -38,6 +40,7 @@ import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil;
import springfox.documentation.annotations.ApiIgnore;
@Api(tags = "部门相关接口")
@ApiIgnore
@RestController
public class DeptController {
@ -53,6 +56,7 @@ public class DeptController {
@AuthRuleAnnotation("")
@ApiOperation(value = "获取部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filter")
public BaseResponse filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) {
List<DeptEntity> invWarehouseEntities = deptService.filterInvWarehouse(filterInvWarehouseRequest);
@ -65,6 +69,7 @@ public class DeptController {
}
@AuthRuleAnnotation("")
@ApiOperation(value = "获取所有部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterAll")
public BaseResponse filterAllInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L);
@ -75,6 +80,7 @@ public class DeptController {
@AuthRuleAnnotation("")
@ApiOperation(value = "",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterNext")
public BaseResponse filterNext(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L);
@ -86,6 +92,7 @@ public class DeptController {
@AuthRuleAnnotation("")
@ApiOperation(value = "根据用户获取部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterByUser")
public BaseResponse filterByUser(FilterInvWarehouseRequest filterInvWarehouseRequest) {
AuthAdmin authAdmin = customerService.getUserBean();
@ -98,6 +105,7 @@ public class DeptController {
@AuthRuleAnnotation("")
@ApiOperation(value = "获取所有本地仓库",response = BaseResponse.class)
@GetMapping("spms/inv/warehouse/filterAllLocInv")
public BaseResponse filterAllLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L);
@ -127,6 +135,7 @@ public class DeptController {
@AuthRuleAnnotation("")
@ApiOperation(value = "",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterUplLocInv")
public BaseResponse filterUplLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L);

@ -20,6 +20,8 @@ import com.glxp.api.res.trace.TraceManuCodeRellResponse;
import com.glxp.api.service.basic.BasicUdiProductService;
import com.glxp.api.service.basic.ProductInfoService;
import com.glxp.api.util.udi.FilterUdiUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.GetMapping;
@ -32,6 +34,7 @@ import javax.annotation.Resource;
import java.util.Date;
import java.util.List;
@Api(tags = "UDI产品相关接口")
@ApiIgnore
@Slf4j
@RestController
@ -44,6 +47,7 @@ public class UdiProductController extends BaseController {
//获取同步库UDI信息
@ApiOperation(value = "获取同步库UDI信息",response = BasicUdiProductEntity.class)
@AuthRuleAnnotation("")
@ApiIgnore
@GetMapping("udi/basic/dict/filter")
@ -74,6 +78,7 @@ public class UdiProductController extends BaseController {
//医疗器械信息字典编辑保存
@AuthRuleAnnotation("")
@ApiOperation(value = "添加医疗器械信息字典",response = BaseResponse.class)
@PostMapping("udi/basic/dict/add")
public BaseResponse addDict(@RequestBody BasicDictSelectRequest basicDictSelectRequest) {
@ -95,6 +100,7 @@ public class UdiProductController extends BaseController {
@AuthRuleAnnotation("")
@ApiOperation(value = "删除医疗器械信息字典",response = BaseResponse.class)
@PostMapping("udi/basic/dict/delete")
public BaseResponse addDict(@RequestBody DeleteRequest deleteRequest) {
if (StrUtil.isEmpty(deleteRequest.getUuid())) {
@ -107,6 +113,7 @@ public class UdiProductController extends BaseController {
//医疗器械信息字典编辑保存
@AuthRuleAnnotation("")
@ApiOperation(value = "添加UDI产品信息",response = BaseResponse.class)
@PostMapping("udi/basic/dict/batchAdd")
public BaseResponse batchAdd(@RequestBody BasicDictSelectRequest basicDictSelectRequest) {
@ -132,6 +139,7 @@ public class UdiProductController extends BaseController {
}
//医疗器械信息字典编辑保存
@ApiOperation(value = "医疗器械信息字典编辑",response = BaseResponse.class)
@AuthRuleAnnotation("")
@PostMapping("udi/basic/dict/edit")
public BaseResponse editDict(@RequestBody BasicUdiProductEntity basicUdiProductEntity) {
@ -142,6 +150,7 @@ public class UdiProductController extends BaseController {
@AuthRuleAnnotation("")
@ApiOperation(value = "获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterylqxzcrbarmc")
public BaseResponse filterylqxzcrbarmc(BasicUdiProductRequest basicUdiProductRequest) {
@ -154,6 +163,7 @@ public class UdiProductController extends BaseController {
}
@AuthRuleAnnotation("")
@ApiOperation(value = "根据产品名称获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterCpmctymc")
public BaseResponse filterCpmctymc(BasicUdiProductRequest basicUdiProductRequest) {
@ -166,6 +176,7 @@ public class UdiProductController extends BaseController {
}
@AuthRuleAnnotation("")
@ApiOperation(value = "根据规格型号获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterGgxh")
public BaseResponse filterGgxh(BasicUdiProductRequest basicUdiProductRequest) {
@ -178,6 +189,7 @@ public class UdiProductController extends BaseController {
}
@AuthRuleAnnotation("")
@ApiOperation(value = "根据DI标识获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterNameCode")
public BaseResponse filterNameCode(BasicUdiProductRequest basicUdiProductRequest) {

@ -50,6 +50,7 @@ public class UdiRelController extends BaseController {
//获取同步库UDI信息
@AuthRuleAnnotation("")
@ApiIgnore
@ApiOperation(value = "获取同步库UDI信息",response = BasicUdiRelResponse.class)
@GetMapping("udi/basic/rel/filter")
public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode;
@ -128,6 +129,7 @@ public class UdiRelController extends BaseController {
}
@AuthRuleAnnotation("")
@ApiOperation(value = "注册企业删除医疗器械信息",response = BaseResponse.class)
@PostMapping("udi/basic/rel/delete")
public BaseResponse deletRel(@RequestBody DeleteRequest deleteRequest) {
basicUdiRelService.removeById(deleteRequest.getId());
@ -136,6 +138,7 @@ public class UdiRelController extends BaseController {
//产品信息关联修改
@AuthRuleAnnotation("")
@ApiOperation(value = "注册企更新除医疗器械信息",response = BaseResponse.class)
@PostMapping("udi/basic/rel/update")
public BaseResponse updateRel(@RequestBody BasicUdiRelRequest basicUdiRelRequest) {

@ -15,6 +15,8 @@ import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.basic.BasicUdiRelResponse;
import com.glxp.api.service.basic.*;
import com.glxp.api.util.udi.FilterUdiUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.GetMapping;
@ -24,6 +26,7 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource;
import java.util.List;
@Api(tags = "UDI同步相关接口")
@Slf4j
@RestController
public class UdiSyncController {
@ -41,6 +44,7 @@ public class UdiSyncController {
//获取同步库UDI信息
@ApiIgnore
@AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库UDI信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/filterUdi")
public BaseResponse filterUdi(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode;
@ -73,6 +77,7 @@ public class UdiSyncController {
//获取同步库UDI信息
@ApiIgnore
@AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库UDI字典信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/dict/filter")
public BaseResponse filterDict(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode;
@ -119,7 +124,8 @@ public class UdiSyncController {
//获取同步库UDI信息
@ApiIgnore
@AuthRuleAnnotation("")
@AuthRuleAnnotation("获取同步库UDI关联信息")
@ApiOperation(value = "",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/rel/filter")
public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode;
@ -167,6 +173,7 @@ public class UdiSyncController {
//获取同步库医疗器械注册人信息
@ApiIgnore
@AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库医疗器械注册人信息",response = UdiCompanyEntity.class)
@GetMapping("udiwms/udiinfo/filterCompany")
public BaseResponse filterCompany(UdiCompanyRequest udiCompanyRequest) {
@ -183,6 +190,7 @@ public class UdiSyncController {
//出入库同步下载
@ApiOperation(value = "出入库同步下载(同步UDI)",response = ProductInfoEntity.class)
@GetMapping("udidl/udiwms/syncUdi")
public BaseResponse syncUdi(ProductInfoFilterRequest productInfoFilterRequest) {
@ -191,6 +199,7 @@ public class UdiSyncController {
}
//出入库同步下载
@ApiOperation(value = "出入库同步下载(同步企业)",response = UdiCompanyEntity.class)
@GetMapping("udidl/udiwms/syncCompany")
public BaseResponse syncCompany(UdiCompanyRequest udiCompanyRequest) {
@ -203,6 +212,7 @@ public class UdiSyncController {
*/
@ApiIgnore
@AuthRuleAnnotation("")
@ApiOperation(value = "耗材字典信息获取同一产品对应DI信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/local/filterByUuid")
public BaseResponse filterLocalByUuid(FilterUdiRelRequest filterUdiRelRequest) {

@ -11,6 +11,8 @@ import com.glxp.api.entity.monitor.SysOperLog;
import com.glxp.api.req.monitor.FilterOperLogRequest;
import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.service.monitor.ISysOperLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@ -21,6 +23,7 @@ import java.util.List;
/**
*
*/
@Api(tags = "操作日志记录相关接口")
@ApiIgnore
@Validated
@RequiredArgsConstructor
@ -33,6 +36,7 @@ public class SysOperlogController extends BaseController {
/**
*
*/
@ApiOperation(value = "获取操作日志记录列表",response = SysOperLog.class)
@SaCheckPermission("monitor:operlog:list")
@GetMapping("/list")
public BaseResponse list(FilterOperLogRequest filterOperLogRequest) {
@ -52,6 +56,7 @@ public class SysOperlogController extends BaseController {
*
* @param operIds ids
*/
@ApiOperation(value = "批量删除操作日志记录",response = BaseResponse.class)
@Log(title = "操作日志", businessType = BusinessType.DELETE)
@SaCheckPermission("monitor:operlog:remove")
@DeleteMapping("/{operIds}")

@ -3,55 +3,79 @@ package com.glxp.api.entity.auth;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.glxp.api.constant.Constant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
@ApiModel("授权用户实体")
@Data
@TableName("auth_user")
public class AuthAdmin {
// 主键
@ApiModelProperty(value = "id")
private Long id;
// 昵称
@ApiModelProperty(value = "昵称")
@TableField("userName")
private String userName;
// 登录密码
@ApiModelProperty(value = "登录密码")
@TableField("passWord")
private String passWord;
// 最后登录ip
@ApiModelProperty(value = "最后登录ip")
@TableField("lastLoginIp")
private String lastLoginIp;
// 最后登录时间
@ApiModelProperty(value = "最后登录时间")
@TableField("lastLoginTime")
private Date lastLoginTime;
// 创建时间
@ApiModelProperty(value = "创建时间")
@TableField("createTime")
private Date createTime;
// 状态
@ApiModelProperty(value = "状态")
@TableField("userFlag")
private Integer userFlag;
@ApiModelProperty(value = "最后修改时间")
@TableField("lastModifyTime")
private Date lastModifyTime;
@ApiModelProperty(value = "备注")
private String comments;
@ApiModelProperty(value = "员工名称")
@TableField("employeeName")
private String employeeName;
@ApiModelProperty(value = "客户id")
@TableField("CustomerId")
private Long CustomerId;
@ApiModelProperty(value = "本地部门编码")
@TableField("locDeptCode")
private String locDeptCode;
@ApiModelProperty(value = "本地仓库编码")
@TableField("locInvCode")
private String locInvCode;
@ApiModelProperty(value = "部门名称")
@TableField(exist = false)
private String deptName;
@ApiModelProperty(value = "角色列表")
@TableField(exist = false)
private List<SysRole> roles;
@ApiModelProperty(value = "角色ids")
@TableField(exist = false)
private Long[] roleIds;

@ -1,14 +1,27 @@
package com.glxp.api.entity.auth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ApiModel("权限验证实体")
@Data
public class AuthCheckEntity {
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "器械信息")
private String machineInfo;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "注册码")
private String registerCode;
@ApiModelProperty(value = "创建日期")
private Date createDate;
}

@ -2,36 +2,73 @@ package com.glxp.api.entity.auth;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ApiModel("部门实体")
@Data
@TableName("auth_dept")
public class DeptEntity {
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = "父id")
private Long pid;
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "是否寄售 1:入账库2预验收库3寄售库")
private Boolean advanceType;
@ApiModelProperty(value = "是否默认Y是 N否")
private Boolean isDefault;
@ApiModelProperty(value = "状态")
private Integer status;
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "等级")
private Integer level;
@ApiModelProperty(value = "父编码")
private String pcode;
@ApiModelProperty(value = "父名称")
@TableField(exist = false)
private String pName;
/**
* ID
*/
@ApiModelProperty(value = "第三方仓库ID")
private String thirdId;
@ApiModelProperty(value = "第三方仓库ID1")
private String thirdId1;
@ApiModelProperty(value = "第三方仓库ID2")
private String thirdId2;
@ApiModelProperty(value = "第三方仓库ID3")
private String thirdId3;
@ApiModelProperty(value = "第三方仓库ID4")
private String thirdId4;
@ApiModelProperty(value = "是否供应商使用")
private boolean spUse;
}

@ -1,74 +1,176 @@
package com.glxp.api.entity.basic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ApiModel("产品信息实体")
@Data
public class ProductInfoEntity {
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "产品标识")
private String nameCode;
@ApiModelProperty(value = "包装比例")
private String packRatio;
@ApiModelProperty(value = "包装级别")
private String packLevel;
@ApiModelProperty(value = "包含下级数量")
private Integer bhxjsl;
@ApiModelProperty(value = "包含最小销售包装数量")
private Integer bhzxxsbzsl;
@ApiModelProperty(value = "最小销售标识包含使用单元数量")
private Integer zxxsbzbhsydysl;
@ApiModelProperty(value = "包含下级产品编码")
private String bhxjcpbm;
@ApiModelProperty(value = "上级产品标识")
private String sjcpbm; //
@ApiModelProperty(value = "包装层级")
private String bzcj;
@ApiModelProperty(value = "ERPID")
private String thirdProductNo;
@ApiModelProperty(value = "ERP产品名")
private String thirdProductName;
@ApiModelProperty(value = "1.器械2药品")
private String addType;
@ApiModelProperty(value = "国家库key")
private String deviceRecordKey;
@ApiModelProperty(value = "以使用单元数量入库")
private Integer isUseDy;
@ApiModelProperty(value = "产品名称")
private String cpmctymc;
@ApiModelProperty(value = "产品类别")
private String cplb;
@ApiModelProperty(value = "分类编码")
private String flbm;
@ApiModelProperty(value = "规格型号")
private String ggxh;
@ApiModelProperty(value = "器械类别")
private String qxlb;
@ApiModelProperty(value = "统一社会信用代码证号")
private String tyshxydm;
@ApiModelProperty(value = "医疗器械注册备案人名称")
private String ylqxzcrbarmc;
@ApiModelProperty(value = "注册/备案证号")
private String zczbhhzbapzbh;
@ApiModelProperty(value = "注册/备案人名称英文名称")
private String ylqxzcrbarywmc;
@ApiModelProperty(value = "使用单元产品标识")
private String sydycpbs;
@ApiModelProperty(value = "uuid")
private String uuid;
@ApiModelProperty(value = "历史版本号,最高为最新")
private Integer versionNumber;
@ApiModelProperty(value = "表示类型1.主标识2使用单元标识3.本体标识4包装标识")
private Integer diType;
@ApiModelProperty(value = "生产标识是否包含批号")
private String scbssfbhph;
@ApiModelProperty(value = "生产标识是否包含序列号")
private String scbssfbhxlh;
@ApiModelProperty(value = "生产标识是否包含生产日期")
private String scbssfbhscrq;
@ApiModelProperty(value = "生产标识是否包含失效日期")
private String scbssfbhsxrq;
@ApiModelProperty(value = "医保编码")
private String ybbm;
@ApiModelProperty(value = "商品名称")
private String spmc;
@ApiModelProperty(value = "产品合格证编号")
private String cphhhbh;
@ApiModelProperty(value = "产品描述")
private String cpms;
@ApiModelProperty(value = "产品标识别码条形码名称")
private String cpbsbmtxmc;
@ApiModelProperty(value = "批次号")
private String batchNo;
@ApiModelProperty(value = "生产日期")
private String produceDate;
@ApiModelProperty(value = "失效日期")
private String expireDate;
@ApiModelProperty(value = "是否是最新记录")
private Boolean isNewest;
@ApiModelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
@ApiModelProperty(value = "产品类型")
private String cplx;
@ApiModelProperty(value = "耗材或者设备")
private String hchzsb;
@ApiModelProperty(value = "是否为包类产品/组套类产品; 1 是 0 否")
private String sfwblztlcp;
@ApiModelProperty(value = "共振MR 安全相关信息; 0 安全 1 条件安全, 2不安全 3 说明书或标签上面不包括 MR 安全信息")
private String cgzmraqxgxx;
@ApiModelProperty(value = "标记为一次性使用:0 否, 1 是")
private String sfbjwycxsy;
@ApiModelProperty(value = "最大重复使用次数")
private String zdcfsycs;
@ApiModelProperty(value = "是否为已灭菌产品:1 是 0 否")
private String sfwwjbz;
@ApiModelProperty(value = "使用前是否需要进行灭菌:1 是 0 否")
private String syqsfxyjxmj;
@ApiModelProperty(value = "其他信息的网址链接")
private String qtxxdwzlj;
@ApiModelProperty(value = "灭菌方式")
private String mjfs;
//自定义字典
@ApiModelProperty(value = "自定义字典")
private boolean check;
}

@ -1,21 +1,43 @@
package com.glxp.api.entity.basic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ApiModel("UDI企业实体")
@Data
public class UdiCompanyEntity {
@ApiModelProperty(value = "id")
private int id;
@ApiModelProperty(value = "统一社会信用代码证号")
private String tyshxydm;
@ApiModelProperty(value = "医疗器械注册备案人名称")
private String ylqxzcrbarmc;
@ApiModelProperty(value = "备案人名称英文名称")
private String ylqxzcrbarywmc;
@ApiModelProperty(value = "")
private String qylxrdh;
@ApiModelProperty(value = "")
private String qylxrcz;
@ApiModelProperty(value = "")
private String qylxryx;
@ApiModelProperty(value = "国家库key")
private String deviceRecordKey;
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "产品名称")
private String cpmctymc;
}

@ -1,5 +1,7 @@
package com.glxp.api.entity.monitor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@ -10,99 +12,119 @@ import java.util.Map;
* oper_log
*/
@ApiModel("操作日志记录实体")
@Data
public class SysOperLog {
/**
*
*/
@ApiModelProperty(value = "日志主键")
private Long operId;
/**
*
*/
@ApiModelProperty(value = "操作模块")
private String title;
/**
* 0 1 2 3
*/
@ApiModelProperty(value = "业务类型0其它 1新增 2修改 3删除")
private Integer businessType;
/**
*
*/
@ApiModelProperty(value = "业务类型数组")
private Integer[] businessTypes;
/**
*
*/
@ApiModelProperty(value = "请求方法")
private String method;
/**
*
*/
@ApiModelProperty(value = "请求方式")
private String requestMethod;
/**
* 0 1 2
*/
@ApiModelProperty(value = "操作类别0其它 1后台用户 2手机端用户")
private Integer operatorType;
/**
*
*/
@ApiModelProperty(value = "操作人员")
private String operName;
/**
*
*/
@ApiModelProperty(value = "部门名称")
private String deptName;
/**
* url
*/
@ApiModelProperty(value = "请求url")
private String operUrl;
/**
*
*/
@ApiModelProperty(value = "操作地址")
private String operIp;
/**
*
*/
@ApiModelProperty(value = "操作地点")
private String operLocation;
/**
*
*/
@ApiModelProperty(value = "请求参数")
private String operParam;
/**
*
*/
@ApiModelProperty(value = "返回参数")
private String jsonResult;
/**
* 0 1
*/
@ApiModelProperty(value = "操作状态0正常 1异常")
private Integer status;
/**
*
*/
@ApiModelProperty(value = "错误消息")
private String errorMsg;
/**
*
*/
@ApiModelProperty(value = "操作时间")
private Date operTime;
/**
*
*/
@ApiModelProperty(value = "请求参数")
private Map<String, Object> params = new HashMap<>();
@ApiModelProperty(value = "操作用户名称")
private String operUserName;
}

@ -1,5 +1,7 @@
package com.glxp.api.req.auth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
@ -8,32 +10,51 @@ import java.util.List;
/**
*
*/
@ApiModel("管理员的提交保存表单请求类")
@Data
public class AuthUserSaveRequest {
// id
@ApiModelProperty(value = "id")
private Long id;
// 昵称
@ApiModelProperty(value = "昵称")
private String userName;
// 登录密码
@ApiModelProperty(value = "登录密码")
private String passWord;
// 状态
@ApiModelProperty(value = "状态")
private Integer userFlag;
@ApiModelProperty(value = "员工名称")
private String employeeName;
// 最后登录ip
@ApiModelProperty(value = "最后登录ip")
private String lastLoginIp;
// 最后登录时间
@ApiModelProperty(value = "最后登录时间")
private String lastLoginTime;
// 创建时间
@ApiModelProperty(value = "创建时间")
private String createTime;
@ApiModelProperty(value = "最后修改时间")
private String lastModifyTime;
@ApiModelProperty(value = "备注")
private String comments;
// 角色ids
@ApiModelProperty(value = "角色ids")
private List<Long> roles;
@ApiModelProperty(value = "本地部门编码")
private String locDeptCode;
@ApiModelProperty(value = "本地仓库编码")
private String locInvCode;
@ApiModelProperty(value = "部门列表")
private List<Long> depts;
}

@ -1,19 +1,33 @@
package com.glxp.api.req.auth;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
*
*/
@ApiModel("查询仓库关联的数据请求参数")
@Data
public class FilterInvLinkDataRequest extends ListPageRequest {
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "键")
private String key;
@ApiModelProperty(value = "用户名称")
private String userName;
@ApiModelProperty(value = "员工名称")
private String employeeName;
@ApiModelProperty(value = "用户列表")
private Long listUser[];
@ApiModelProperty(value = "父id")
private String parentId;

@ -1,36 +1,83 @@
package com.glxp.api.req.auth;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
@ApiModel("仓库请求类")
@Data
public class FilterInvWarehouseRequest extends ListPageRequest {
@ApiModelProperty(value = "id")
private Long id;
@ApiModelProperty(value = "父id")
private Long pid;
@ApiModelProperty(value = "编码")
private String code;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "部门编码")
private String deptCode;
// 1:入账库2预验收库3寄售库
@ApiModelProperty(value = "是否寄售 1:入账库2预验收库3寄售库")
private Integer advanceType;
@ApiModelProperty(value = "是否默认Y是 N否")
private Boolean isDefault;
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "等级")
private Integer level;
@ApiModelProperty(value = "父编码")
private String pcode;
@ApiModelProperty(value = "用户id")
private Long userId;
@ApiModelProperty(value = "本地仓库编码")
private String locInvCode;
@ApiModelProperty(value = "状态")
private Integer status;
@ApiModelProperty(value = "最后更新时间")
private String lastUpdateTime;
@ApiModelProperty(value = "id列表")
private List<Integer> ids;
@ApiModelProperty(value = "是否供应商使用")
private Boolean spUse;
@ApiModelProperty(value = "")
private Integer filter;
@ApiModelProperty(value = "单据类型")
private int billType;//判断是否是单据类型需要的分库
@ApiModelProperty(value = "")
private String warehouseCode;
@ApiModelProperty(value = "上级编码")
private String superiorCode;//上级
@ApiModelProperty(value = "下级编码")
private String subordinateCode;//下级
@ApiModelProperty(value = "上级父编码")
private String superiorPcode;//上级
@ApiModelProperty(value = "类型")
private Integer type;
}

@ -1,12 +1,17 @@
package com.glxp.api.req.basic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
@Data
@ApiModel("医疗器械信息字典绑定请求类")
public class BasicDictSelectRequest {
@ApiModelProperty(value = "键")
private String key;
@ApiModelProperty(value = "键列表")
private List<String> keys;
}

@ -38,6 +38,7 @@ public class BasicUdiBatchRelRequest {
/**
*
*/
@ApiModelProperty(value = "更新人")
private String updateUser;
}

@ -4,258 +4,315 @@ 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;
@Data
@ApiModel("UDI医疗器械信息字典请求类")
public class BasicUdiProductRequest extends ListPageRequest {
@ApiModelProperty(value = "id")
private Long id;
/**
*
*/
@ApiModelProperty(value = "标识")
private String nameCode;
/**
*
*/
@ApiModelProperty(value = "包装比例")
private String packRatio;
/**
*
*/
@ApiModelProperty(value = "包装级别")
private String packLevel;
/**
*
*/
@ApiModelProperty(value = "包含下级数量")
private Integer bhxjsl;
/**
*
*/
@ApiModelProperty(value = "包含最小销售包装数量")
private Integer bhzxxsbzsl;
/**
* 使:
* 使
*/
@ApiModelProperty(value = "最小销售标识包含使用单元数量")
private Integer zxxsbzbhsydysl;
/**
*
*/
@ApiModelProperty(value = "包含下级产品编码")
private String bhxjcpbm;
/**
*
*/
@ApiModelProperty(value = "包装层级")
private String bzcj;
/**
* ERPID
*/
@ApiModelProperty(value = "ERPID")
private String thirdProductNo;
/**
* 1.2
*/
@ApiModelProperty(value = "1.器械2药品")
private Integer addType;
/**
* key
*/
@ApiModelProperty(value = "国家库key")
private String deviceRecordKey;
/**
* 使
*/
@ApiModelProperty(value = "以使用单元数量入库")
private Integer isUseDy;
/**
* ERP
*/
@ApiModelProperty(value = "ERP产品名")
private String thirdProductName;
/**
*
*/
@ApiModelProperty(value = "产品名称,通用名称")
private String cpmctymc;
/**
*
*/
@ApiModelProperty(value = "产品类别")
private String cplb;
/**
*
*/
@ApiModelProperty(value = "分类编码")
private String flbm;
/**
*
*/
@ApiModelProperty(value = "规格型号")
private String ggxh;
/**
*
*/
@ApiModelProperty(value = "器械类别")
private String qxlb;
/**
*
*/
@ApiModelProperty(value = "统一社会信用代码证号")
private String tyshxydm;
/**
* /
*/
@ApiModelProperty(value = "医疗器械注册备案人名称")
private String ylqxzcrbarmc;
/**
* "/
*/
@ApiModelProperty(value = "注册/备案证号")
private String zczbhhzbapzbh;
/**
* /
*/
@ApiModelProperty(value = "注册/备案人名称英文名称")
private String ylqxzcrbarywmc;
/**
* 使
*/
@ApiModelProperty(value = "使用单元产品标识")
private String sydycpbs;
/**
* UUID
*/
@ApiModelProperty(value = "UUID主键")
private String uuid;
/**
*
*/
@ApiModelProperty(value = "上级产品标识")
private String sjcpbm;
/**
*
*/
@ApiModelProperty(value = "历史版本号,最高为最新")
private Integer versionNumber;
/**
* 1.2使3.4
*/
@ApiModelProperty(value = "表示类型1.主标识2使用单元标识3.本体标识4包装标识")
private Integer diType;
/**
*
*/
@ApiModelProperty(value = "生产标识是否包含批号")
private String scbssfbhph;
/**
*
*/
@ApiModelProperty(value = "生产标识是否包含序列号")
private String scbssfbhxlh;
/**
*
*/
@ApiModelProperty(value = "生产标识是否包含生产日期")
private String scbssfbhscrq;
/**
*
*/
@ApiModelProperty(value = "生产标识是否包含失效日期")
private String scbssfbhsxrq;
/**
*
*/
@ApiModelProperty(value = "医保编码")
private String ybbm;
/**
*
*/
@ApiModelProperty(value = "商品名称")
private String spmc;
@ApiModelProperty(value = "产品合格证编号")
private String cphhhbh;
@ApiModelProperty(value = "产品描述")
private String cpms;
@ApiModelProperty(value = "产品标识别码条形码名称")
private String cpbsbmtxmc;
/**
*
*/
@ApiModelProperty(value = "是否是最新记录")
private Boolean isNewest;
/**
*
*/
@ApiModelProperty(value = "更新时间")
private Date updateTime;
/**
*
*/
@ApiModelProperty(value = "产品类型")
private String cplx;
/**
*
*/
@ApiModelProperty(value = "耗材或者设备")
private String hchzsb;
/**
* / 1 0
*/
@ApiModelProperty(value = "是否为包类产品/组套类产品; 1 是 0 否")
private String sfwblztlcp;
/**
* MR 0 1 28
* 3 MR
*/
@ApiModelProperty(value = "共振MR 安全相关信息; 0 安全 1 条件安全, 2不安全 3 说明书或标签上面不包括 MR 安全信息")
private String cgzmraqxgxx;
/**
* 使:0 1
*/
@ApiModelProperty(value = "标记为一次性使用:0 否, 1 是")
private String sfbjwycxsy;
/**
* 使
*/
@ApiModelProperty(value = "最大重复使用次数")
private String zdcfsycs;
/**
* :1 0
*/
@ApiModelProperty(value = "是否为已灭菌产品:1 是 0 否")
private String sfwwjbz;
/**
* 使:1 0
*/
@ApiModelProperty(value = "使用前是否需要进行灭菌:1 是 0 否")
private String syqsfxyjxmj;
/**
*
*/
@ApiModelProperty(value = "灭菌方式")
private String mjfs;
/**
*
*/
@ApiModelProperty(value = "其他信息的网址链接")
private String qtxxdwzlj;
/**
*
*/
@ApiModelProperty(value = "分类编码对应分类名称")
private String categoryName;
@ApiModelProperty(value = "制造商")
private String manufactory;
@ApiModelProperty(value = "计量单位")
private String measname;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "跟新人")
private Long updateUser;
}

@ -12,9 +12,9 @@ import java.util.List;
public class FilterUdiRelRequest extends ListPageRequest {
@ApiModelProperty(value = "医疗器械注册备案名称")
private String ylqxzcrbarmc;
@ApiModelProperty(value = "产品名称全称")
@ApiModelProperty(value = "产品名称")
private String cpmctymc;
@ApiModelProperty(value = "")
@ApiModelProperty(value = "产品名称全称")
private String entireCpmctymc;
@ApiModelProperty(value = "名称编码")
private String nameCode;

@ -1,27 +1,63 @@
package com.glxp.api.req.basic;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel("产品信息请求类")
@Data
public class ProductInfoFilterRequest extends ListPageRequest {
@ApiModelProperty(value = "使用单元")
private String unit;
@ApiModelProperty(value = "企业名称")
private String coName;
@ApiModelProperty(value = "产品标识")
private String nameCode;
@ApiModelProperty(value = "1.器械2药品")
private int addType;
@ApiModelProperty(value = "ERPID")
private String thirdProductNo;
@ApiModelProperty(value = "国家库key")
private String deviceRecordKey;
@ApiModelProperty(value = "uuid")
private String uuid;
@ApiModelProperty(value = "产品名称")
private String cpmctymc;
@ApiModelProperty(value = "医疗器械注册备案人名称")
private String ylqxzcrbarmc;
@ApiModelProperty(value = "规格型号")
private String ggxh;
@ApiModelProperty(value = "统一社会信用代码证号")
private String tyshxydm;
@ApiModelProperty(value = "")
private String authCode;
@ApiModelProperty(value = "")
private boolean isShowHis;
@ApiModelProperty(value = "表示类型1.主标识2使用单元标识3.本体标识4包装标识")
private String diType;
@ApiModelProperty(value = "是否是最新记录")
private Integer isNewest;
@ApiModelProperty(value = "注册/备案证号")
private String zczbhhzbapzbh;
@ApiModelProperty(value = "更新时间")
private String updateTime;
public String toCacheKey() {

@ -1,15 +1,29 @@
package com.glxp.api.req.basic;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel("UDI企业请求类")
@Data
public class UdiCompanyRequest extends ListPageRequest {
@ApiModelProperty(value = "医疗器械注册备案人名称")
private String ylqxzcrbarmc;
@ApiModelProperty(value = "统一社会信用代码证号")
private String tyshxydm;
@ApiModelProperty(value = "省份编码")
private String provinceCode;
@ApiModelProperty(value = "城市编码")
private String cityCode;
@ApiModelProperty(value = "地区编码")
private String areaCode;
@ApiModelProperty(value = "更新时间")
private String updateTime;
}

@ -1,31 +1,45 @@
package com.glxp.api.req.monitor;
import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel("操作日志请求类")
public class FilterOperLogRequest extends ListPageRequest {
@ApiModelProperty(value = "日志主键")
private Long operId;
@ApiModelProperty(value = "操作模块")
private String title;
@ApiModelProperty(value = "业务类型0其它 1新增 2修改 3删除")
private Integer businessType;
@ApiModelProperty(value = "请求方法")
private String method;
@ApiModelProperty(value = "请求方式")
private String requestMethod;
@ApiModelProperty(value = "操作类别0其它 1后台用户 2手机端用户")
private Integer operatorType;
@ApiModelProperty(value = "操作人员")
private String operName;
@ApiModelProperty(value = "部门名称")
private String deptName;
@ApiModelProperty(value = "请求url")
private String operUrl;
@ApiModelProperty(value = "操作地址")
private String operIp;
@ApiModelProperty(value = "操作状态0正常 1异常")
private Integer status;

@ -1,16 +1,30 @@
package com.glxp.api.req.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
@Data
@ApiModel("删除请求类")
public class DeleteRequest {
@ApiModelProperty(value = "id")
String id;
@ApiModelProperty(value = "id列表")
List<String> ids;
@ApiModelProperty(value = "单据号")
String billNo;
@ApiModelProperty(value = "单据号列表")
List<String> billNos;
@ApiModelProperty(value = "1:同步任务2下载记录")
Integer dlType; //1:同步任务2下载记录
@ApiModelProperty(value = "uuid")
String uuid;
}

@ -117,7 +117,7 @@ public class BasicUdiRelResponse {
private String cphhhbh;
@ApiModelProperty(value = "产品描述")
private String cpms;
@ApiModelProperty(value = "")
@ApiModelProperty(value = "产品标识别码条形码名称")
private String cpbsbmtxmc;
@ApiModelProperty(value = "批次号")
private String batchNo;

Loading…
Cancel
Save