接口注解完善

cert
1178634255 2 years ago
parent cd7e13559f
commit b82c4c558b

@ -1,18 +1,22 @@
package com.glxp.api.controller.system; package com.glxp.api.controller.system;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import com.glxp.api.entity.auth.SysDictType;
import com.glxp.api.entity.system.ClassifyCodeEntity; import com.glxp.api.entity.system.ClassifyCodeEntity;
import com.glxp.api.req.system.FilterClassifyCodeRequest; import com.glxp.api.req.system.FilterClassifyCodeRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.service.system.ClassifyCodeService; import com.glxp.api.service.system.ClassifyCodeService;
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.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore; import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
@Api(tags = "分类代码控制器")
@ApiIgnore @ApiIgnore
@RestController @RestController
@ -20,7 +24,7 @@ public class ClassifyCodeController {
@Resource @Resource
ClassifyCodeService classifyCodeService; ClassifyCodeService classifyCodeService;
@ApiOperation(value = "筛选器列表",response = ClassifyCodeEntity.class)
@GetMapping("spms/classify/code/filter") @GetMapping("spms/classify/code/filter")
public BaseResponse filterList(FilterClassifyCodeRequest filterDeviceKeyRequest) { public BaseResponse filterList(FilterClassifyCodeRequest filterDeviceKeyRequest) {
List<ClassifyCodeEntity> classifyCodeEntities = classifyCodeService.filteClassifyCode(filterDeviceKeyRequest); List<ClassifyCodeEntity> classifyCodeEntities = classifyCodeService.filteClassifyCode(filterDeviceKeyRequest);

@ -1,9 +1,12 @@
package com.glxp.api.controller.system; package com.glxp.api.controller.system;
import com.glxp.api.entity.system.ClassifyCodeEntity;
import com.glxp.api.entity.system.CompanyEntity; import com.glxp.api.entity.system.CompanyEntity;
import com.glxp.api.service.system.CompanyService; import com.glxp.api.service.system.CompanyService;
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.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;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
@ -12,12 +15,13 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource; import javax.annotation.Resource;
@ApiIgnore @ApiIgnore
@Api(tags = "公司控制器")
@RestController @RestController
public class CompanyController { public class CompanyController {
@Resource @Resource
private CompanyService companyService; private CompanyService companyService;
@ApiOperation(value = "获取公司信息",response = BaseResponse.class)
@GetMapping("/warehouse/info/company") @GetMapping("/warehouse/info/company")
public BaseResponse getCompanyInfo() { public BaseResponse getCompanyInfo() {
CompanyEntity companyEntity = companyService.findCompany(); CompanyEntity companyEntity = companyService.findCompany();
@ -26,7 +30,7 @@ public class CompanyController {
} }
return ResultVOUtils.error(500, "企业信息为空"); return ResultVOUtils.error(500, "企业信息为空");
} }
@ApiOperation(value = "修改公司信息",response = BaseResponse.class)
@PostMapping("/warehouse/info/modifyCompany") @PostMapping("/warehouse/info/modifyCompany")
public BaseResponse modifyCompany(@RequestBody CompanyEntity companyEntity) { public BaseResponse modifyCompany(@RequestBody CompanyEntity companyEntity) {

@ -6,12 +6,14 @@ import com.glxp.api.req.auth.FilterConnectRequest;
import com.glxp.api.service.system.CompanyService; import com.glxp.api.service.system.CompanyService;
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.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore; import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource; import javax.annotation.Resource;
@Api(tags = "连接测试控制器")
@ApiIgnore @ApiIgnore
@RestController @RestController
public class ConnectTestController { public class ConnectTestController {
@ -19,7 +21,7 @@ public class ConnectTestController {
@Resource @Resource
CompanyService companyService; CompanyService companyService;
@ApiOperation(value = "索引",response = AuthConnectEntity.class)
@GetMapping("/udiwms/auth/device/connect") @GetMapping("/udiwms/auth/device/connect")
public BaseResponse index(FilterConnectRequest connequest) { public BaseResponse index(FilterConnectRequest connequest) {
CompanyEntity companyEntity = companyService.findCompany(); CompanyEntity companyEntity = companyService.findCompany();

@ -10,6 +10,8 @@ import com.glxp.api.util.DateUtil;
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 lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -22,7 +24,7 @@ import javax.annotation.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import java.security.MessageDigest; import java.security.MessageDigest;
import java.util.List; import java.util.List;
@Api(tags = "设备密钥控制器")
@ApiIgnore @ApiIgnore
@Slf4j @Slf4j
@RestController @RestController
@ -35,7 +37,7 @@ public class DeviceKeyController {
SysPdaKeyService sysPdaKeyService; SysPdaKeyService sysPdaKeyService;
// @Resource // @Resource
// private JavaMailSender javaMailSender; // private JavaMailSender javaMailSender;
@ApiOperation(value = "注册列表",response = SysPdaKeyEntity.class)
@GetMapping("sale/device/registerList") @GetMapping("sale/device/registerList")
public BaseResponse registerList(FilterDeviceKeyRequest filterDeviceKeyRequest) { public BaseResponse registerList(FilterDeviceKeyRequest filterDeviceKeyRequest) {
List<SysPdaKeyEntity> deviceKeyEntities = sysPdaKeyService.findDeviceKey(filterDeviceKeyRequest); List<SysPdaKeyEntity> deviceKeyEntities = sysPdaKeyService.findDeviceKey(filterDeviceKeyRequest);
@ -47,7 +49,7 @@ public class DeviceKeyController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "检查注册",response = BaseResponse.class)
@PostMapping("sale/device/check") @PostMapping("sale/device/check")
public BaseResponse checkRegister(@RequestBody @Valid SysPdaKeyEntity sysPdaKeyEntity, public BaseResponse checkRegister(@RequestBody @Valid SysPdaKeyEntity sysPdaKeyEntity,
BindingResult bindingResult) { BindingResult bindingResult) {
@ -60,7 +62,7 @@ public class DeviceKeyController {
return ResultVOUtils.success("审核成功"); return ResultVOUtils.success("审核成功");
} }
@ApiOperation(value = "注册密钥",response = BaseResponse.class)
@PostMapping("/sale/info/registerKey") @PostMapping("/sale/info/registerKey")
public BaseResponse registerKey(@RequestBody SysPdaKeyEntity sysPdaKeyEntity) { public BaseResponse registerKey(@RequestBody SysPdaKeyEntity sysPdaKeyEntity) {
String key = md5("glxp2020" + sysPdaKeyEntity.getImei()); String key = md5("glxp2020" + sysPdaKeyEntity.getImei());
@ -76,7 +78,7 @@ public class DeviceKeyController {
} }
} }
@ApiOperation(value = "删除密钥",response = BaseResponse.class)
@PostMapping("/sale/info/deleterKey") @PostMapping("/sale/info/deleterKey")
public BaseResponse deleterKey(@RequestBody DeleteRequest deleteRequest) { public BaseResponse deleterKey(@RequestBody DeleteRequest deleteRequest) {
@ -85,7 +87,7 @@ public class DeviceKeyController {
} }
@ApiOperation(value = "保存注册信息",response = BaseResponse.class)
@PostMapping("sale/device/register") @PostMapping("sale/device/register")
public BaseResponse saveRegister(@RequestBody SysPdaKeyEntity sysPdaKeyEntity, public BaseResponse saveRegister(@RequestBody SysPdaKeyEntity sysPdaKeyEntity,
BindingResult bindingResult) { BindingResult bindingResult) {

@ -8,6 +8,8 @@ import com.glxp.api.entity.auth.Smenu;
import com.glxp.api.req.system.LicenseRequest; import com.glxp.api.req.system.LicenseRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.service.auth.SmenuService; import com.glxp.api.service.auth.SmenuService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -18,7 +20,7 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@Api(tags = "菜单控制器")
/** /**
* @author : zhangsan * @author : zhangsan
* @date : 2023/5/24 11:46 * @date : 2023/5/24 11:46
@ -29,7 +31,7 @@ public class SMenuController {
@Resource @Resource
SmenuService sysmenuService; SmenuService sysmenuService;
@ApiOperation(value = "获取排序列表",response = LicenseRequest.class)
@GetMapping("system/license/List") @GetMapping("system/license/List")
public BaseResponse getSortList(LicenseRequest licenseRequest){ public BaseResponse getSortList(LicenseRequest licenseRequest){
@ -42,7 +44,7 @@ public class SMenuController {
return ResultVOUtils.success(objectPageSimpleResponse); return ResultVOUtils.success(objectPageSimpleResponse);
} }
@ApiOperation(value = "插入",response = BaseResponse.class)
@PostMapping("system/license/insert") @PostMapping("system/license/insert")
public BaseResponse insert(@RequestBody LicenseRequest licenseRequest){ public BaseResponse insert(@RequestBody LicenseRequest licenseRequest){
@ -54,7 +56,7 @@ public class SMenuController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "删除",response = BaseResponse.class)
@PostMapping("system/license/delete") @PostMapping("system/license/delete")
public BaseResponse delete(@RequestBody LicenseRequest licenseRequest){ public BaseResponse delete(@RequestBody LicenseRequest licenseRequest){
@ -74,7 +76,7 @@ public class SMenuController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "修改",response = BaseResponse.class)
@PostMapping("system/license/update") @PostMapping("system/license/update")
public BaseResponse update(@RequestBody LicenseRequest licenseRequest){ public BaseResponse update(@RequestBody LicenseRequest licenseRequest){
Smenu authLicense = new Smenu(); Smenu authLicense = new Smenu();

@ -12,6 +12,8 @@ import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.service.auth.ISysMenuService; import com.glxp.api.service.auth.ISysMenuService;
import com.glxp.api.service.system.SysMenuHelpService; import com.glxp.api.service.system.SysMenuHelpService;
import com.glxp.api.util.StringUtils; import com.glxp.api.util.StringUtils;
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.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -23,7 +25,7 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import java.util.List; import java.util.List;
@Api(tags = "系统菜单帮助控制器")
/** /**
* @author : zhangsan * @author : zhangsan
* @date : 2023/3/20 13:58 * @date : 2023/3/20 13:58
@ -39,7 +41,7 @@ public class SysMenuHelpController {
private ISysMenuService iSysMenuService; private ISysMenuService iSysMenuService;
@ApiOperation(value = "列表",response = SysMenuHelpEntity.class)
@AuthRuleAnnotation("system/param/help/list") @AuthRuleAnnotation("system/param/help/list")
@GetMapping("/system/param/help/list") @GetMapping("/system/param/help/list")
public BaseResponse list(@Valid SysMenuHelpRequest sysMenuHelpRequest, public BaseResponse list(@Valid SysMenuHelpRequest sysMenuHelpRequest,
@ -57,7 +59,7 @@ public class SysMenuHelpController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "插入菜单帮助",response = BaseResponse.class)
@AuthRuleAnnotation("system/param/help/insertMenuHelp") @AuthRuleAnnotation("system/param/help/insertMenuHelp")
@PostMapping("/system/param/help/insertMenuHelp") @PostMapping("/system/param/help/insertMenuHelp")
public BaseResponse insertMenuHelp(@RequestBody SysMenuHelpRequest sysMenuHelpRequest, public BaseResponse insertMenuHelp(@RequestBody SysMenuHelpRequest sysMenuHelpRequest,
@ -70,7 +72,7 @@ public class SysMenuHelpController {
sysMenuHelpService.insertMenuHelp(sysMenuHelpEntity); sysMenuHelpService.insertMenuHelp(sysMenuHelpEntity);
return ResultVOUtils.success("成功"); return ResultVOUtils.success("成功");
} }
@ApiOperation(value = "更新菜单帮助",response = BaseResponse.class)
@AuthRuleAnnotation("system/param/help/updateMenuHelp") @AuthRuleAnnotation("system/param/help/updateMenuHelp")
@PostMapping("/system/param/help/updateMenuHelp") @PostMapping("/system/param/help/updateMenuHelp")
public BaseResponse updateMenuHelp(@RequestBody SysMenuHelpRequest sysMenuHelpRequest, public BaseResponse updateMenuHelp(@RequestBody SysMenuHelpRequest sysMenuHelpRequest,
@ -83,7 +85,7 @@ public class SysMenuHelpController {
sysMenuHelpService.updateMenuHelp(sysMenuHelpEntity); sysMenuHelpService.updateMenuHelp(sysMenuHelpEntity);
return ResultVOUtils.success("成功"); return ResultVOUtils.success("成功");
} }
@ApiOperation(value = "删除菜单帮助",response = BaseResponse.class)
@AuthRuleAnnotation("system/param/help/deleteMenuHelp") @AuthRuleAnnotation("system/param/help/deleteMenuHelp")
@GetMapping("/system/param/help/deleteMenuHelp") @GetMapping("/system/param/help/deleteMenuHelp")
public BaseResponse deleteMenuHelp( String id) { public BaseResponse deleteMenuHelp( String id) {

@ -11,12 +11,15 @@ import com.glxp.api.entity.system.SystemParamConfigEntity;
import com.glxp.api.req.system.FilterParamConfigRequest; import com.glxp.api.req.system.FilterParamConfigRequest;
import com.glxp.api.req.system.SysParamConfigSaveRequest; import com.glxp.api.req.system.SysParamConfigSaveRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.auth.sroleResponse;
import com.glxp.api.res.system.SystemParamConfigResponse; import com.glxp.api.res.system.SystemParamConfigResponse;
import com.glxp.api.service.system.SystemParamConfigService; import com.glxp.api.service.system.SystemParamConfigService;
import com.glxp.api.util.CronUtils; import com.glxp.api.util.CronUtils;
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.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -31,6 +34,7 @@ import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ApiIgnore @ApiIgnore
@RestController @RestController
@Api(tags = "系统参数配置控制器")
public class SysParamConfigController { public class SysParamConfigController {
@Resource @Resource
@ -38,7 +42,7 @@ public class SysParamConfigController {
@Resource @Resource
ScheduledDao scheduledDao; ScheduledDao scheduledDao;
@ApiOperation(value = "列表",response = SystemParamConfigResponse.class)
@AuthRuleAnnotation("system/param/config/list") @AuthRuleAnnotation("system/param/config/list")
@GetMapping("/system/param/config/list") @GetMapping("/system/param/config/list")
public BaseResponse list(@Valid FilterParamConfigRequest filterParamConfigRequest, public BaseResponse list(@Valid FilterParamConfigRequest filterParamConfigRequest,
@ -62,7 +66,7 @@ public class SysParamConfigController {
pageSimpleResponse.setList(systemParamConfigResponseList); pageSimpleResponse.setList(systemParamConfigResponseList);
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "保存",response = BaseResponse.class)
@AuthRuleAnnotation("system/param/config/save") @AuthRuleAnnotation("system/param/config/save")
@PostMapping("/system/param/config/save") @PostMapping("/system/param/config/save")
public BaseResponse save(@RequestBody @Valid SysParamConfigSaveRequest sysParamConfigSaveRequest, public BaseResponse save(@RequestBody @Valid SysParamConfigSaveRequest sysParamConfigSaveRequest,
@ -82,7 +86,7 @@ public class SysParamConfigController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "更新",response = SysParamConfigSaveRequest.class)
@AuthRuleAnnotation("system/param/config/update") @AuthRuleAnnotation("system/param/config/update")
@PostMapping("/system/param/config/update") @PostMapping("/system/param/config/update")
public BaseResponse update(@RequestBody SysParamConfigSaveRequest sysParamConfigSaveRequest) { public BaseResponse update(@RequestBody SysParamConfigSaveRequest sysParamConfigSaveRequest) {
@ -164,7 +168,7 @@ public class SysParamConfigController {
return ResultVOUtils.success("修改成功"); return ResultVOUtils.success("修改成功");
} }
@ApiOperation(value = "key搜索",response = SystemParamConfigEntity.class)
//key搜索 //key搜索
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@GetMapping("/udiwms/sys/config/selectByKey") @GetMapping("/udiwms/sys/config/selectByKey")
@ -178,7 +182,7 @@ public class SysParamConfigController {
return ResultVOUtils.success(systemParamConfigEntity); return ResultVOUtils.success(systemParamConfigEntity);
} }
@ApiOperation(value = "获取耗材字典备用字段设置",response = ProductRemarkSetEntity.class)
//获取耗材字典备用字段设置 //获取耗材字典备用字段设置
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@GetMapping("/udiwms/sys/config/selectByBasic") @GetMapping("/udiwms/sys/config/selectByBasic")

@ -11,11 +11,14 @@ import com.glxp.api.entity.system.SystemPDFTemplateRelevanceEntity;
import com.glxp.api.req.system.FilterPdfModuleRequest; import com.glxp.api.req.system.FilterPdfModuleRequest;
import com.glxp.api.req.system.SysPdfModuleSaveRequest; import com.glxp.api.req.system.SysPdfModuleSaveRequest;
import com.glxp.api.res.PageSimpleResponse; import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.auth.sroleResponse;
import com.glxp.api.res.system.SystemPDFModuleResponse; import com.glxp.api.res.system.SystemPDFModuleResponse;
import com.glxp.api.res.system.SystemPDFModuleSelectResponse; import com.glxp.api.res.system.SystemPDFModuleSelectResponse;
import com.glxp.api.service.system.SystemPDFModuleService; import com.glxp.api.service.system.SystemPDFModuleService;
import com.glxp.api.service.system.SystemPDFTemplateRelevanceService; import com.glxp.api.service.system.SystemPDFTemplateRelevanceService;
import com.glxp.api.service.system.SystemPDFTemplateService; import com.glxp.api.service.system.SystemPDFTemplateService;
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.*;
@ -26,7 +29,7 @@ import javax.validation.Valid;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@Api(tags = "系统PDF模块控制器")
@ApiIgnore @ApiIgnore
@RestController @RestController
public class SysPdfModuleController { public class SysPdfModuleController {
@ -39,7 +42,7 @@ public class SysPdfModuleController {
private SystemPDFTemplateService systemPDFTemplateService; private SystemPDFTemplateService systemPDFTemplateService;
// @Resource // @Resource
// BussinessLocalTypeService bussinessLocalTypeService; // BussinessLocalTypeService bussinessLocalTypeService;
@ApiOperation(value = "模板列表",response = SystemPDFModuleResponse.class)
@AuthRuleAnnotation("system/pdf/module/list") @AuthRuleAnnotation("system/pdf/module/list")
@GetMapping("/system/pdf/module/list") @GetMapping("/system/pdf/module/list")
public BaseResponse list(@Valid FilterPdfModuleRequest filterPDFModuleRequest, public BaseResponse list(@Valid FilterPdfModuleRequest filterPDFModuleRequest,
@ -70,7 +73,7 @@ public class SysPdfModuleController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "更新规则",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/module/updateRl") @AuthRuleAnnotation("system/pdf/module/updateRl")
@PostMapping("/system/pdf/module/updateRl") @PostMapping("/system/pdf/module/updateRl")
public BaseResponse updateRl(@RequestBody SystemPDFTemplateRelevanceEntity systemPDFModuleSaveRequest) { public BaseResponse updateRl(@RequestBody SystemPDFTemplateRelevanceEntity systemPDFModuleSaveRequest) {
@ -78,7 +81,7 @@ public class SysPdfModuleController {
return ResultVOUtils.success("修改成功"); return ResultVOUtils.success("修改成功");
} }
@ApiOperation(value = "PDF模块",response = SystemPDFModuleSelectResponse.class)
@AuthRuleAnnotation("system/pdf/module/list") @AuthRuleAnnotation("system/pdf/module/list")
@GetMapping("/system/pdf/module/pdfModules") @GetMapping("/system/pdf/module/pdfModules")
public BaseResponse pdfModules(@RequestParam(value = "page", defaultValue = "1") Integer page, public BaseResponse pdfModules(@RequestParam(value = "page", defaultValue = "1") Integer page,
@ -99,7 +102,7 @@ public class SysPdfModuleController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "保存模块",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/module/save") @AuthRuleAnnotation("system/pdf/module/save")
@PostMapping("/system/pdf/module/save") @PostMapping("/system/pdf/module/save")
public BaseResponse save(@RequestBody @Valid SysPdfModuleSaveRequest sysPdfModuleSaveRequest, public BaseResponse save(@RequestBody @Valid SysPdfModuleSaveRequest sysPdfModuleSaveRequest,
@ -122,7 +125,7 @@ public class SysPdfModuleController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "更新模块",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/module/update") @AuthRuleAnnotation("system/pdf/module/update")
@PostMapping("/system/pdf/module/update") @PostMapping("/system/pdf/module/update")
public BaseResponse update(@RequestBody SysPdfModuleSaveRequest sysPdfModuleSaveRequest) { public BaseResponse update(@RequestBody SysPdfModuleSaveRequest sysPdfModuleSaveRequest) {
@ -131,7 +134,7 @@ public class SysPdfModuleController {
return ResultVOUtils.success("修改成功"); return ResultVOUtils.success("修改成功");
} }
@ApiOperation(value = "删除模块",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/module/delete") @AuthRuleAnnotation("system/pdf/module/delete")
@GetMapping("/system/pdf/module/delete") @GetMapping("/system/pdf/module/delete")
public BaseResponse deleteById(@RequestParam("id") Integer id) { public BaseResponse deleteById(@RequestParam("id") Integer id) {

@ -65,7 +65,7 @@ public class SysPdfTemplateController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "演示打印")
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@PostMapping("/system/pdf/template/demoPrint") @PostMapping("/system/pdf/template/demoPrint")
public void demoPrint( public void demoPrint(
@ -88,7 +88,7 @@ public class SysPdfTemplateController {
JasperUtils.jasperReport(request, response, data, filePath + "/pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf"); JasperUtils.jasperReport(request, response, data, filePath + "/pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf");
} }
@ApiOperation(value = "PDF模板列表",response = SystemPDFTemplateSelectResponse.class)
@AuthRuleAnnotation("system/pdf/template/list") @AuthRuleAnnotation("system/pdf/template/list")
@GetMapping("/system/pdf/template/pdfTemplates") @GetMapping("/system/pdf/template/pdfTemplates")
public BaseResponse pdfTemplates(@RequestParam(value = "page", defaultValue = "1") Integer page, public BaseResponse pdfTemplates(@RequestParam(value = "page", defaultValue = "1") Integer page,
@ -108,7 +108,7 @@ public class SysPdfTemplateController {
return ResultVOUtils.success(pageSimpleResponse); return ResultVOUtils.success(pageSimpleResponse);
} }
@ApiOperation(value = "保存列表",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/template/save") @AuthRuleAnnotation("system/pdf/template/save")
@PostMapping("/system/pdf/template/save") @PostMapping("/system/pdf/template/save")
public BaseResponse save(@RequestBody @Valid SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest, public BaseResponse save(@RequestBody @Valid SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest,
@ -131,7 +131,7 @@ public class SysPdfTemplateController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "更新",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/template/update") @AuthRuleAnnotation("system/pdf/template/update")
@PostMapping("/system/pdf/template/update") @PostMapping("/system/pdf/template/update")
public BaseResponse update(@RequestBody SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest) { public BaseResponse update(@RequestBody SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest) {
@ -141,7 +141,7 @@ public class SysPdfTemplateController {
return ResultVOUtils.success("修改成功"); return ResultVOUtils.success("修改成功");
} }
@ApiOperation(value = "根据id删除",response = BaseResponse.class)
@AuthRuleAnnotation("system/pdf/template/delete") @AuthRuleAnnotation("system/pdf/template/delete")
@PostMapping("/system/pdf/template/delete") @PostMapping("/system/pdf/template/delete")
public BaseResponse deleteById(@RequestBody SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest) { public BaseResponse deleteById(@RequestBody SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest) {

@ -16,6 +16,8 @@ import com.glxp.api.res.auth.sroleResponse;
import com.glxp.api.service.auth.SmenuService; import com.glxp.api.service.auth.SmenuService;
import com.glxp.api.service.auth.sroleMenuService; import com.glxp.api.service.auth.sroleMenuService;
import com.glxp.api.service.auth.sroleService; import com.glxp.api.service.auth.sroleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
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;
@ -25,7 +27,7 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@Api(tags = "角色控制器")
/** /**
* @author : zhangsan * @author : zhangsan
* @date : 2023/5/25 14:38 * @date : 2023/5/25 14:38
@ -41,7 +43,7 @@ public class sroleController {
@Resource @Resource
sroleMenuService sroleMenuService; sroleMenuService sroleMenuService;
@ApiOperation(value = "获取角色列表",response = sroleResponse.class)
@GetMapping("system/srole/list") @GetMapping("system/srole/list")
public BaseResponse getRoleList(sroleRequest sroleRequest){ public BaseResponse getRoleList(sroleRequest sroleRequest){
@ -56,7 +58,7 @@ public class sroleController {
} }
@ApiOperation(value = "插入角色",response = BaseResponse.class)
@PostMapping("system/srole/insert") @PostMapping("system/srole/insert")
public BaseResponse insertRole(@RequestBody sroleRequest sroleRequest){ public BaseResponse insertRole(@RequestBody sroleRequest sroleRequest){
@ -67,7 +69,7 @@ public class sroleController {
boolean insert = sroleService.insert(syrole); boolean insert = sroleService.insert(syrole);
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "修改角色",response = BaseResponse.class)
@PostMapping("system/srole/update") @PostMapping("system/srole/update")
public BaseResponse updateRole(@RequestBody sroleRequest sroleRequest){ public BaseResponse updateRole(@RequestBody sroleRequest sroleRequest){
Syrole syrole = new Syrole(); Syrole syrole = new Syrole();
@ -77,7 +79,7 @@ public class sroleController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ApiOperation(value = "删除角色",response = BaseResponse.class)
@PostMapping("system/srole/delete") @PostMapping("system/srole/delete")
public BaseResponse deleteRole(@RequestBody sroleRequest sroleRequest){ public BaseResponse deleteRole(@RequestBody sroleRequest sroleRequest){
Syrole syrole = new Syrole(); Syrole syrole = new Syrole();

@ -1,9 +1,13 @@
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;
@ApiModel(value = "认证连接实体")
@Data @Data
public class AuthConnectEntity { public class AuthConnectEntity {
@ApiModelProperty(value = "公司名称")
private String companyName; private String companyName;
@ApiModelProperty(value = "系统名称")
private String sysName; private String sysName;
} }

@ -1,34 +1,59 @@
package com.glxp.api.entity.system; package com.glxp.api.entity.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "产品备注设置实体")
@Data @Data
public class ProductRemarkSetEntity { public class ProductRemarkSetEntity {
@ApiModelProperty(value = "备注键1")
private String remarkKey1; private String remarkKey1;
@ApiModelProperty(value = "备注键2")
private String remarkKey2; private String remarkKey2;
@ApiModelProperty(value = "备注键3")
private String remarkKey3; private String remarkKey3;
@ApiModelProperty(value = "备注键4")
private String remarkKey4; private String remarkKey4;
@ApiModelProperty(value = "备注键6")
private String remarkKey6; private String remarkKey6;
@ApiModelProperty(value = "备注键5")
private String remarkKey5; private String remarkKey5;
@ApiModelProperty(value = "备注键7")
private String remarkKey7; private String remarkKey7;
@ApiModelProperty(value = "备注键8")
private String remarkKey8; private String remarkKey8;
@ApiModelProperty(value = "备注标题1")
private String remarkTitle1; private String remarkTitle1;
@ApiModelProperty(value = "备注标题2")
private String remarkTitle2; private String remarkTitle2;
@ApiModelProperty(value = "备注标题3")
private String remarkTitle3; private String remarkTitle3;
@ApiModelProperty(value = "备注标题4")
private String remarkTitle4; private String remarkTitle4;
@ApiModelProperty(value = "备注标题5")
private String remarkTitle5; private String remarkTitle5;
@ApiModelProperty(value = "备注标题6")
private String remarkTitle6; private String remarkTitle6;
@ApiModelProperty(value = "备注标题7")
private String remarkTitle7; private String remarkTitle7;
@ApiModelProperty(value = "备注标题8")
private String remarkTitle8; private String remarkTitle8;
@ApiModelProperty(value = "备注启用1")
private boolean remarkEnable1; private boolean remarkEnable1;
@ApiModelProperty(value = "备注启用2")
private boolean remarkEnable2; private boolean remarkEnable2;
@ApiModelProperty(value = "备注启用4")
private boolean remarkEnable4; private boolean remarkEnable4;
@ApiModelProperty(value = "备注启用3")
private boolean remarkEnable3; private boolean remarkEnable3;
@ApiModelProperty(value = "备注启用5")
private boolean remarkEnable5; private boolean remarkEnable5;
@ApiModelProperty(value = "备注启用6")
private boolean remarkEnable6; private boolean remarkEnable6;
@ApiModelProperty(value = "备注启用7")
private boolean remarkEnable7; private boolean remarkEnable7;
@ApiModelProperty(value = "备注启用8")
private boolean remarkEnable8; private boolean remarkEnable8;
} }

@ -4,29 +4,32 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "系统菜单帮助实体")
@Data @Data
@TableName(value = "sys_menu_help") @TableName(value = "sys_menu_help")
public class SysMenuHelpEntity { public class SysMenuHelpEntity {
@ApiModelProperty(value = "主键")
@TableId(value = "id", type = IdType.AUTO) @TableId(value = "id", type = IdType.AUTO)
private Integer id; private Integer id;
@ApiModelProperty(value = "菜单键")
@TableField(value = "menuKey") @TableField(value = "menuKey")
private String menuKey; private String menuKey;
@ApiModelProperty(value = "菜单名称")
@TableField(value = "menuName") @TableField(value = "menuName")
private String menuName; private String menuName;
@ApiModelProperty(value = "状态")
@TableField(value = "`status`") @TableField(value = "`status`")
private Integer status; private Integer status;
@ApiModelProperty(value = "文件路径")
@TableField(value = "filePath") @TableField(value = "filePath")
private String filePath; private String filePath;
@ApiModelProperty(value = "备注")
@TableField(value = "remark") @TableField(value = "remark")
private String remark; private String remark;
@ApiModelProperty(value = "更新时间")
@TableField(value = "updateTime") @TableField(value = "updateTime")
private String updateTime; private String updateTime;

@ -1,19 +1,33 @@
package com.glxp.api.entity.system; package com.glxp.api.entity.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "系统PDA密钥实体")
@Data @Data
public class SysPdaKeyEntity { public class SysPdaKeyEntity {
@ApiModelProperty(value = "主键")
private String id; private String id;
@ApiModelProperty(value = "IMEI国际移动设备身份码")
private String imei; private String imei;
@ApiModelProperty(value = "是否检查")
private int isCheck; private int isCheck;
@ApiModelProperty(value = "公司名称")
private String companyName; private String companyName;
@ApiModelProperty(value = "手机")
private String phone; private String phone;
@ApiModelProperty(value = "联系方式")
private String contact; private String contact;
@ApiModelProperty(value = "IMEI密钥")
private String imeiKey; private String imeiKey;
@ApiModelProperty(value = "日期")
private String date; private String date;
@ApiModelProperty(value = "信用卡号码")
private String creditNum; private String creditNum;
@ApiModelProperty(value = "验证码")
private int checkCode; private int checkCode;
@ApiModelProperty(value = "注册类型")
private String rgType; private String rgType;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
} }

@ -1,6 +1,8 @@
package com.glxp.api.entity.system; package com.glxp.api.entity.system;
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;
@ -8,22 +10,36 @@ import java.util.Date;
/** /**
* *
*/ */
@ApiModel(value = "打印模块")
@Data @Data
@TableName("sys_pdf_module") @TableName("sys_pdf_module")
public class SystemPDFModuleEntity { public class SystemPDFModuleEntity {
@ApiModelProperty(value = "主键")
private Integer id; private Integer id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "字段说明")
private String fieldExplain; private String fieldExplain;
@ApiModelProperty(value = "模板ID")
private int templateId; private int templateId;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "模板下载链接")
private String templateDlUrl; private String templateDlUrl;
@ApiModelProperty(value = "模板类型")
private Integer templateType; private Integer templateType;
@ApiModelProperty(value = "备注1")
private String remark1; private String remark1;
@ApiModelProperty(value = "备注2")
private String remark2; private String remark2;
@ApiModelProperty(value = "备注3")
private String remark3; private String remark3;
@ApiModelProperty(value = "模型键")
private String modelKey; private String modelKey;
} }

@ -1,20 +1,33 @@
package com.glxp.api.entity.system; package com.glxp.api.entity.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/** /**
* *
*/ */
@ApiModel(value = "用户角色对应表")
@Data @Data
public class SystemPDFTemplateRelevanceEntity { public class SystemPDFTemplateRelevanceEntity {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "模板ID")
private Integer templateId; private Integer templateId;
@ApiModelProperty(value = "客户ID")
private Long customerId; private Long customerId;
@ApiModelProperty(value = "管理员ID")
private Integer adminId; private Integer adminId;
@ApiModelProperty(value = "模块ID")
private Integer moduleId; private Integer moduleId;
@ApiModelProperty(value = "本地操作")
private String localAction; private String localAction;
@ApiModelProperty(value = "备注1")
private String remark1; private String remark1;
@ApiModelProperty(value = "备注2")
private String remark2; private String remark2;
@ApiModelProperty(value = "备注3")
private String remark3; private String remark3;
@ApiModelProperty(value = "打印类型")
private int printType; private int printType;
} }

@ -3,23 +3,32 @@ package com.glxp.api.entity.system;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ApiModel(value = "系统PDA密钥实体")
@Data @Data
@TableName("sys_param_config") @TableName("sys_param_config")
public class SystemParamConfigEntity { public class SystemParamConfigEntity {
@ApiModelProperty(value = "主键")
@TableId(value = "id", type = IdType.AUTO) @TableId(value = "id", type = IdType.AUTO)
private int id; private int id;
@ApiModelProperty(value = "父级ID")
private int parentId; private int parentId;
@ApiModelProperty(value = "参数名称")
private String paramName; private String paramName;
@ApiModelProperty(value = "参数键")
private String paramKey; private String paramKey;
@ApiModelProperty(value = "参数值")
private String paramValue; private String paramValue;
@ApiModelProperty(value = "参数状态")
private int paramStatus; private int paramStatus;
@ApiModelProperty(value = "参数类型")
private int paramType; private int paramType;
@ApiModelProperty(value = "参数说明")
private String paramExplain; private String paramExplain;
@ApiModelProperty(value = "更新时间")
private Date updateTime; private Date updateTime;
} }

@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ -13,19 +15,20 @@ import java.util.Date;
* @date : 2023/5/25 14:25 * @date : 2023/5/25 14:25
* @modyified By : * @modyified By :
*/ */
@ApiModel(value = "角色请求")
@Data @Data
public class sroleRequest extends ListPageRequest { public class sroleRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private Long id; private Long id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "编码")
private String code; private String code;
@ApiModelProperty(value = " 0正常 1停用")
// 0正常 1停用 // 0正常 1停用
private String status; private String status;
@ApiModelProperty(value = "创建时间")
// 创建时间 // 创建时间
private Date createTime; private Date createTime;

@ -1,20 +1,30 @@
package com.glxp.api.req.system; package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
@ApiModel(value = "过滤参数配置请求")
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
public class FilterParamConfigRequest extends ListPageRequest { public class FilterParamConfigRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "父级ID")
private int parentId; private int parentId;
@ApiModelProperty(value = "参数名称")
private String paramName; private String paramName;
@ApiModelProperty(value = "参数键")
private String paramKey; private String paramKey;
@ApiModelProperty(value = "参数值")
private String paramValue; private String paramValue;
@ApiModelProperty(value = "参数状态")
private int paramStatus; private int paramStatus;
@ApiModelProperty(value = "参数类型")
private Integer paramType; private Integer paramType;
@ApiModelProperty(value = "参数说明")
private String paramExplain; private String paramExplain;
@ApiModelProperty(value = "密钥")
private String key; private String key;
} }

@ -1,23 +1,34 @@
package com.glxp.api.req.system; package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import java.util.Date; import java.util.Date;
@ApiModel(value = "过滤PDF模块请求")
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
public class FilterPdfModuleRequest extends ListPageRequest { public class FilterPdfModuleRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "字段说明")
private String fieldExplain; private String fieldExplain;
@ApiModelProperty(value = "模板ID")
private int templateId; private int templateId;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "模板类型")
private Integer templateType; private Integer templateType;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "主键")
private String modelKey; private String modelKey;
} }

@ -1,25 +1,39 @@
package com.glxp.api.req.system; package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import java.util.Date; import java.util.Date;
@ApiModel(value = "过滤PDF模板请求")
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
public class FilterPdfTemplateRequest extends ListPageRequest { public class FilterPdfTemplateRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "类型")
private Integer type; private Integer type;
@ApiModelProperty(value = "模型")
private Integer module; private Integer module;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "路径")
private String path; private String path;
@ApiModelProperty(value = "行数")
private int rowCount; private int rowCount;
@ApiModelProperty(value = "二维码数量")
private int qrcodeCount; private int qrcodeCount;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "JRXML路径")
private String jrxmlPath; private String jrxmlPath;
} }

@ -1,6 +1,8 @@
package com.glxp.api.req.system; package com.glxp.api.req.system;
import com.glxp.api.util.page.ListPageRequest; import com.glxp.api.util.page.ListPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/** /**
@ -8,23 +10,23 @@ import lombok.Data;
* @date : 2023/3/20 14:03 * @date : 2023/3/20 14:03
* @modyified By : * @modyified By :
*/ */
@ApiModel(value = "系统菜单帮助请求")
@Data @Data
public class SysMenuHelpRequest extends ListPageRequest { public class SysMenuHelpRequest extends ListPageRequest {
@ApiModelProperty(value = "主键")
private Integer id; private Integer id;
@ApiModelProperty(value = "菜单键")
private String menuKey; private String menuKey;
@ApiModelProperty(value = "菜单名称")
private String menuName; private String menuName;
@ApiModelProperty(value = "状态")
private Integer status; private Integer status;
@ApiModelProperty(value = "文件路径")
private String filePath; private String filePath;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "更新时间")
private String updateTime; private String updateTime;
public static final String COL_ID = "id"; public static final String COL_ID = "id";

@ -1,19 +1,29 @@
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.Date; import java.util.Date;
@ApiModel(value = "系统参数配置保存请求")
@Data @Data
public class SysParamConfigSaveRequest { public class SysParamConfigSaveRequest {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "父级ID")
private int parentId; private int parentId;
@ApiModelProperty(value = "参数名称")
private String paramName; private String paramName;
@ApiModelProperty(value = "参数键")
private String paramKey; private String paramKey;
@ApiModelProperty(value = "参数值")
private String paramValue; private String paramValue;
@ApiModelProperty(value = "参数状态")
private int paramStatus; private int paramStatus;
@ApiModelProperty(value = "参数类型")
private int paramType; private int paramType;
@ApiModelProperty(value = "参数说明")
private String paramExplain; private String paramExplain;
@ApiModelProperty(value = "更新时间")
private Date updateTime; private Date updateTime;
} }

@ -1,24 +1,38 @@
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.Date; import java.util.Date;
@Data @Data
@ApiModel(value = "系统PDF模块保存请求")
public class SysPdfModuleSaveRequest { public class SysPdfModuleSaveRequest {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "字段说明")
private String fieldExplain; private String fieldExplain;
@ApiModelProperty(value = "模板ID")
private int templateId; private int templateId;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "模板下载链接")
private String templateDlUrl; private String templateDlUrl;
@ApiModelProperty(value = "模板类型")
private Integer templateType; private Integer templateType;
@ApiModelProperty(value = "备注1")
private String remark1; private String remark1;
@ApiModelProperty(value = "备注2")
private String remark2; private String remark2;
@ApiModelProperty(value = "备注3")
private String remark3; private String remark3;
} }

@ -1,22 +1,35 @@
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.Date; import java.util.Date;
@ApiModel(value = "系统PDF模板保存请求")
@Data @Data
public class SysPdfTemplateSaveRequest { public class SysPdfTemplateSaveRequest {
@ApiModelProperty(value = "主键")
private Integer id; private Integer id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "类型")
private int type; private int type;
@ApiModelProperty(value = "模型")
private int module; private int module;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "地址")
private String path; private String path;
@ApiModelProperty(value = "行数")
private int rowCount; private int rowCount;
@ApiModelProperty(value = "二维码数量")
private int qrcodeCount; private int qrcodeCount;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "JRXML路径")
private String jrxmlPath; private String jrxmlPath;
} }

@ -1,5 +1,7 @@
package com.glxp.api.res.auth; package com.glxp.api.res.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;
@ -9,18 +11,19 @@ import java.util.Date;
* @date : 2023/5/25 14:26 * @date : 2023/5/25 14:26
* @modyified By : * @modyified By :
*/ */
@ApiModel(value = "角色响应")
@Data @Data
public class sroleResponse { public class sroleResponse {
@ApiModelProperty(value = "主键")
private Long id; private Long id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "编码")
private String code; private String code;
@ApiModelProperty(value = " 0正常 1停用")
// 0正常 1停用 // 0正常 1停用
private String status; private String status;
@ApiModelProperty(value = "创建时间")
// 创建时间 // 创建时间
private Date createTime; private Date createTime;
} }

@ -1,22 +1,35 @@
package com.glxp.api.res.system; package com.glxp.api.res.system;
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(value = "系统PDF模块响应")
@Data @Data
public class SystemPDFModuleResponse { public class SystemPDFModuleResponse {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "名称")
private String name; private String name;
@ApiModelProperty(value = "参数")
private String param; private String param;
@ApiModelProperty(value = "字段说明")
private String fieldExplain; private String fieldExplain;
@ApiModelProperty(value = "模板ID")
private int templateId; private int templateId;
@ApiModelProperty(value = "备注")
private String remark; private String remark;
@ApiModelProperty(value = "创建时间")
private Date create_time; private Date create_time;
@ApiModelProperty(value = "更新时间")
private Date update_time; private Date update_time;
@ApiModelProperty(value = "模板下载链接")
private String templateDlUrl; private String templateDlUrl;
@ApiModelProperty(value = "模板名称")
private String templateName; private String templateName;
@ApiModelProperty(value = "模板类型")
private Integer templateType; private Integer templateType;
@ApiModelProperty(value = "模型关键字")
private String modelKey; private String modelKey;
} }

@ -1,12 +1,16 @@
package com.glxp.api.res.system; package com.glxp.api.res.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "系统PDF模块选择响应")
@Data @Data
public class SystemPDFModuleSelectResponse { public class SystemPDFModuleSelectResponse {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "ID字符串")
private String idStr; private String idStr;
@ApiModelProperty(value = "名称")
private String name; private String name;
} }

@ -1,12 +1,16 @@
package com.glxp.api.res.system; package com.glxp.api.res.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "系统PDF模板选择响应")
@Data @Data
public class SystemPDFTemplateSelectResponse { public class SystemPDFTemplateSelectResponse {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "ID字符串")
private String idStr; private String idStr;
@ApiModelProperty(value = "名称")
private String name; private String name;
} }

@ -1,16 +1,25 @@
package com.glxp.api.res.system; package com.glxp.api.res.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ApiModel(value = "系统参数配置响应")
@Data @Data
public class SystemParamConfigResponse { public class SystemParamConfigResponse {
@ApiModelProperty(value = "主键")
private int id; private int id;
@ApiModelProperty(value = "父级ID")
private int parentId; private int parentId;
@ApiModelProperty(value = "参数名称")
private String paramName; private String paramName;
@ApiModelProperty(value = "参数键")
private String paramKey; private String paramKey;
@ApiModelProperty(value = "参数值")
private String paramValue; private String paramValue;
@ApiModelProperty(value = "参数状态")
private int paramStatus; private int paramStatus;
@ApiModelProperty(value = "参数类型")
private int paramType; private int paramType;
@ApiModelProperty(value = "参数说明")
private String paramExplain; private String paramExplain;
} }

@ -1,5 +1,6 @@
package com.glxp.api.util.page; package com.glxp.api.util.page;
import io.swagger.annotations.ApiModel;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.Max; import javax.validation.constraints.Max;
@ -8,6 +9,7 @@ import javax.validation.constraints.Min;
/** /**
* *
*/ */
@ApiModel(value = "分页的表单")
@Data @Data
public class ListPageRequest { public class ListPageRequest {

Loading…
Cancel
Save