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.enums.ResultEnum;
import com.glxp.api.common.res.BaseResponse; import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils; 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.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -20,6 +22,7 @@ import javax.annotation.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import java.util.List; import java.util.List;
@Api(tags = "授权核验相关接口")
@ApiIgnore @ApiIgnore
@RestController @RestController
public class AuthCheckController { public class AuthCheckController {
@ -27,6 +30,7 @@ public class AuthCheckController {
@Resource @Resource
private AuthCheckService authCheckService; private AuthCheckService authCheckService;
@ApiOperation(value = "权限验证索引",response = AuthCheckEntity.class)
@GetMapping("/udiwms/auth/device/filter") @GetMapping("/udiwms/auth/device/filter")
public BaseResponse index(FilterAuthCheckRequest filterAuthCheckRequest, public BaseResponse index(FilterAuthCheckRequest filterAuthCheckRequest,
BindingResult bindingResult) { BindingResult bindingResult) {
@ -44,6 +48,7 @@ public class AuthCheckController {
} }
@ApiOperation(value = "注册",response = BaseResponse.class)
@PostMapping("/udiwms/auth/device/save") @PostMapping("/udiwms/auth/device/save")
public BaseResponse save(@RequestBody @Valid AuthCheckEntity authCheckEntity, public BaseResponse save(@RequestBody @Valid AuthCheckEntity authCheckEntity,
BindingResult bindingResult) { 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.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils; import com.glxp.api.common.util.ResultVOUtils;
import com.glxp.api.service.auth.*; import com.glxp.api.service.auth.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -28,6 +30,7 @@ import java.util.*;
* *
*/ */
@Api(tags = "管理员相关接口")
@ApiIgnore @ApiIgnore
@RestController @RestController
public class AuthUserController extends BaseController { public class AuthUserController extends BaseController {
@ -39,6 +42,7 @@ public class AuthUserController extends BaseController {
@Resource @Resource
DeptService deptService; DeptService deptService;
@ApiOperation(value = "更新仓库",response = BaseResponse.class)
@AuthRuleAnnotation("admin/auth/admin/updateInv") @AuthRuleAnnotation("admin/auth/admin/updateInv")
@PostMapping("/admin/auth/admin/updateInv") @PostMapping("/admin/auth/admin/updateInv")
public BaseResponse updateInv(@RequestBody @Valid AuthUserSaveRequest authUserSaveRequest, public BaseResponse updateInv(@RequestBody @Valid AuthUserSaveRequest authUserSaveRequest,
@ -63,6 +67,7 @@ public class AuthUserController extends BaseController {
* *
* @return * @return
*/ */
@ApiOperation(value = "删除用户",response = BaseResponse.class)
@Log(title = "用户管理", businessType = BusinessType.DELETE) @Log(title = "用户管理", businessType = BusinessType.DELETE)
@AuthRuleAnnotation("admin/auth/admin/delete") @AuthRuleAnnotation("admin/auth/admin/delete")
@PostMapping("/admin/auth/admin/delete") @PostMapping("/admin/auth/admin/delete")
@ -89,6 +94,7 @@ public class AuthUserController extends BaseController {
* *
* @return * @return
*/ */
@ApiOperation(value = "获取医院用户列表",response = AuthAdmin.class)
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@GetMapping("/admin/auth/admin/selectNotSelectUser") @GetMapping("/admin/auth/admin/selectNotSelectUser")
public BaseResponse selectNotSelectUser(FilterInvLinkDataRequest filterInvLinkDataRequest) { public BaseResponse selectNotSelectUser(FilterInvLinkDataRequest filterInvLinkDataRequest) {
@ -123,6 +129,7 @@ public class AuthUserController extends BaseController {
//仓库未关联用户列表 //仓库未关联用户列表
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "仓库未关联用户列表",response = AuthAdmin.class)
@GetMapping("/admin/auth/admin/hospitalUserList") @GetMapping("/admin/auth/admin/hospitalUserList")
public BaseResponse getHospitalUserList() { public BaseResponse getHospitalUserList() {
List<AuthAdmin> hospitalUserList = authAdminService.getHospitalUserList(); List<AuthAdmin> hospitalUserList = authAdminService.getHospitalUserList();

@ -9,6 +9,8 @@ import java.util.Map;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -38,6 +40,7 @@ import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import springfox.documentation.annotations.ApiIgnore; import springfox.documentation.annotations.ApiIgnore;
@Api(tags = "部门相关接口")
@ApiIgnore @ApiIgnore
@RestController @RestController
public class DeptController { public class DeptController {
@ -53,6 +56,7 @@ public class DeptController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filter") @GetMapping("spms/inv/warehouse/filter")
public BaseResponse filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) {
List<DeptEntity> invWarehouseEntities = deptService.filterInvWarehouse(filterInvWarehouseRequest); List<DeptEntity> invWarehouseEntities = deptService.filterInvWarehouse(filterInvWarehouseRequest);
@ -65,6 +69,7 @@ public class DeptController {
} }
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取所有部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterAll") @GetMapping("spms/inv/warehouse/filterAll")
public BaseResponse filterAllInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterAllInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L); filterInvWarehouseRequest.setPid(0L);
@ -75,6 +80,7 @@ public class DeptController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterNext") @GetMapping("spms/inv/warehouse/filterNext")
public BaseResponse filterNext(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterNext(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L); filterInvWarehouseRequest.setPid(0L);
@ -86,6 +92,7 @@ public class DeptController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "根据用户获取部门列表",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterByUser") @GetMapping("spms/inv/warehouse/filterByUser")
public BaseResponse filterByUser(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterByUser(FilterInvWarehouseRequest filterInvWarehouseRequest) {
AuthAdmin authAdmin = customerService.getUserBean(); AuthAdmin authAdmin = customerService.getUserBean();
@ -98,6 +105,7 @@ public class DeptController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取所有本地仓库",response = BaseResponse.class)
@GetMapping("spms/inv/warehouse/filterAllLocInv") @GetMapping("spms/inv/warehouse/filterAllLocInv")
public BaseResponse filterAllLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterAllLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L); filterInvWarehouseRequest.setPid(0L);
@ -127,6 +135,7 @@ public class DeptController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "",response = DeptEntity.class)
@GetMapping("spms/inv/warehouse/filterUplLocInv") @GetMapping("spms/inv/warehouse/filterUplLocInv")
public BaseResponse filterUplLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) { public BaseResponse filterUplLocInv(FilterInvWarehouseRequest filterInvWarehouseRequest) {
filterInvWarehouseRequest.setPid(0L); 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.BasicUdiProductService;
import com.glxp.api.service.basic.ProductInfoService; import com.glxp.api.service.basic.ProductInfoService;
import com.glxp.api.util.udi.FilterUdiUtils; import com.glxp.api.util.udi.FilterUdiUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -32,6 +34,7 @@ import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@Api(tags = "UDI产品相关接口")
@ApiIgnore @ApiIgnore
@Slf4j @Slf4j
@RestController @RestController
@ -44,6 +47,7 @@ public class UdiProductController extends BaseController {
//获取同步库UDI信息 //获取同步库UDI信息
@ApiOperation(value = "获取同步库UDI信息",response = BasicUdiProductEntity.class)
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiIgnore @ApiIgnore
@GetMapping("udi/basic/dict/filter") @GetMapping("udi/basic/dict/filter")
@ -74,6 +78,7 @@ public class UdiProductController extends BaseController {
//医疗器械信息字典编辑保存 //医疗器械信息字典编辑保存
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "添加医疗器械信息字典",response = BaseResponse.class)
@PostMapping("udi/basic/dict/add") @PostMapping("udi/basic/dict/add")
public BaseResponse addDict(@RequestBody BasicDictSelectRequest basicDictSelectRequest) { public BaseResponse addDict(@RequestBody BasicDictSelectRequest basicDictSelectRequest) {
@ -95,6 +100,7 @@ public class UdiProductController extends BaseController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "删除医疗器械信息字典",response = BaseResponse.class)
@PostMapping("udi/basic/dict/delete") @PostMapping("udi/basic/dict/delete")
public BaseResponse addDict(@RequestBody DeleteRequest deleteRequest) { public BaseResponse addDict(@RequestBody DeleteRequest deleteRequest) {
if (StrUtil.isEmpty(deleteRequest.getUuid())) { if (StrUtil.isEmpty(deleteRequest.getUuid())) {
@ -107,6 +113,7 @@ public class UdiProductController extends BaseController {
//医疗器械信息字典编辑保存 //医疗器械信息字典编辑保存
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "添加UDI产品信息",response = BaseResponse.class)
@PostMapping("udi/basic/dict/batchAdd") @PostMapping("udi/basic/dict/batchAdd")
public BaseResponse batchAdd(@RequestBody BasicDictSelectRequest basicDictSelectRequest) { public BaseResponse batchAdd(@RequestBody BasicDictSelectRequest basicDictSelectRequest) {
@ -132,6 +139,7 @@ public class UdiProductController extends BaseController {
} }
//医疗器械信息字典编辑保存 //医疗器械信息字典编辑保存
@ApiOperation(value = "医疗器械信息字典编辑",response = BaseResponse.class)
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@PostMapping("udi/basic/dict/edit") @PostMapping("udi/basic/dict/edit")
public BaseResponse editDict(@RequestBody BasicUdiProductEntity basicUdiProductEntity) { public BaseResponse editDict(@RequestBody BasicUdiProductEntity basicUdiProductEntity) {
@ -142,6 +150,7 @@ public class UdiProductController extends BaseController {
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterylqxzcrbarmc") @GetMapping("udi/basic/dict/filterylqxzcrbarmc")
public BaseResponse filterylqxzcrbarmc(BasicUdiProductRequest basicUdiProductRequest) { public BaseResponse filterylqxzcrbarmc(BasicUdiProductRequest basicUdiProductRequest) {
@ -154,6 +163,7 @@ public class UdiProductController extends BaseController {
} }
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "根据产品名称获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterCpmctymc") @GetMapping("udi/basic/dict/filterCpmctymc")
public BaseResponse filterCpmctymc(BasicUdiProductRequest basicUdiProductRequest) { public BaseResponse filterCpmctymc(BasicUdiProductRequest basicUdiProductRequest) {
@ -166,6 +176,7 @@ public class UdiProductController extends BaseController {
} }
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "根据规格型号获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterGgxh") @GetMapping("udi/basic/dict/filterGgxh")
public BaseResponse filterGgxh(BasicUdiProductRequest basicUdiProductRequest) { public BaseResponse filterGgxh(BasicUdiProductRequest basicUdiProductRequest) {
@ -178,6 +189,7 @@ public class UdiProductController extends BaseController {
} }
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "根据DI标识获取UDI医疗器械信息字典",response = BasicUdiProductEntity.class)
@GetMapping("udi/basic/dict/filterNameCode") @GetMapping("udi/basic/dict/filterNameCode")
public BaseResponse filterNameCode(BasicUdiProductRequest basicUdiProductRequest) { public BaseResponse filterNameCode(BasicUdiProductRequest basicUdiProductRequest) {

@ -50,6 +50,7 @@ public class UdiRelController extends BaseController {
//获取同步库UDI信息 //获取同步库UDI信息
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiIgnore @ApiIgnore
@ApiOperation(value = "获取同步库UDI信息",response = BasicUdiRelResponse.class)
@GetMapping("udi/basic/rel/filter") @GetMapping("udi/basic/rel/filter")
public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) { public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode; String nameCode;
@ -128,6 +129,7 @@ public class UdiRelController extends BaseController {
} }
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "注册企业删除医疗器械信息",response = BaseResponse.class)
@PostMapping("udi/basic/rel/delete") @PostMapping("udi/basic/rel/delete")
public BaseResponse deletRel(@RequestBody DeleteRequest deleteRequest) { public BaseResponse deletRel(@RequestBody DeleteRequest deleteRequest) {
basicUdiRelService.removeById(deleteRequest.getId()); basicUdiRelService.removeById(deleteRequest.getId());
@ -136,6 +138,7 @@ public class UdiRelController extends BaseController {
//产品信息关联修改 //产品信息关联修改
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "注册企更新除医疗器械信息",response = BaseResponse.class)
@PostMapping("udi/basic/rel/update") @PostMapping("udi/basic/rel/update")
public BaseResponse updateRel(@RequestBody BasicUdiRelRequest basicUdiRelRequest) { 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.res.basic.BasicUdiRelResponse;
import com.glxp.api.service.basic.*; import com.glxp.api.service.basic.*;
import com.glxp.api.util.udi.FilterUdiUtils; import com.glxp.api.util.udi.FilterUdiUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -24,6 +26,7 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@Api(tags = "UDI同步相关接口")
@Slf4j @Slf4j
@RestController @RestController
public class UdiSyncController { public class UdiSyncController {
@ -41,6 +44,7 @@ public class UdiSyncController {
//获取同步库UDI信息 //获取同步库UDI信息
@ApiIgnore @ApiIgnore
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库UDI信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/filterUdi") @GetMapping("udiwms/udiinfo/filterUdi")
public BaseResponse filterUdi(FilterUdiRelRequest filterUdiRelRequest) { public BaseResponse filterUdi(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode; String nameCode;
@ -73,6 +77,7 @@ public class UdiSyncController {
//获取同步库UDI信息 //获取同步库UDI信息
@ApiIgnore @ApiIgnore
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库UDI字典信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/dict/filter") @GetMapping("udiwms/udiinfo/dict/filter")
public BaseResponse filterDict(FilterUdiRelRequest filterUdiRelRequest) { public BaseResponse filterDict(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode; String nameCode;
@ -119,7 +124,8 @@ public class UdiSyncController {
//获取同步库UDI信息 //获取同步库UDI信息
@ApiIgnore @ApiIgnore
@AuthRuleAnnotation("") @AuthRuleAnnotation("获取同步库UDI关联信息")
@ApiOperation(value = "",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/rel/filter") @GetMapping("udiwms/udiinfo/rel/filter")
public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) { public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) {
String nameCode; String nameCode;
@ -167,6 +173,7 @@ public class UdiSyncController {
//获取同步库医疗器械注册人信息 //获取同步库医疗器械注册人信息
@ApiIgnore @ApiIgnore
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "获取同步库医疗器械注册人信息",response = UdiCompanyEntity.class)
@GetMapping("udiwms/udiinfo/filterCompany") @GetMapping("udiwms/udiinfo/filterCompany")
public BaseResponse filterCompany(UdiCompanyRequest udiCompanyRequest) { public BaseResponse filterCompany(UdiCompanyRequest udiCompanyRequest) {
@ -183,6 +190,7 @@ public class UdiSyncController {
//出入库同步下载 //出入库同步下载
@ApiOperation(value = "出入库同步下载(同步UDI)",response = ProductInfoEntity.class)
@GetMapping("udidl/udiwms/syncUdi") @GetMapping("udidl/udiwms/syncUdi")
public BaseResponse syncUdi(ProductInfoFilterRequest productInfoFilterRequest) { public BaseResponse syncUdi(ProductInfoFilterRequest productInfoFilterRequest) {
@ -191,6 +199,7 @@ public class UdiSyncController {
} }
//出入库同步下载 //出入库同步下载
@ApiOperation(value = "出入库同步下载(同步企业)",response = UdiCompanyEntity.class)
@GetMapping("udidl/udiwms/syncCompany") @GetMapping("udidl/udiwms/syncCompany")
public BaseResponse syncCompany(UdiCompanyRequest udiCompanyRequest) { public BaseResponse syncCompany(UdiCompanyRequest udiCompanyRequest) {
@ -203,6 +212,7 @@ public class UdiSyncController {
*/ */
@ApiIgnore @ApiIgnore
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@ApiOperation(value = "耗材字典信息获取同一产品对应DI信息",response = ProductInfoEntity.class)
@GetMapping("udiwms/udiinfo/local/filterByUuid") @GetMapping("udiwms/udiinfo/local/filterByUuid")
public BaseResponse filterLocalByUuid(FilterUdiRelRequest filterUdiRelRequest) { 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.req.monitor.FilterOperLogRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.service.monitor.ISysOperLogService; import com.glxp.api.service.monitor.ISysOperLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -21,6 +23,7 @@ import java.util.List;
/** /**
* *
*/ */
@Api(tags = "操作日志记录相关接口")
@ApiIgnore @ApiIgnore
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@ -33,6 +36,7 @@ public class SysOperlogController extends BaseController {
/** /**
* *
*/ */
@ApiOperation(value = "获取操作日志记录列表",response = SysOperLog.class)
@SaCheckPermission("monitor:operlog:list") @SaCheckPermission("monitor:operlog:list")
@GetMapping("/list") @GetMapping("/list")
public BaseResponse list(FilterOperLogRequest filterOperLogRequest) { public BaseResponse list(FilterOperLogRequest filterOperLogRequest) {
@ -52,6 +56,7 @@ public class SysOperlogController extends BaseController {
* *
* @param operIds ids * @param operIds ids
*/ */
@ApiOperation(value = "批量删除操作日志记录",response = BaseResponse.class)
@Log(title = "操作日志", businessType = BusinessType.DELETE) @Log(title = "操作日志", businessType = BusinessType.DELETE)
@SaCheckPermission("monitor:operlog:remove") @SaCheckPermission("monitor:operlog:remove")
@DeleteMapping("/{operIds}") @DeleteMapping("/{operIds}")

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

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

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

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

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

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

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

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

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

@ -1,12 +1,17 @@
package com.glxp.api.req.basic; package com.glxp.api.req.basic;
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("医疗器械信息字典绑定请求类")
public class BasicDictSelectRequest { public class BasicDictSelectRequest {
@ApiModelProperty(value = "键")
private String key; private String key;
@ApiModelProperty(value = "键列表")
private List<String> keys; private List<String> keys;
} }

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

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

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

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

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

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

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

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

Loading…
Cancel
Save