Commit 8ce57638 authored by machengbo's avatar machengbo

修改结构目录

parent bf54f8fa
package com.jz.manage.admin.controller;
public class BaseController {
/*public User getCurrentUser(){
User user = (User) SecurityUtils.getSubject().getPrincipals().iterator().next();
return user;
}
public Integer getCurrentUserId(){
return getCurrentUser().getUserId();
}*/
}
package com.jz.manage.admin.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jz.common.utils.Result;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.entity.User;
import com.jz.manage.admin.service.TestUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/*
*
* 测试样例
* */
@RestController
@RequestMapping("/user")
@Api(tags = "测试样例API")
public class TestUserController extends BaseController {
@Autowired
private TestUserService testUserService;
@PostMapping("/getTest")
public List<Map> getTest() {
System.out.print("117576575" + testUserService.getTest().toString());
return testUserService.getTest();
}
@GetMapping(value = "/events")
@ApiOperation(value = "测试样例列表(分页查询)", notes = "事件列表(分页查询)")
public Result<IPage<User>> queryPageList(User event, HttpServletRequest req) throws Exception {
Result<IPage<User>> result = new Result<IPage<User>>();
IPage<User> pageList = testUserService.queryPage(new Page<User>(1, 2), event);
result.setSuccess(true);
result.setResult(pageList);
return result;
}
@GetMapping(value = "/queryPageListSff")
@ApiOperation(value = "测试样例列表(分页查询)", notes = "事件列表(分页查询)")
public Result<IPage<Map>> queryPageListSff(User event, HttpServletRequest req) throws Exception {
Result<IPage<Map>> result = new Result<IPage<Map>>();
IPage<Map> pageList = testUserService.queryListPage(new Page<Map>(1, 2), event);
result.setSuccess(true);
result.setResult(pageList);
return result;
}
}
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class LoginController extends BaseController {
/*@ApiOperation("登录接口")
@RequestMapping(value = "/login", method = RequestMethod.POST)
public Result<JSONObject> login(@RequestBody SysUser sysUser, HttpServletRequest request) throws Exception {
Result<JSONObject> result = new Result<>();
String account = sysUser.getAccount();
String password = sysUser.getPassword();
Subject subject = SecurityUtils.getSubject(); //获取当前用户
//将用户输入的用户名写密码封装到一个UsernamePasswordToken对象中
UsernamePasswordToken token = new UsernamePasswordToken(account, password);
//用Subject对象执行登录方法,没有抛出任何异常说明登录成功
try {
//执行登录方法,如果没有异常,就OK
//login()方法会调用 Realm类中执行认证逻辑的方法,
//并将这个参数传递给doGetAuthenticationInfo()方法
subject.login(token);
result.setSuccess(true);
result.setCode(CommonConstant.SC_OK_200);
result.setMessage("登录成功!");
return result;
} catch (UnknownAccountException e) {
result.setSuccess(false);
result.setCode(CommonConstant.SC_INTERNAL_SERVER_ERROR_500);
result.setMessage("账号错误!");
return result;
} catch (IncorrectCredentialsException e) {
result.setSuccess(false);
result.setCode(CommonConstant.SC_INTERNAL_SERVER_ERROR_500);
result.setMessage("密码错误!");
return result;
}
}*/
}
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 功能菜单(TSysMenu)表控制层
*
* @author makejava
* @since 2020-11-29 14:30:23
*/
@RestController
@RequestMapping("tSysMenu")
public class SysMenuController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysMenuService sysMenuService;
}
\ No newline at end of file
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysOrgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 组织机构表(SysOrg)表控制层
*
* @author makejava
* @since 2020-11-29 14:30:24
*/
@RestController
@RequestMapping("sysOrg")
public class SysOrgController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysOrgService sysOrgService;
}
\ No newline at end of file
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 角色表(TSysRole)表控制层
*
* @author makejava
* @since 2020-11-29 14:30:25
*/
@RestController
@RequestMapping("sysRole")
public class SysRoleController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysRoleService tSysRoleService;
}
\ No newline at end of file
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* (TSysRoleMenu)表控制层
*
* @author makejava
* @since 2020-11-29 14:30:25
*/
@RestController
@RequestMapping("sysRoleMenu")
public class SysRoleMenuController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysRoleMenuService sysRoleMenuService;
}
\ No newline at end of file
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 平台系统用户表(TSysUser)表控制层
*
* @author makejava
* @since 2020-11-29 14:30:26
*/
@RestController
@RequestMapping("sysUser")
public class SysUserController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysUserService sysUserService;
}
\ No newline at end of file
package com.jz.manage.admin.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* (SysUserRole)控制层
*
* @author Bellamy
* @since 2020-11-29 14:30:27
*/
@RestController
@RequestMapping("sysUserRole")
public class SysUserRoleController extends BaseController {
/**
* 服务对象
*/
@Autowired
private SysUserRoleService tSysUserRoleService;
}
\ No newline at end of file
package com.jz.manage.admin.dao;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.User;
import java.util.List;
import java.util.Map;
public interface TestMapper extends BaseMapper<Map> {
IPage<Map> queryListPage(Page<Map> userPage, User event);
}
package com.jz.manage.admin.dao;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.User;
import java.util.List;
import java.util.Map;
/*
* 测试样例
* */
public interface TestUserMapper extends BaseMapper<User> {
List<Map> getTest();
IPage<User> queryPage(Page<User> userPage, User event);
}
package com.jz.manage.admin.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
/*
* 测试样例
* */
@TableName("tb_user")
@ApiModel
public class User implements Serializable {
/**
* id
*/
@TableId(value = "user_id",type = IdType.AUTO)
private Integer userId;
/**
* 用户名
*/
@ApiModelProperty(value = "用户名",required = true)
private String username;
/**
* 密码
*/
@ApiModelProperty(value = "密码")
private String password;
/**
* 年龄
*/
@ApiModelProperty(value = "年龄")
private Integer age;
/**
* 电话
*/
@ApiModelProperty(value = "电话")
private Integer telphone;
/**
* 地址
*/
@ApiModelProperty(value = "地址")
private String addres;
/**
*/
private String delFlag;
/**
* 组织机构ID
*/
@ApiModelProperty(value = "组织机构ID")
private Integer orgId;
/*
* 姓名
* */
@ApiModelProperty(value = "姓名")
private String account;
/**
* 性别
*/
@ApiModelProperty(value = "性别")
private String gender;
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username == null ? null : username.trim();
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password == null ? null : password.trim();
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
public Integer getTelphone() {
return telphone;
}
public void setTelphone(Integer telphone) {
this.telphone = telphone;
}
public String getAddres() {
return addres;
}
public void setAddres(String addres) {
this.addres = addres == null ? null : addres.trim();
}
public String getDelFlag() {
return delFlag;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag == null ? null : delFlag.trim();
}
public Integer getOrgId() {
return orgId;
}
public void setOrgId(Integer orgId) {
this.orgId = orgId;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
/**
* 功能菜单(SysMenu)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:23
*/
@TableName("t_sys_menu")
@ApiModel
public class SysMenu implements Serializable {
private static final long serialVersionUID = 256732259347445947L;
/**
* 菜单ID
*/
@TableId(value = "menu_id",type = IdType.AUTO)
private Long menuId;
/**
* 菜单名称
*/
@ApiModelProperty(value = "菜单名称")
private String menuName;
/**
* 菜单路径
*/
@ApiModelProperty(value = "菜单路径url")
private String url;
/**
* 父级id
*/
@ApiModelProperty(value = "父级id")
private Long parentId;
/**
* 是否为子节点:Y是,N否
*/
@ApiModelProperty(value = "是否为子节点:Y是,N否")
private String ifChild;
/**
* 创建时间
*/
@ApiModelProperty(value = "创建时间")
private Date creTime;
/**
* 创建人
*/
@ApiModelProperty(value = "创建人")
private Long crePerson;
/**
* 删除标识:Y删除,N未删除
*/
@ApiModelProperty(value = "删除标识:Y删除,N未删除")
private String delFlag;
public Long getMenuId() {
return menuId;
}
public void setMenuId(Long menuId) {
this.menuId = menuId;
}
public String getMenuName() {
return menuName;
}
public void setMenuName(String menuName) {
this.menuName = menuName;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
public String getIfChild() {
return ifChild;
}
public void setIfChild(String ifChild) {
this.ifChild = ifChild;
}
public Date getCreTime() {
return creTime;
}
public void setCreTime(Date creTime) {
this.creTime = creTime;
}
public Long getCrePerson() {
return crePerson;
}
public void setCrePerson(Long crePerson) {
this.crePerson = crePerson;
}
public String getDelFlag() {
return delFlag;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
/**
* 组织机构表(TSysOrg)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:24
*/
@TableName("t_sys_org")
@ApiModel
public class SysOrg implements Serializable {
private static final long serialVersionUID = 289053694180114461L;
/**
* 组织机构id
*/
@TableId(value = "org_id",type = IdType.AUTO)
@ApiModelProperty(value = "组织机构id")
private Long orgId;
/**
* 组织名称
*/
@ApiModelProperty(value = "组织名称")
private String orgName;
/**
* 父组织id
*/
@ApiModelProperty(value = "父组织id")
private Long parentOrgId;
/**
* 是否子节点:Y是,N否
*/
@ApiModelProperty(value = "是否子节点:Y是,N否")
private String ifChild;
/**
* 创建时间
*/
@ApiModelProperty(value = "创建时间")
private Date creTime;
/**
* 创建人
*/
@ApiModelProperty(value = "创建人")
private String crePerson;
/**
* 更新人
*/
@ApiModelProperty(value = "更新人")
private String uptPerson;
/**
* 更新时间
*/
@ApiModelProperty(value = "更新时间")
private Date uptTime;
/**
* 删除标识:Y删除,N未删除
*/
@ApiModelProperty(value = "删除标识:Y删除,N未删除")
private String delFlag;
public Long getOrgId() {
return orgId;
}
public void setOrgId(Long orgId) {
this.orgId = orgId;
}
public String getOrgName() {
return orgName;
}
public void setOrgName(String orgName) {
this.orgName = orgName;
}
public Long getParentOrgId() {
return parentOrgId;
}
public void setParentOrgId(Long parentOrgId) {
this.parentOrgId = parentOrgId;
}
public String getIfChild() {
return ifChild;
}
public void setIfChild(String ifChild) {
this.ifChild = ifChild;
}
public Date getCreTime() {
return creTime;
}
public void setCreTime(Date creTime) {
this.creTime = creTime;
}
public String getCrePerson() {
return crePerson;
}
public void setCrePerson(String crePerson) {
this.crePerson = crePerson;
}
public String getUptPerson() {
return uptPerson;
}
public void setUptPerson(String uptPerson) {
this.uptPerson = uptPerson;
}
public Date getUptTime() {
return uptTime;
}
public void setUptTime(Date uptTime) {
this.uptTime = uptTime;
}
public String getDelFlag() {
return delFlag;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
/**
* 角色表(TSysRole)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:24
*/
@TableName("t_sys_role")
@ApiModel
public class SysRole implements Serializable {
private static final long serialVersionUID = 805800518211894799L;
/**
* 角色id
*/
@TableId(value = "role_id",type = IdType.AUTO)
@ApiModelProperty(value = "角色id")
private Long roleId;
/**
* 角色名称
*/
@ApiModelProperty(value = "角色名称")
private String roleName;
/**
* 创建时间
*/
@ApiModelProperty(value = "创建时间")
private Date creTime;
/**
* 创建人
*/
@ApiModelProperty(value = "创建人")
private String crePerson;
/**
* 更新时间
*/
@ApiModelProperty(value = "更新时间")
private Date uptTime;
/**
* 更新人
*/
@ApiModelProperty(value = "更新人")
private String uptPerson;
/**
* 删除标识:Y删除,N未删除
*/
@ApiModelProperty(value = "删除标识:Y删除,N未删除")
private String delFlag;
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public Date getCreTime() {
return creTime;
}
public void setCreTime(Date creTime) {
this.creTime = creTime;
}
public String getCrePerson() {
return crePerson;
}
public void setCrePerson(String crePerson) {
this.crePerson = crePerson;
}
public Date getUptTime() {
return uptTime;
}
public void setUptTime(Date uptTime) {
this.uptTime = uptTime;
}
public String getUptPerson() {
return uptPerson;
}
public void setUptPerson(String uptPerson) {
this.uptPerson = uptPerson;
}
public String getDelFlag() {
return delFlag;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;
/**
* (SysRoleMenu)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:25
*/
@TableName("t_sys_role_menu")
@ApiModel
public class SysRoleMenu implements Serializable {
private static final long serialVersionUID = -82724914905011429L;
/**
* 主键
*/
@TableId(value = "role_menu_id",type = IdType.AUTO)
private Long roleMenuId;
/**
* 角色id
*/
private Long roleId;
/**
* 菜单id
*/
private Long menuId;
public Long getRoleMenuId() {
return roleMenuId;
}
public void setRoleMenuId(Long roleMenuId) {
this.roleMenuId = roleMenuId;
}
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public Long getMenuId() {
return menuId;
}
public void setMenuId(Long menuId) {
this.menuId = menuId;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;
import java.util.Date;
/**
* 平台系统用户表(SysUser)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:26
*/
@TableName("t_sys_user")
@ApiModel
public class SysUser implements Serializable {
private static final long serialVersionUID = 340254540407496782L;
/**
* 平台用户id
*/
@TableId(value = "user_id",type = IdType.AUTO)
private Long userId;
/**
* 组织机构id
*/
private Long orgId;
/**
* 用户姓名
*/
private String userName;
/**
* 账户
*/
private String account;
/**
* 密码
*/
private String password;
/**
* 供应商编号
*/
private String supplierCode;
/**
* 供应商名称(店铺名称)
*/
private String supplierName;
/**
* 电话
*/
private String telephone;
/**
* 创建时间
*/
private Date creTime;
/**
* 删除标识
*/
private String delFlag;
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getOrgId() {
return orgId;
}
public void setOrgId(Long orgId) {
this.orgId = orgId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getSupplierCode() {
return supplierCode;
}
public void setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
public String getTelephone() {
return telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public Date getCreTime() {
return creTime;
}
public void setCreTime(Date creTime) {
this.creTime = creTime;
}
public String getDelFlag() {
return delFlag;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag;
}
}
\ No newline at end of file
package com.jz.manage.admin.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;
/**
* (TSysUserRole)实体类
*
* @author Bellamy
* @since 2020-11-29 14:30:26
*/
@TableName("t_sys_user_role")
@ApiModel
public class SysUserRole implements Serializable {
private static final long serialVersionUID = -55311533564196399L;
/**
* 主键
*/
@TableId(value = "user_role_id",type = IdType.AUTO)
private Long userRoleId;
/**
* 用户id
*/
private Long userId;
/**
* 角色id
*/
private Long roleId;
public Long getUserRoleId() {
return userRoleId;
}
public void setUserRoleId(Long userRoleId) {
this.userRoleId = userRoleId;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
}
\ No newline at end of file
package com.jz.manage.admin.service;
/**
* 功能菜单(TSysMenu)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:23
*/
public interface SysMenuService {
}
\ No newline at end of file
package com.jz.manage.admin.service;
/**
* 组织机构表(TSysOrg)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:24
*/
public interface SysOrgService {
}
\ No newline at end of file
package com.jz.manage.admin.service;
/**
* (TSysRoleMenu)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:25
*/
public interface SysRoleMenuService {
}
\ No newline at end of file
package com.jz.manage.admin.service;
/**
* 角色表(TSysRole)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:25
*/
public interface SysRoleService {
}
\ No newline at end of file
package com.jz.manage.admin.service;
/**
* (SysUserRole)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:26
*/
public interface SysUserRoleService {
}
\ No newline at end of file
package com.jz.manage.admin.service;
import com.jz.manage.admin.entity.sys.SysUser;
import java.util.Map;
/**
* 平台系统用户表(SysUser)表服务接口
*
* @author Bellamy
* @since 2020-11-29 14:30:26
*/
public interface SysUserService {
/*
* 通过用户帐好进行查询
* */
SysUser selectByUsername(String account);
Map<String,Object> getUserRoleByAccount(String account);
}
\ No newline at end of file
package com.jz.manage.admin.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jz.manage.admin.entity.User;
import java.util.List;
import java.util.Map;
/*
* 测试样例
* */
public interface TestUserService {
List<Map> getTest();
IPage<User> queryPage(Page<User> userPage, User event);
IPage<Map> queryListPage(Page<Map> mapPage, User event);
}
package com.jz.manage.admin.service.impl;
import com.jz.manage.admin.dao.sys.SysMenuDao;
import com.jz.manage.admin.service.SysMenuService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* 功能菜单(SysMenu)表服务实现类
*
* @author Bellamy
* @since 2020-11-29 14:30:23
*/
@Service("sysMenuService")
public class SysMenuServiceImpl implements SysMenuService {
@Resource
private SysMenuDao sysMenuDao;
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.jz.manage.admin.dao.sys.SysOrgDao;
import com.jz.manage.admin.service.SysOrgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 组织机构表(SysOrg)表服务实现类
*
* @author Bellamy
* @since 2020-11-29 14:30:24
*/
@Service("sysOrgService")
public class SysOrgServiceImpl implements SysOrgService {
@Autowired
private SysOrgDao sysOrgDao;
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.jz.manage.admin.dao.sys.SysRoleMenuDao;
import com.jz.manage.admin.service.SysRoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* (SysRoleMenu)表服务实现类
*
* @author Bellamy
* @since 2020-11-29 14:30:25
*/
@Service("sysRoleMenuService")
public class SysRoleMenuServiceImpl implements SysRoleMenuService {
@Autowired
private SysRoleMenuDao sysRoleMenuDao;
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.jz.manage.admin.dao.sys.SysRoleDao;
import com.jz.manage.admin.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 角色表(SysRole)表服务实现类
*
* @author Bellamy
* @since 2020-11-29 14:30:25
*/
@Service("sysRoleService")
public class SysRoleServiceImpl implements SysRoleService {
@Autowired
private SysRoleDao SysRoleDao;
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.jz.manage.admin.dao.sys.SysUserRoleDao;
import com.jz.manage.admin.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* (SysUserRole)表服务实现类
*
* @author makejava
* @since 2020-11-29 14:30:27
*/
@Service("sysUserRoleService")
public class SysUserRoleServiceImpl implements SysUserRoleService {
@Autowired
private SysUserRoleDao sysUserRoleDao;
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jz.manage.admin.dao.sys.SysUserDao;
import com.jz.manage.admin.entity.sys.SysUser;
import com.jz.manage.admin.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.*;
/**
* 平台系统用户表(SysUser)表服务实现类
*
* @author Bellamy
* @since 2020-11-29 14:30:26
*/
@Service("sysUserService")
@Transactional
public class SysUserServiceImpl implements SysUserService {
@Autowired
private SysUserDao sysUserDao;
@Override
public SysUser selectByUsername(String account) {
QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq("account", account);
return sysUserDao.selectOne(queryWrapper);
}
@Override
public Map<String, Object> getUserRoleByAccount(String account) {
Set<String> roleSet = new HashSet<>();
Set<String> roleMenuSet = new HashSet<>();
//查询用户拥有的角色
List<Map> list = sysUserDao.getUserRoleByAccount(account);
if (list.size() > 0 && list != null) {
for (Map map : list) {
roleSet.add(map.get("roleName").toString());
roleSet.add(map.get("roleId").toString());
roleMenuSet.add(map.get("menuId").toString());
roleMenuSet.add(map.get("menuName").toString());
roleMenuSet.add(map.get("parentId").toString());
roleMenuSet.add(map.get("url").toString());
}
}
Map<String, Object> userInfo = new HashMap<>();
userInfo.put("roleSet", roleSet);
userInfo.put("roleMenuSet", roleMenuSet);
return userInfo;
}
}
\ No newline at end of file
package com.jz.manage.admin.service.impl;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageHelper;
import com.jz.manage.admin.dao.TestMapper;
import com.jz.manage.admin.dao.TestUserMapper;
import com.jz.manage.admin.entity.User;
import com.jz.manage.admin.service.TestUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/*
* 测试样例
* */
@Service
public class UserServiceImpl implements TestUserService {
private static final Logger logger = LoggerFactory.getLogger(UserServiceImpl.class);
@Autowired
private TestUserMapper userMapper;
@Autowired
private TestMapper testMapper;
@Autowired
RedisTemplate redisTemplate;
@Autowired
StringRedisTemplate stringRedisTemplate;
@Override
public List<Map> getTest() {
Map<String, Object> columnMap = new HashMap<>();
columnMap.put("user_id", 2);
List<User> list = userMapper.selectByMap(columnMap);
QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq("user_id", 1);
User d = userMapper.selectOne(queryWrapper);
String aa = "1";
User e = userMapper.selectById(aa);
List<Integer> ids = new ArrayList<>();
ids.add(1);
ids.add(2);
List<User> listUser = userMapper.selectBatchIds(ids);
return userMapper.getTest();
}
@Override
public IPage<User> queryPage(Page<User> userPage, User event) {
return userMapper.queryPage(userPage,event);
}
@Override
public IPage<Map> queryListPage(Page<Map> mapPage, User event) {
return testMapper.queryListPage(mapPage,event);
}
}
......@@ -59,7 +59,7 @@ public class SystemLogAspect {
logger.info("***************日志记录**************");
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
//获取管理员用户信息
//CmsAdmin admin = WebUtils.getAdminInfo(request);
//CmsAdmin moduls = WebUtils.getAdminInfo(request);
User user = (User)SecurityUtils.getSubject().getPrincipals().iterator().next();
try {
//保存至数据库日志
......
package com.jz.manage.config;
/**
* @ClassName RedisUserKey
* @Author hanyang
* @Date 2020/7/3 15:10
* @Version 1.0
*/
public class RedisKey {
public static final String KeyWord = "9zdata_aistore";
/**
* 菜单key
*/
public static final String MENU_ = "MENU_";
/**
* 角色与菜单关联key
*/
public static final String PRIVILEGE_ = "PRIVILEGE_";
/**
* 角色key
*/
public static final String ROLES_ = "ROLES_";
/**
* 角色与人员关联key
*/
public static final String ROLES_USER_ = "ROLES_USER_";
/**
* 角色与功能权限关联key
*/
public static final String ROLE_PERMISSION_KEY_ = "ROLE_PERMISSION";
/**
* 人员key
*/
public static final String USER_ = "USER_";
/**
* 设置缓存时间 一周
*/
public static final Long KEY_TIME = 60 * 60 * 7 * 24L;
/**
* 设置null值
*/
public static final String EMPTY = null;
//--------------------------------门店类
/**
* 雇员
*/
public static final String EMPLOYEE_ = "EMPLOYEE_";
/**
* 组织
*/
public static final String ORG_ = "ORG_";
//只记录门店组织对应的门店ID
public static final String ORG_STORE_ID_ = "ORG_STORE_ID_";
//某个机构下的机构树
public static final String QUERY_ORG_TREE_LIST_ = "QUERY_ORG_TREE_LIST_";
//某个机构下的机构树带组织下人员
public static final String QUERY_ORG_MAN_TREE_LIST_ = "QUERY_ORG_MAN_TREE_LIST_";
//某个机构下的子机构
public static final String QUERY_ORG_GET_KIDS_ = "QUERY_ORG_GET_KIDS_";
/**
* 门店
*/
public static final String STORE_ = "STORE_";
/**
* 某个组织下所有门店数据
*/
public static final String STORES_IN_ORG_ = "STORES_IN_ORG_";
/**
* 某个组织下所有子机构组织ids数据
*/
public static final String ORG_IN_ALL_SUBORG_ = "ORG_IN_ALL_SUBORG_";
/**
* 某个组织下所有父机构组织ids数据
*/
public static final String ORG_IN_ALL_PAR_ORG_ = "ORG_IN_ALL_PAR_ORG_";
/**
* /**
* 某个组织下所有父子机构组织ids数据
*/
public static final String ORG_IN_ALL_ORGS_ = "ORG_IN_ALL_ORGS_";
/**
* 某个组织下所有父子机构组织ids数据
*/
public static final String MAKE_MEMBER_DETAIL_ = "MAKE_MEMBER_DETAIL_";
public static final String MAKE_MEMBER_DETAIL_BY_ID = "MAKE_MEMBER_DETAIL_BY_ID";
/**
* 岗位
*/
public static final String POSTION_ = "POSTION_";
/**
* 机构加人员信息
*/
public static final String ORG_EMPLOYEE_ = "ORG_EMPLOYEE_";
/**
* 机构加岗位信息
*/
public static final String ORG_POSITION_ = "ORG_POSITION_";
//用户userId
public static final String USER_ID_ = "user_id_";
/**** 用户模板 ****/
/**
* 登录手机号的缓存key前缀
*/
public static final String LOGIN_CAPTCHA_ = "LOGIN_CAPTCHA_";
}
This diff is collapsed.
......@@ -15,7 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
*/
@EnableTransactionManagement
@Configuration
@MapperScan("com.jz.manage.admin.dao")
@MapperScan("com.jz.manage.moduls.mapper")
public class MybatisPlusConfig {
@Bean
......
......@@ -26,7 +26,7 @@ public class SwaggerConfiguration {
return new Docket(DocumentationType.SWAGGER_2)
.apiInfo(apiInfo())
.select()
.apis(RequestHandlerSelectors.basePackage("com.jz.manage.admin.controller"))
.apis(RequestHandlerSelectors.basePackage("com.jz.manage.moduls.controller"))
.paths(PathSelectors.any())
.build();
}
......
......@@ -9,7 +9,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.jz.manage.admin.dao")
@MapperScan("com.jz.manage.moduls.mapper")
@EnableAspectJAutoProxy//启动对@AspectJ注解的支持
//@EnableRedisHttpSession //Redis集中存储Session
public class manageApplication {
......
package com.jz.manage.admin.controller.customer;
package com.jz.manage.moduls.controller.customer;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DepartmentService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 企业(Department)表控制层
*
......
package com.jz.manage.admin.controller.customer;
package com.jz.manage.moduls.controller.customer;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.MallCustomerService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.MallCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DefinitionApiService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DefinitionApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DefinitionApiParamsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DefinitionApiParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FileDepositService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FileDepositService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FileHandleStatusService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FileHandleStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FilePretreatmentStatusService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FilePretreatmentStatusService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.file;
package com.jz.manage.moduls.controller.file;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FileSaveFieldInfoService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FileSaveFieldInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FinanceCashOutService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FinanceCashOutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 提现申请(TFinanceCashOut)表控制层
*
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FinanceCustomerAssetsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FinanceCustomerAssetsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 商城企业客户资产(TFinanceCustomerAssets)表控制层
*
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FinanceCustomerBalanceService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FinanceCustomerBalanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 企业客户充值记录(TFinanceCustomerBalance)表控制层
*
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.FinanceTradeFlowService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.FinanceTradeFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.PlatformAssetsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.PlatformAssetsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.PlatformPaymenyInfoService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.PlatformPaymenyInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 平台付款信息(TPlatformPaymenyInfo)表控制层
*
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.PlatformTradeFlowInfoService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.PlatformTradeFlowInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 平台交易流水(TPlatformTradeFlowInfo)表控制层
*
......
package com.jz.manage.admin.controller.finance;
package com.jz.manage.moduls.controller.finance;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.PlatfromReceiveInfoService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.PlatfromReceiveInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 平台收款信息(TPlatfromReceiveInfo)表控制层
*
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DataGoodsApiService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DataGoodsApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* api商品(TDataGoodsApi)表控制层
*
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DataGoodsApiParamsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DataGoodsApiParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DataGoodsCategoryService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DataGoodsCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DataGoodsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DataGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 数据商品(TDataGoods)表控制层
*
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DataGoodsPackService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DataGoodsPackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.DemandService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.DemandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.goods;
package com.jz.manage.moduls.controller.goods;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.MallHotRecommendGoodsService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.MallHotRecommendGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 热门推荐商品(TMallHotRecommendGoods)表控制层
*
......
package com.jz.manage.admin.controller.log;
package com.jz.manage.moduls.controller.log;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.PlatformLogService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.PlatformLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 日志管理(TPlatformLog)表控制层
*
......
package com.jz.manage.admin.controller.order;
package com.jz.manage.moduls.controller.order;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.OrderService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 订单表(TOrder)表控制层
*
......
package com.jz.manage.admin.controller.order;
package com.jz.manage.moduls.controller.order;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.OrderGoodsInfoService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.OrderGoodsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 订单商品信息(TOrderGoodsInfo)表控制层
*
......
package com.jz.manage.admin.controller.order;
package com.jz.manage.moduls.controller.order;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.OrderPaymentService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.OrderPaymentService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 订单支付(TOrderPayment)表控制层
*
......
package com.jz.manage.admin.controller.sys;
package com.jz.manage.moduls.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.AuditRecordService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.AuditRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
package com.jz.manage.admin.controller.sys;
package com.jz.manage.moduls.controller.sys;
import com.jz.manage.admin.controller.BaseController;
import com.jz.manage.admin.service.SysCodeService;
import com.jz.manage.moduls.controller.BaseController;
import com.jz.manage.moduls.service.SysCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 系统字典(TSysCode)表控制层
*
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.entity;
package com.jz.manage.moduls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
......
package com.jz.manage.admin.dao;
package com.jz.manage.moduls.mapper;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.AuditRecord;
import com.jz.manage.moduls.entity.AuditRecord;
/**
* 审核记录(TAuditRecord)表数据库访问层
......
package com.jz.manage.admin.dao;
package com.jz.manage.moduls.mapper;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.DataGoodsApi;
import com.jz.manage.moduls.entity.DataGoodsApi;
/**
* api商品(TDataGoodsApi)表数据库访问层
......
package com.jz.manage.admin.dao;
package com.jz.manage.moduls.mapper;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.DataGoodsApiParams;
import com.jz.manage.moduls.entity.DataGoodsApiParams;
/**
* api商品参数配置(TDataGoodsApiParams)表数据库访问层
......
package com.jz.manage.admin.dao;
package com.jz.manage.moduls.mapper;
import com.jz.common.base.BaseMapper;
import com.jz.manage.admin.entity.DataGoodsCategory;
import com.jz.manage.moduls.entity.DataGoodsCategory;
/**
* 数据商品分类(行业)(TDataGoodsCategory)表数据库访问层
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment