六厂扣费系统
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>jeecg-system-api</artifactId>
|
||||
<groupId>org.jeecgframework.boot</groupId>
|
||||
<version>3.4.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>jeecg-system-local-api</artifactId>
|
||||
|
||||
</project>
|
||||
+354
@@ -0,0 +1,354 @@
|
||||
package org.jeecg.common.system.api;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.jeecg.common.api.CommonAPI;
|
||||
import org.jeecg.common.api.dto.OnlineAuthDTO;
|
||||
import org.jeecg.common.api.dto.message.*;
|
||||
import org.jeecg.common.system.vo.*;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @Description 底层共通业务API,提供其他独立模块调用
|
||||
* @Author scott
|
||||
* @Date 2019-4-20
|
||||
* @Version V1.0
|
||||
*/
|
||||
public interface ISysBaseAPI extends CommonAPI {
|
||||
|
||||
|
||||
/**
|
||||
* 1发送系统消息
|
||||
* @param message 使用构造器赋值参数 如果不设置category(消息类型)则默认为2 发送系统消息
|
||||
*/
|
||||
// void sendSysAnnouncement(MessageDTO message);
|
||||
//
|
||||
// /**
|
||||
// * 2发送消息 附带业务参数
|
||||
// * @param message 使用构造器赋值参数
|
||||
// */
|
||||
// void sendBusAnnouncement(BusMessageDTO message);
|
||||
//
|
||||
// /**
|
||||
// * 3通过模板发送消息
|
||||
// * @param message 使用构造器赋值参数
|
||||
// */
|
||||
// void sendTemplateAnnouncement(TemplateMessageDTO message);
|
||||
//
|
||||
// /**
|
||||
// * 4通过模板发送消息 附带业务参数
|
||||
// * @param message 使用构造器赋值参数
|
||||
// */
|
||||
// void sendBusTemplateAnnouncement(BusTemplateMessageDTO message);
|
||||
//
|
||||
// /**
|
||||
// * 5通过消息中心模板,生成推送内容
|
||||
// * @param templateDTO 使用构造器赋值参数
|
||||
// * @return
|
||||
// */
|
||||
// String parseTemplateByCode(TemplateDTO templateDTO);
|
||||
|
||||
/**
|
||||
* 6根据用户id查询用户信息
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
LoginUser getUserById(String id);
|
||||
|
||||
/**
|
||||
* 7通过用户账号查询角色集合
|
||||
* @param username
|
||||
* @return
|
||||
*/
|
||||
// List<String> getRolesByUsername(String username);
|
||||
//
|
||||
// /**
|
||||
// * 8通过用户账号查询部门集合
|
||||
// * @param username
|
||||
// * @return 部门 id
|
||||
// */
|
||||
// List<String> getDepartIdsByUsername(String username);
|
||||
//
|
||||
// /**
|
||||
// * 9通过用户账号查询部门 name
|
||||
// * @param username
|
||||
// * @return 部门 name
|
||||
// */
|
||||
// List<String> getDepartNamesByUsername(String username);
|
||||
//
|
||||
//
|
||||
//
|
||||
// /** 11查询所有的父级字典,按照create_time排序
|
||||
// * @return List<DictModel> 字典集合
|
||||
// */
|
||||
// public List<DictModel> queryAllDict();
|
||||
//
|
||||
// /**
|
||||
// * 12查询所有分类字典
|
||||
// * @return
|
||||
// */
|
||||
// public List<SysCategoryModel> queryAllSysCategory();
|
||||
//
|
||||
//
|
||||
// /**
|
||||
// * 14查询所有部门 作为字典信息 id -->value,departName -->text
|
||||
// * @return
|
||||
// */
|
||||
// public List<DictModel> queryAllDepartBackDictModel();
|
||||
//
|
||||
// /**
|
||||
// * 15根据业务类型及业务id修改消息已读
|
||||
// * @param busType
|
||||
// * @param busId
|
||||
// */
|
||||
// public void updateSysAnnounReadFlag(String busType, String busId);
|
||||
//
|
||||
// /**
|
||||
// * 16查询表字典 支持过滤数据
|
||||
// * @param table
|
||||
// * @param text
|
||||
// * @param code
|
||||
// * @param filterSql
|
||||
// * @return
|
||||
// */
|
||||
// public List<DictModel> queryFilterTableDictInfo(String table, String text, String code, String filterSql);
|
||||
|
||||
/**
|
||||
* 17查询指定table的 text code 获取字典,包含text和value
|
||||
* @param table
|
||||
* @param text
|
||||
* @param code
|
||||
* @param keyArray
|
||||
* @return
|
||||
*/
|
||||
// @Deprecated
|
||||
// public List<String> queryTableDictByKeys(String table, String text, String code, String[] keyArray);
|
||||
|
||||
/**
|
||||
* 18查询所有用户 返回ComboModel
|
||||
* @return
|
||||
*/
|
||||
// public List<ComboModel> queryAllUserBackCombo();
|
||||
//
|
||||
// /**
|
||||
// * 19分页查询用户 返回JSONObject
|
||||
// * @param userIds 多个用户id
|
||||
// * @param pageNo 当前页数
|
||||
// * @param pageSize 每页显示条数
|
||||
// * @return
|
||||
// */
|
||||
// public JSONObject queryAllUser(String userIds, Integer pageNo, Integer pageSize);
|
||||
//
|
||||
// /**
|
||||
// * 20获取所有角色
|
||||
// * @return
|
||||
// */
|
||||
// public List<ComboModel> queryAllRole();
|
||||
//
|
||||
// /**
|
||||
// * 21获取所有角色 带参
|
||||
// * @param roleIds 默认选中角色
|
||||
// * @return
|
||||
// */
|
||||
// public List<ComboModel> queryAllRole(String[] roleIds );
|
||||
//
|
||||
// /**
|
||||
// * 22通过用户账号查询角色Id集合
|
||||
// * @param username
|
||||
// * @return
|
||||
// */
|
||||
// public List<String> getRoleIdsByUsername(String username);
|
||||
//
|
||||
// /**
|
||||
// * 23通过部门编号查询部门id
|
||||
// * @param orgCode
|
||||
// * @return
|
||||
// */
|
||||
// public String getDepartIdsByOrgCode(String orgCode);
|
||||
//
|
||||
// /**
|
||||
// * 24查询所有部门
|
||||
// * @return
|
||||
// */
|
||||
// public List<SysDepartModel> getAllSysDepart();
|
||||
//
|
||||
// /**
|
||||
// * 25查找父级部门
|
||||
// * @param departId
|
||||
// * @return
|
||||
// */
|
||||
// DictModel getParentDepartId(String departId);
|
||||
//
|
||||
// /**
|
||||
// * 26根据部门Id获取部门负责人
|
||||
// * @param deptId
|
||||
// * @return
|
||||
// */
|
||||
// public List<String> getDeptHeadByDepId(String deptId);
|
||||
//
|
||||
// /**
|
||||
// * 27给指定用户发消息
|
||||
// * @param userIds
|
||||
// * @param cmd
|
||||
// */
|
||||
// public void sendWebSocketMsg(String[] userIds, String cmd);
|
||||
//
|
||||
// /**
|
||||
// * 28根据id获取所有参与用户
|
||||
// * @param userIds 多个用户id
|
||||
// * @return
|
||||
// */
|
||||
// public List<LoginUser> queryAllUserByIds(String[] userIds);
|
||||
//
|
||||
// /**
|
||||
// * 29将会议签到信息推动到预览
|
||||
// * userIds
|
||||
// * @return
|
||||
// * @param userId
|
||||
// */
|
||||
// void meetingSignWebsocket(String userId);
|
||||
//
|
||||
// /**
|
||||
// * 30根据name获取所有参与用户
|
||||
// * @param userNames 多个用户账户
|
||||
// * @return
|
||||
// */
|
||||
// List<LoginUser> queryUserByNames(String[] userNames);
|
||||
//
|
||||
//
|
||||
// /**
|
||||
// * 31获取用户的角色集合
|
||||
// * @param username
|
||||
// * @return
|
||||
// */
|
||||
// Set<String> getUserRoleSet(String username);
|
||||
//
|
||||
// /**
|
||||
// * 32获取用户的权限集合
|
||||
// * @param username
|
||||
// * @return
|
||||
// */
|
||||
// Set<String> getUserPermissionSet(String username);
|
||||
//
|
||||
// /**
|
||||
// * 33判断是否有online访问的权限
|
||||
// * @param onlineAuthDTO
|
||||
// * @return
|
||||
// */
|
||||
// boolean hasOnlineAuth(OnlineAuthDTO onlineAuthDTO);
|
||||
//
|
||||
// /**
|
||||
// * 34通过部门id获取部门全部信息
|
||||
// * @param id 部门id
|
||||
// * @return SysDepartModel对象
|
||||
// */
|
||||
// SysDepartModel selectAllById(String id);
|
||||
//
|
||||
// /**
|
||||
// * 35根据用户id查询用户所属公司下所有用户ids
|
||||
// * @param userId
|
||||
// * @return
|
||||
// */
|
||||
// List<String> queryDeptUsersByUserId(String userId);
|
||||
//
|
||||
// /**
|
||||
// * 36根据多个用户账号(逗号分隔),查询返回多个用户信息
|
||||
// * @param usernames
|
||||
// * @return
|
||||
// */
|
||||
// List<JSONObject> queryUsersByUsernames(String usernames);
|
||||
//
|
||||
// /**
|
||||
// * 37根据多个用户ID(逗号分隔),查询返回多个用户信息
|
||||
// * @param ids
|
||||
// * @return
|
||||
// */
|
||||
// List<JSONObject> queryUsersByIds(String ids);
|
||||
//
|
||||
// /**
|
||||
// * 38根据多个部门编码(逗号分隔),查询返回多个部门信息
|
||||
// * @param orgCodes
|
||||
// * @return
|
||||
// */
|
||||
// List<JSONObject> queryDepartsByOrgcodes(String orgCodes);
|
||||
//
|
||||
// /**
|
||||
// * 39根据多个部门id(逗号分隔),查询返回多个部门信息
|
||||
// * @param ids
|
||||
// * @return
|
||||
// */
|
||||
// List<JSONObject> queryDepartsByIds(String ids);
|
||||
//
|
||||
// /**
|
||||
// * 40发送邮件消息
|
||||
// * @param email
|
||||
// * @param title
|
||||
// * @param content
|
||||
// */
|
||||
// void sendEmailMsg(String email,String title,String content);
|
||||
// /**
|
||||
// * 41 获取公司下级部门和公司下所有用户信息
|
||||
// * @param orgCode
|
||||
// * @return List<Map>
|
||||
// */
|
||||
// List<Map> getDeptUserByOrgCode(String orgCode);
|
||||
//
|
||||
// /**
|
||||
// * 查询分类字典翻译
|
||||
// * @param ids 多个分类字典id
|
||||
// * @return List<String>
|
||||
// */
|
||||
// List<String> loadCategoryDictItem(String ids);
|
||||
//
|
||||
// /**
|
||||
// * 根据字典code加载字典text
|
||||
// *
|
||||
// * @param dictCode 顺序:tableName,text,code
|
||||
// * @param keys 要查询的key
|
||||
// * @return
|
||||
// */
|
||||
// List<String> loadDictItem(String dictCode, String keys);
|
||||
//
|
||||
// /**
|
||||
// * 根据字典code查询字典项
|
||||
// *
|
||||
// * @param dictCode 顺序:tableName,text,code
|
||||
// * @param dictCode 要查询的key
|
||||
// * @return
|
||||
// */
|
||||
// List<DictModel> getDictItems(String dictCode);
|
||||
//
|
||||
// /**
|
||||
// * 根据多个字典code查询多个字典项
|
||||
// * @param dictCodeList
|
||||
// * @return key = dictCode ; value=对应的字典项
|
||||
// */
|
||||
// Map<String, List<DictModel>> getManyDictItems(List<String> dictCodeList);
|
||||
//
|
||||
// /**
|
||||
// * 【JSearchSelectTag下拉搜索组件专用接口】
|
||||
// * 大数据量的字典表 走异步加载 即前端输入内容过滤数据
|
||||
// *
|
||||
// * @param dictCode 字典code格式:table,text,code
|
||||
// * @param keyword 过滤关键字
|
||||
// * @param pageSize 分页条数
|
||||
// * @return
|
||||
// */
|
||||
// List<DictModel> loadDictItemByKeyword(String dictCode, String keyword, Integer pageSize);
|
||||
//
|
||||
// /**
|
||||
// * 发送模板消息
|
||||
// * @param message
|
||||
// */
|
||||
// void sendTemplateMessage(MessageDTO message);
|
||||
//
|
||||
// /**
|
||||
// * 根据模板编码获取模板内容
|
||||
// * @param templateCode
|
||||
// * @return
|
||||
// */
|
||||
// String getTemplateContent(String templateCode);
|
||||
|
||||
}
|
||||
+207
@@ -0,0 +1,207 @@
|
||||
package org.jeecg.emp.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 员工信息表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2021-12-31
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("cq_base_employee")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name = "cq_base_employee对象", description = "员工信息表")
|
||||
public class CqBaseEmployee implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
//此id由sysUser传过来,因此不能设置id自增
|
||||
// @TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "员工id")
|
||||
private String id;
|
||||
/**
|
||||
* 工号
|
||||
*/
|
||||
@Excel(name = "工号", width = 15)
|
||||
@Schema(title = "工号")
|
||||
private String empSysno;
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
@Excel(name = "身份证号", width = 15)
|
||||
@Schema(title = "身份证号")
|
||||
private String empIdcard;
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
@Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "生日")
|
||||
private java.util.Date empBirthday;
|
||||
|
||||
|
||||
/**
|
||||
* 人员类型
|
||||
*/
|
||||
// @Excel(name = "人员类型", width = 15, dicCode = "p_type")
|
||||
@Dict(dicCode = "p_type")
|
||||
@Schema(title = "人员类型")
|
||||
private String personType;
|
||||
/**
|
||||
* 员工职位
|
||||
*/
|
||||
@Excel(name = "员工职位", width = 15, dicCode = "emp_position")
|
||||
@Dict(dicCode = "emp_position")
|
||||
@Schema(title = "员工职位")
|
||||
private String empPosition;
|
||||
/**
|
||||
* 员工职务
|
||||
*/
|
||||
@Excel(name = "员工职务", width = 15, dicCode = "emp_job")
|
||||
@Dict(dicCode = "emp_job")
|
||||
@Schema(title = "员工职务")
|
||||
private String empJob;
|
||||
/**
|
||||
* 员工子组
|
||||
*/
|
||||
// @Excel(name = "员工子组", width = 15, dicCode = "emp_group")
|
||||
@Dict(dicCode = "emp_group")
|
||||
@Schema(title = "员工子组")
|
||||
private String empGroup;
|
||||
/**
|
||||
* 行政级别
|
||||
*/
|
||||
@Excel(name = "行政级别", width = 15, dicCode = "emp_level")
|
||||
@Dict(dicCode = "emp_level")
|
||||
@Schema(title = "行政级别")
|
||||
private String empLevel;
|
||||
/**
|
||||
* 员工状态
|
||||
*/
|
||||
@Excel(name = "员工状态", width = 15, dicCode = "emp_status")
|
||||
@Dict(dicCode = "emp_status")
|
||||
@Schema(title = "员工状态")
|
||||
private String empStatus;
|
||||
/**
|
||||
* 政治面貌
|
||||
*/
|
||||
@Excel(name = "政治面貌", width = 15, dicCode = "emp_political")
|
||||
@Dict(dicCode = "emp_political")
|
||||
@Schema(title = "政治面貌")
|
||||
private String empPolitical;
|
||||
/**
|
||||
* 员工民族
|
||||
*/
|
||||
@Excel(name = "员工民族", width = 15, dicCode = "emp_nation")
|
||||
@Dict(dicCode = "emp_nation")
|
||||
@Schema(title = "员工民族")
|
||||
private String empNation;
|
||||
/**
|
||||
* 员工学位
|
||||
*/
|
||||
@Excel(name = "员工学位", width = 15, dicCode = "emp_degree")
|
||||
@Dict(dicCode = "emp_degree")
|
||||
@Schema(title = "员工学位")
|
||||
private String empDegree;
|
||||
/**
|
||||
* 籍贯
|
||||
*/
|
||||
// @Excel(name = "籍贯", width = 15)
|
||||
@Schema(title = "籍贯")
|
||||
private String empNativeplace;
|
||||
/**
|
||||
* 健康状态
|
||||
*/
|
||||
// @Excel(name = "健康状态", width = 15, dicCode = "emp_jk_state")
|
||||
@Dict(dicCode = "emp_jk_state")
|
||||
@Schema(title = "健康状态")
|
||||
private String empJkState;
|
||||
/**
|
||||
* 员工工种
|
||||
*/
|
||||
// @Excel(name = "员工工种", width = 15, dicCode = "emp_worktype")
|
||||
@Dict(dicCode = "emp_worktype")
|
||||
@Schema(title = "员工工种")
|
||||
private String empWorktype;
|
||||
/**
|
||||
* 合同类型
|
||||
*/
|
||||
// @Excel(name = "合同类型", width = 15, dicCode = "emp_type")
|
||||
@Dict(dicCode = "emp_type")
|
||||
@Schema(title = "合同类型")
|
||||
private String empType;
|
||||
/**
|
||||
* 工作地点
|
||||
*/
|
||||
// @Excel(name = "工作地点", width = 15)
|
||||
@Schema(title = "工作地点")
|
||||
private String workSpace;
|
||||
/**
|
||||
* 居住地点
|
||||
*/
|
||||
// @Excel(name = "居住地点", width = 15)
|
||||
@Schema(title = "居住地点")
|
||||
private String liveSpace;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
// @Excel(name = "备注", width = 15)
|
||||
@Schema(title = "备注")
|
||||
private String empRemark;
|
||||
|
||||
/**
|
||||
* 性别(1:男 2:女)
|
||||
*/
|
||||
@Excel(name = "性别", width = 15,dicCode="sex")
|
||||
@Dict(dicCode = "sex")
|
||||
private Integer sex;
|
||||
|
||||
/**身高(m)*/
|
||||
@Excel(name = "身高(m)", width = 15)
|
||||
@Schema(title = "身高(m)")
|
||||
private Double height;
|
||||
|
||||
/**体重(kg)*/
|
||||
@Excel(name = "体重(kg)", width = 15)
|
||||
@Schema(title = "体重(kg)")
|
||||
private Double weight;
|
||||
|
||||
/**工作强度
|
||||
* 1重度劳动
|
||||
* 2中度劳动
|
||||
* 3轻度劳动
|
||||
* */
|
||||
@Excel(name = "工作强度", width = 15, dicCode = "work_strength")
|
||||
@Dict(dicCode = "work_strength")
|
||||
@Schema(title = "工作强度")
|
||||
private String workStrength;
|
||||
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
// @TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 添加来源 0系统新增 1四合一导入
|
||||
*/
|
||||
private Integer addSource;
|
||||
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
package org.jeecg.emp.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.emp.entity.CqBaseEmployee;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class CqBaseEmpVo extends CqBaseEmployee implements Serializable {
|
||||
|
||||
|
||||
/*头像*/
|
||||
private String avatar;
|
||||
/*员工姓名*/
|
||||
@Excel(name = "员工姓名", width = 15)
|
||||
private String realname;
|
||||
/*员工账号*/
|
||||
@Excel(name = "员工账号", width = 15)
|
||||
private String username;
|
||||
/*密码*/
|
||||
private String password;
|
||||
/*状态(1-正常,2-冻结)*/
|
||||
private Integer status;
|
||||
/*部门*/
|
||||
// @Excel(name="部门",width = 15,dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
// @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
private String departId;
|
||||
private String secondDepartId;
|
||||
@Excel(name="二级部门",width = 15)
|
||||
private String secondDepartName;
|
||||
private String thirdDepartId;
|
||||
@Excel(name="三级部门",width = 15)
|
||||
private String thirdDepartName;
|
||||
/*角色*/
|
||||
private String selectedroles;
|
||||
/*部门*/
|
||||
private String selecteddeparts;
|
||||
|
||||
@Excel(name = "手机号码", width = 15)
|
||||
private String phone;
|
||||
|
||||
private String selections;
|
||||
|
||||
|
||||
/**
|
||||
* 当前登录人部门code
|
||||
*/
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 二三级部门id用 , 分割 如果没有, 说明只有二级部门 三级部门为空
|
||||
*/
|
||||
@Schema(title = "二三级部门id")
|
||||
private String secondAndThirdDepartIds;
|
||||
|
||||
/**
|
||||
* 工号
|
||||
*/
|
||||
private String workNo;
|
||||
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 用户类型(0:正式员工 1:非正式员工,2:家庭用户)
|
||||
*/
|
||||
private Integer userType;
|
||||
|
||||
/**绑定主用户ID*/
|
||||
@Excel(name = "绑定主用户ID", width = 15)
|
||||
@Schema(title = "绑定主用户ID")
|
||||
private String mainUserId;
|
||||
|
||||
/**与主账户关系(亲子,夫妻,兄弟姐妹,父母)*/
|
||||
@Excel(name = "与主账户关系(亲子,夫妻,兄弟姐妹,父母)", width = 15)
|
||||
@Schema(title = "与主账户关系(亲子,夫妻,兄弟姐妹,父母)")
|
||||
private String mainUserRelation;
|
||||
|
||||
/**家庭用户集合*/
|
||||
List<CqBaseEmpVo> subUserList;
|
||||
|
||||
String remark;
|
||||
|
||||
@Schema(title ="卡号")
|
||||
private String cardCode;
|
||||
|
||||
|
||||
@Schema(title ="卡号状态(1:正常,2:挂失)")
|
||||
private Integer cardCodeStatus;
|
||||
|
||||
@Schema(title="部门集合")
|
||||
private List<String> list;
|
||||
|
||||
//部门集合名称
|
||||
private String departNames;
|
||||
|
||||
//直接部门ID
|
||||
private String departIds;
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package org.jeecg.emp.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lianlonggang
|
||||
* @date 2021/12/21 18:06
|
||||
* @throws
|
||||
* @since
|
||||
*/
|
||||
@Data
|
||||
public class DepartVo {
|
||||
private String id;
|
||||
private String departName;
|
||||
private String orgCode;
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package org.jeecg.emp.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lianlonggang
|
||||
* @date 2021/12/21 18:06
|
||||
* @throws
|
||||
* @since
|
||||
*/
|
||||
@Data
|
||||
public class EmpInfoVo {
|
||||
private String avatar;
|
||||
private String userId;
|
||||
private String secondDepartId;
|
||||
private String secondDepartName;
|
||||
private String thirdDepartId;
|
||||
private String thirdDepartName;
|
||||
private String realname;
|
||||
private String username;
|
||||
private String empIdcard;
|
||||
private String mobilePhone;
|
||||
private String token;
|
||||
|
||||
private String workNo;
|
||||
private Date createTime;
|
||||
|
||||
private String password;
|
||||
private String salt;
|
||||
|
||||
private String level;
|
||||
|
||||
// 控制大屏端是否能查看食堂历史数据(0不行1可以)
|
||||
private String canteenId;
|
||||
private String departIds;
|
||||
private String sex;
|
||||
private String age;
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package org.jeecg.emp.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description: 用户信息
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-07-18
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
public class UserInfoVo {
|
||||
private String id;
|
||||
private String username;
|
||||
private String avatar;
|
||||
private String phone;
|
||||
private String realname;
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
package org.jeecg.equipment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 设备管理表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_equipment")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_equipment对象", description="设备管理表")
|
||||
public class StEquipment implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private String sysOrgCode;
|
||||
/**设备名称编码*/
|
||||
@Excel(name = "设备名称编码", width = 15)
|
||||
@Schema(title = "设备名称编码")
|
||||
private String equipmentName;
|
||||
/**设备编号*/
|
||||
@Excel(name = "设备编号", width = 15)
|
||||
@Schema(title = "设备编号")
|
||||
private String equipmentCode;
|
||||
/**状态*/
|
||||
@Excel(name = "状态", width = 15)
|
||||
@Schema(title = "状态")
|
||||
private Integer status;
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15)
|
||||
@Schema(title = "食堂id")
|
||||
private String canteenId;
|
||||
/**"食堂名称"*/
|
||||
@Excel(name = "食堂名称", width = 15)
|
||||
@Schema(title = "食堂名称")
|
||||
@TableField(exist = false)
|
||||
private String canteenName;
|
||||
/**client服务内网ip*/
|
||||
@Excel(name = "client服务内网ip", width = 15)
|
||||
@Schema(title = "client服务内网ip")
|
||||
private String clientServerIp;
|
||||
/**zhst外网服务ip*/
|
||||
@Excel(name = "zhst外网服务ip", width = 15)
|
||||
@Schema(title = "zhst外网服务ip")
|
||||
private String zhstServerIp;
|
||||
/**app包下载路径*/
|
||||
@Excel(name = "app包下载路径", width = 15)
|
||||
@Schema(title = "app包下载路径")
|
||||
private String appPackageUrl;
|
||||
/**设备编码*/
|
||||
@Excel(name = "设备编码", width = 15)
|
||||
@Schema(title = "设备编码")
|
||||
private String appPackageLocalUrl;
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
@Excel(name = "同步标记(1:已同步,0:未同步)", width = 15)
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**虹软app_id*/
|
||||
@Excel(name = "虹软app_id", width = 15)
|
||||
@Schema(title = "虹软app_id")
|
||||
private String arcsoftAppId;
|
||||
|
||||
/**虹软sdk_key*/
|
||||
@Excel(name = "虹软sdk_key", width = 15)
|
||||
@Schema(title = "虹软sdk_key")
|
||||
private String arcsoftSdkKey;
|
||||
|
||||
/**虹软active_key*/
|
||||
@Excel(name = "虹软active_key", width = 15)
|
||||
@Schema(title = "虹软active_key")
|
||||
private String arcsoftActiveKey;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
/**所属餐道*/
|
||||
@Schema(title = "所属餐道")
|
||||
private Integer owningTrack;
|
||||
|
||||
/**所属餐道餐道中的顺序*/
|
||||
@Schema(title = "所属餐道餐道中的顺序")
|
||||
private Integer owningTrackOrder;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
package org.jeecg.equipment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 第三方设备白名单(体重秤)
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_equipment_thirdparty")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="第三方设备白名单 对象", description="第三方设备白名单")
|
||||
public class StEquipmentThirdparty implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private String sysOrgCode;
|
||||
/**设备名称编码*/
|
||||
@Excel(name = "设备名称编码", width = 15)
|
||||
@Schema(title = "设备名称编码")
|
||||
private String equipmentName;
|
||||
/**设备编号*/
|
||||
@Excel(name = "设备编号", width = 15)
|
||||
@Schema(title = "设备编号")
|
||||
private String equipmentCode;
|
||||
/**设备权限(0 正常,1:禁用)*/
|
||||
@Excel(name = "设备权限(0 正常,1:禁用)", width = 15)
|
||||
@Schema(title = "设备权限(0 正常,1:禁用)")
|
||||
private Integer status;
|
||||
/**组织id*/
|
||||
@Excel(name = "组织id", width = 15)
|
||||
@Schema(title = "组织id")
|
||||
private String orgId;
|
||||
/**设备消息通讯MQ地址*/
|
||||
@Excel(name = "设备消息通讯MQ地址", width = 15)
|
||||
@Schema(title = "设备消息通讯MQ地址")
|
||||
private String mqServerIp;
|
||||
/**设备消息通讯MQ端口*/
|
||||
@Excel(name = "设备消息通讯MQ端口", width = 15)
|
||||
@Schema(title = "设备消息通讯MQ端口")
|
||||
private String mqServerPort;
|
||||
/**业务服务请求地址*/
|
||||
@Excel(name = "业务服务请求地址", width = 15)
|
||||
@Schema(title = "业务服务请求地址")
|
||||
private String serviceRequestUrl;
|
||||
/**设备条形码*/
|
||||
@Excel(name = "设备条形码", width = 15)
|
||||
@Schema(title = "设备条形码")
|
||||
private String equipmentBarCode;
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
@Excel(name = "同步标记(1:已同步,0:未同步)", width = 15)
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package org.jeecg.equipment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 体重秤设备二级部门关系表
|
||||
* @Author: jeecg-boot
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_weigh_sacle_org_code")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class StWeighSacleOrgCode implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
/**创建人*/
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
private String sysOrgCode;
|
||||
/**禁用状态(1:禁止,0:正常)*/
|
||||
// @Excel(name = "禁用状态(1:禁止,0:正常)", width = 15)
|
||||
@Dict(dicCode = "use_status")
|
||||
private Integer useStatus;
|
||||
/**设备编号*/
|
||||
@Excel(name = "设备编号", width = 15)
|
||||
private String equipmentCode;
|
||||
/**获取人脸库的二级组织code(多个用逗号分割)*/
|
||||
private String orgCode;
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
private Integer isSync;
|
||||
/**删除标记(0:未删除,1:已删除)*/
|
||||
@Excel(name = "删除标记(0:未删除,1:已删除)", width = 15)
|
||||
private Integer delFlag;
|
||||
}
|
||||
+108
@@ -0,0 +1,108 @@
|
||||
package org.jeecg.payment;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class OrderInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@Schema(title ="订单id")
|
||||
public int orderId;
|
||||
|
||||
@Schema(title ="订单类型")
|
||||
public int orderType;//1、桌台 2、号牌
|
||||
|
||||
@Schema(title ="订单号")
|
||||
public String orderNo;
|
||||
|
||||
@Schema(title ="序列号")
|
||||
private String serialNo;
|
||||
|
||||
@Schema(title ="桌台号")
|
||||
public String deskNo;
|
||||
|
||||
@Schema(title ="桌台名称")
|
||||
public String deskName;
|
||||
|
||||
@Schema(title ="订单原价")
|
||||
public Double originalPrice;
|
||||
|
||||
//后台计算实付金额
|
||||
public Double customerPrice;
|
||||
|
||||
@Schema(title ="订单优惠")
|
||||
public Double preferentialPrice;
|
||||
|
||||
@Schema(title ="会员id")
|
||||
public Integer memberId;
|
||||
|
||||
@Schema(title ="微信标记")
|
||||
public String openId;
|
||||
|
||||
@Schema(title ="就餐人数")
|
||||
public int number;
|
||||
|
||||
@Schema(title ="就餐方式")
|
||||
public int dineWay;//1打包 2堂食 3自助餐
|
||||
|
||||
@Schema(title ="备注")
|
||||
public String remark;
|
||||
|
||||
@Schema(title ="付款方式0 微信 1会员 2混合 3支付宝") //对应订单 1是支付宝 2微信 3现金 4会员 5混合
|
||||
public int payWay;
|
||||
|
||||
// @Schema(title ="菜品")
|
||||
// public List<OrderFood> orderFoodList;
|
||||
|
||||
@Schema(title ="就餐时间")
|
||||
private String dineDate;
|
||||
|
||||
//状态
|
||||
@Schema(title ="状态")
|
||||
private int status;
|
||||
//状态中文
|
||||
@Schema(title ="状态中文")
|
||||
private String statusName;
|
||||
@Schema(title ="订单所属机构")
|
||||
|
||||
private int eaId;
|
||||
@Schema(title ="订单所属机构名称")
|
||||
private String eaName;
|
||||
|
||||
@Schema(title ="原始订单串")
|
||||
private String orderText;
|
||||
|
||||
@Schema(title ="创建时间")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 预定用餐时间
|
||||
*/
|
||||
@Schema(title ="预定用餐时间")
|
||||
private Date reserveDate;
|
||||
|
||||
@Schema(title ="预定用餐人")
|
||||
private String reserveUser;
|
||||
|
||||
@Schema(title ="预定用电话")
|
||||
private String reservePhone;
|
||||
|
||||
@Schema(title ="性别")
|
||||
private Integer sex;
|
||||
|
||||
@Schema(title ="倒计时时间")
|
||||
private int millisecond;
|
||||
|
||||
//餐盒价格
|
||||
private BigDecimal boxPrice;
|
||||
|
||||
//下单时间
|
||||
private String selectTime;
|
||||
}
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
package org.jeecg.payment;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 会员查看详情
|
||||
*
|
||||
* @author Ls.
|
||||
* @date 2021/6/17.
|
||||
*/
|
||||
@Data
|
||||
public class SwClientUserInfoShopDetailsVO implements Serializable {
|
||||
|
||||
@Schema(title ="手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="身份证号码")
|
||||
private String idCard;
|
||||
|
||||
@Schema(title ="姓名")
|
||||
private String name;
|
||||
|
||||
@Schema(title ="性别")
|
||||
private Integer sex;
|
||||
|
||||
@Schema(title ="出生日期")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
private Date birthDate;
|
||||
|
||||
@TableField(value = "email")
|
||||
@Schema(title ="邮箱")
|
||||
private String email;
|
||||
|
||||
@Schema(title ="省市区")
|
||||
private String provinces;
|
||||
@Schema(title ="详细地址")
|
||||
private String address;
|
||||
|
||||
@Schema(title ="发票抬头")
|
||||
private String invoiceTitle;
|
||||
|
||||
@Schema(title ="税号")
|
||||
private String taxCode;
|
||||
|
||||
@Schema(title ="标签")
|
||||
private String labelName;
|
||||
|
||||
@Schema(title ="备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
@Schema(title ="充值余额")
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
@Schema(title ="累计充值")
|
||||
private BigDecimal topUpTotal;
|
||||
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
@Schema(title ="赠送余额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="积分余额")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="消费次数")
|
||||
private Integer consumptionCount;
|
||||
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
@Schema(title ="累计消费合计")
|
||||
private BigDecimal consumptionTotal;
|
||||
|
||||
@Schema(title ="卡余额")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal cardBalance;
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class StAmountSpentEveryMemberDTO {
|
||||
|
||||
/**
|
||||
* 食堂id
|
||||
*/
|
||||
private String canteenId;
|
||||
/**
|
||||
* 二/三级部门id
|
||||
*/
|
||||
private String secondThirdDepartIds;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private String startDate;
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private String endDate;
|
||||
/**
|
||||
* 时间区间
|
||||
*/
|
||||
private List<String> dates;
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String payName;
|
||||
private Integer pageNo;
|
||||
private Integer pageSize;
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* use jianan code generator created
|
||||
*/
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.jeecg.payment.entity.StBbzxOrderInfo;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 报表中心-店内订单数据传输对象实体类
|
||||
*
|
||||
* @author yucl
|
||||
* @since 2021-05-31
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class StBbzxOrderInfoDTO extends StBbzxOrderInfo {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(title ="下单时间1 结账时间2 营业时间3 ")
|
||||
private int timeType;
|
||||
|
||||
@Schema(title ="开始时间0 结束时间1")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private List<Date> timeValues;
|
||||
|
||||
@Schema(title ="开始时间", hidden = true)
|
||||
@JsonIgnore
|
||||
private String timeStart;
|
||||
|
||||
@Schema(title ="开始时间", hidden = true)
|
||||
@JsonIgnore
|
||||
private String timeEnd;
|
||||
|
||||
@Schema(title ="订单原价底0 订单原价高1")
|
||||
private BigDecimal[] orderPrices;
|
||||
|
||||
@Schema(title ="当前页")
|
||||
private Integer pageNum;
|
||||
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 会员卡撤销dto
|
||||
* @author Ls.
|
||||
* @date 2021/6/22.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberBackTopUpDto {
|
||||
//主键id
|
||||
private String id;
|
||||
//原充值余额
|
||||
private BigDecimal oldTopUpBalance;
|
||||
//原赠送余额
|
||||
private BigDecimal oldRewardBalance;
|
||||
|
||||
//需要扣减的充值金额
|
||||
private BigDecimal topUpSubtractBalance;
|
||||
//需要扣减的赠送金额
|
||||
private BigDecimal rewardSubtractBalance;
|
||||
//需要扣减的积分
|
||||
private Integer integralSubtractBalance;
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/6/21.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberBalanceDTO {
|
||||
@Schema(title ="手机/卡号")
|
||||
private String param;
|
||||
|
||||
@Schema(title ="卡类型:全部不传 1后台 2收银")
|
||||
private Integer memberFrom;
|
||||
|
||||
@Schema(title ="卡状态:全部不传 0禁用1启用")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="开卡时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private List<Date> createTime;
|
||||
|
||||
@Schema(title ="当前页")
|
||||
private Integer pageNum;
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
private Integer eaId;
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startTime;
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date endTime;
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 修改余额
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutTopUpDTO对象", description = "修改余额")
|
||||
public class StClientMemberChangeBalanceDTO {
|
||||
|
||||
@NotBlank(message = "id不可为空")
|
||||
@Schema(title ="会员余额表主键id")
|
||||
private String id;
|
||||
|
||||
@NotBlank(message = "调正方式不可为空")
|
||||
@Schema(title ="调正方式:1补录扣减2")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="充值余额")
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="赠送余额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="积分")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/7/13.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberSpendMapperDTO {
|
||||
@Schema(title ="会员余额表主键id")
|
||||
private String id;
|
||||
|
||||
@Schema(title ="充值余额")
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="赠送余额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="累计消费合计")
|
||||
private BigDecimal consumptionTotal;
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 充值
|
||||
*
|
||||
* @author Ls.
|
||||
* @date 2021/6/21.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberTopUpDTO {
|
||||
|
||||
@NotBlank(message = "id不可为空")
|
||||
@Schema(title ="会员余额表主键id")
|
||||
private String id;
|
||||
|
||||
@NotBlank(message = "充值方式不可为空")
|
||||
@Schema(title ="充值方式:1现金2微信3支付宝,4:前台码,5导入")
|
||||
private Integer paymentMethod;
|
||||
|
||||
@Schema(title ="充值金额")
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="赠送余额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="赠送积分")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="提成人")
|
||||
private String rewardUserNo;
|
||||
|
||||
@Schema(title ="已开发票:false未开 true已开")
|
||||
private boolean isInvoice;
|
||||
|
||||
@Schema(title ="计入可开发票金额:false不计入 true计入")
|
||||
private boolean isInvoiceTotal;
|
||||
|
||||
@Schema(title ="累计发票金额")
|
||||
private BigDecimal invoiceBalance;
|
||||
|
||||
@Schema(title ="创建人")
|
||||
private int userId;
|
||||
|
||||
@Schema(title ="食堂ID")
|
||||
private String canteenId;
|
||||
|
||||
@Schema(title ="导入充值excel的身份证号")
|
||||
private String cardNo;
|
||||
@Schema(title ="导入充值excel的缴费单号")
|
||||
private String serialNo;
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberTransactionRecordDTO对象", description = "后台撤销充值列表")
|
||||
public class StClientMemberTransactionRecordDTO {
|
||||
@Schema(title ="1结账时间 2交易时间")
|
||||
private Integer payTimeStatus;
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@Schema(title ="就餐时间")
|
||||
private String mainTimeDay;
|
||||
|
||||
private String startTime;
|
||||
|
||||
private String endTime;
|
||||
/**
|
||||
* 时间区间
|
||||
*/
|
||||
private List<String> dates;
|
||||
|
||||
@Schema(title ="操作类型:101消费102充值")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="会员号")
|
||||
private String cardNo;
|
||||
|
||||
@Schema(title ="会员姓名")
|
||||
private String userName;
|
||||
|
||||
@Schema(title ="操作端:0后台1前端")
|
||||
private Integer updateStatus;
|
||||
|
||||
private String canteenId;
|
||||
|
||||
|
||||
@Schema(title ="提成人")
|
||||
private String rewardUserNo;
|
||||
|
||||
@Schema(title ="当前页")
|
||||
private Integer pageNo;
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
@Schema(title ="工号")
|
||||
private String workNo;
|
||||
|
||||
/**
|
||||
* 钱包状态(1-禁用,0-正常)
|
||||
*/
|
||||
@Schema(title ="钱包状态(1-禁用,0-正常)")
|
||||
private Integer isStatus;
|
||||
|
||||
|
||||
@Schema(title ="卡号")
|
||||
private String cardCode;
|
||||
|
||||
|
||||
@Schema(title ="卡号状态(1:正常,2:挂失)")
|
||||
private Integer cardCodeStatus;
|
||||
|
||||
@Schema(title ="扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费,4:自定义金额)")
|
||||
private Integer businessModel;
|
||||
|
||||
@Schema(title ="结账方式:0卡余额1现金2微信3支付宝4前台码,5充值明细导入")
|
||||
private Integer paymentMethod;
|
||||
|
||||
@Schema(title="部门集合")
|
||||
private List<String> list;
|
||||
|
||||
//直接部门ID
|
||||
private String departId;
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
package org.jeecg.payment.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/6/17.
|
||||
*/
|
||||
@Data
|
||||
public class StClientUserInfoShopPageDTO {
|
||||
|
||||
@Schema(title ="手机号/卡号/姓名")
|
||||
private String param;
|
||||
|
||||
@Schema(title ="会员来源:0全部1后台2收银")
|
||||
private Integer memberFrom;
|
||||
|
||||
@Schema(title ="入会时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private List<Date> createTime;
|
||||
|
||||
@Schema(title ="消费时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private List<Date> consumptionTime;
|
||||
|
||||
@Schema(title ="当前页")
|
||||
private Integer pageNum;
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
private Integer eaId;
|
||||
|
||||
// @Schema(title ="入会开始时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startCreateTime;
|
||||
|
||||
// @Schema(title ="入会结束时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date endCreateTime;
|
||||
|
||||
// @Schema(title ="消费开始时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startConsumptionTime;
|
||||
|
||||
// @Schema(title ="消费结束时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date endConsumptionTime;
|
||||
}
|
||||
+280
@@ -0,0 +1,280 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 报表中心-店内订单实体类
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_bbzx_order_info")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Tag(name= "SwBbzxOrderInfo对象", description = "报表中心-店内订单")
|
||||
public class StBbzxOrderInfo extends JeecgEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(title ="订单类型1:桌台点餐 2预点餐 3.自助餐")
|
||||
private int orderType;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Schema(title ="流水号")
|
||||
private String serialNo;
|
||||
|
||||
@Schema(title ="餐盘编码")
|
||||
private String plateNumber;
|
||||
|
||||
@Schema(title ="餐次名称")
|
||||
private String dinnerType;
|
||||
/**
|
||||
* 经营模式、扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)
|
||||
*/
|
||||
@Schema(title ="经营模式、扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)")
|
||||
private Integer businessModel;
|
||||
|
||||
@Schema(title ="就餐日期")
|
||||
private String eatDay;
|
||||
|
||||
/**
|
||||
订单来源(1平板端 、2收银端、3自助点餐机、4小程序、5自助餐)
|
||||
*/
|
||||
@Schema(title ="订单来源(1平板端 、2收银端、3自助点餐机、4小程序、5自助餐)")
|
||||
private Integer orderFrom;
|
||||
|
||||
@Schema(title ="订单来源标记")
|
||||
private String orderFromSign;
|
||||
|
||||
private String unionId;
|
||||
|
||||
/**
|
||||
* 用餐方式
|
||||
*/
|
||||
@Schema(title ="用餐方式")
|
||||
private Integer diningWay;
|
||||
/**
|
||||
* 营业时间
|
||||
*/
|
||||
@Schema(title ="营业时间")
|
||||
private Date businessDate;
|
||||
/**
|
||||
* 下单时间
|
||||
*/
|
||||
@Schema(title ="下单时间")
|
||||
private Date orderDate;
|
||||
/**
|
||||
* 结账时间
|
||||
*/
|
||||
@Schema(title ="结账时间")
|
||||
private Date payOrderDate;
|
||||
/**
|
||||
* 撤单时间
|
||||
*/
|
||||
@Schema(title ="撤单时间")
|
||||
private Date withdrawalsDate;
|
||||
|
||||
@Schema(title ="撤单原因")
|
||||
private String withdrawalsReason;
|
||||
|
||||
/**
|
||||
* 桌台id
|
||||
*/
|
||||
@Schema(title ="桌台id")
|
||||
private Integer deskId;
|
||||
|
||||
@Schema(title ="桌台号")
|
||||
private String deskNo;
|
||||
|
||||
@Schema(title ="桌台名称")
|
||||
private String deskName;
|
||||
|
||||
@Schema(title ="桌台备注")
|
||||
private String deskRemark;
|
||||
|
||||
/**
|
||||
* 用餐人数
|
||||
*/
|
||||
@Schema(title ="用餐人数")
|
||||
private Integer userNum;
|
||||
/**
|
||||
* 用餐原价
|
||||
*/
|
||||
@Schema(title ="订单原价(一次扣费模式:扣费规则里固定金额+补助金额)")
|
||||
private BigDecimal orderPrice;
|
||||
/**
|
||||
* 订单优惠
|
||||
*/
|
||||
@Schema(title ="订单优惠(一次扣费模式:扣费规则里补助金额)")
|
||||
private BigDecimal preferentialPrice;
|
||||
/**
|
||||
* 顾客应付
|
||||
*/
|
||||
@Schema(title ="顾客应付(一次扣费模式:扣费规则里固定金额,按量扣费模式:最终顾客应付)")
|
||||
private BigDecimal customerPrice;
|
||||
/**
|
||||
* 顾客应付
|
||||
*/
|
||||
@Schema(title ="后端顾客应付(按量扣费模式:后端计算金额)")
|
||||
private BigDecimal customerBackendPrice;
|
||||
/**
|
||||
* 顾客应付
|
||||
*/
|
||||
@Schema(title ="前端顾客应付(按量扣费模式:前端计算金额)")
|
||||
private BigDecimal customerHeadendPrice;
|
||||
/**
|
||||
* 支付合计
|
||||
*/
|
||||
@Schema(title ="支付合计")
|
||||
private BigDecimal payTotal;
|
||||
|
||||
|
||||
@Schema(title ="折扣率")
|
||||
private BigDecimal orderDiscount;
|
||||
|
||||
@Schema(title ="折扣原因")
|
||||
private String orderDiscountReason;
|
||||
|
||||
@Schema(title ="订单减免")
|
||||
private BigDecimal orderDerate;
|
||||
|
||||
@Schema(title ="remark")
|
||||
private String remark;
|
||||
|
||||
@Schema(title ="自动抹零")
|
||||
private BigDecimal autoChangeZero;
|
||||
|
||||
@Schema(title ="手动抹零")
|
||||
private BigDecimal changeZero;
|
||||
|
||||
|
||||
/**
|
||||
* 订单收入
|
||||
*/
|
||||
@Schema(title ="订单收入")
|
||||
private BigDecimal income;
|
||||
/**
|
||||
* 结账方式
|
||||
* /对应订单 1是支付宝 2微信 3现金 4会员 5混合
|
||||
*/
|
||||
@Schema(title ="结账方式")
|
||||
private Integer payType;
|
||||
/**
|
||||
* 订单状态
|
||||
* OrderStatus.ORDER_STATUS_WAIT_ORDER (1, "ORDER_STATUS_WAIT_ORDER ", "待下单"),
|
||||
* OrderStatus.ORDER_STATUS_WAIT_RECEIVING_ORDERS(2, "ORDER_STATUS_WAIT_RECEIVING_ORDERS", "待接单"),
|
||||
* OrderStatus.ORDER_STATUS_WAIT_MAKE(3, "ORDER_STATUS_WAIT_MAKE", "待制作"),
|
||||
* OrderStatus.ORDER_STATUS_WAIT_CHECK_OUT(4, "ORDER_STATUS_WAIT_CHECK_OUT", "待结账"),
|
||||
* OrderStatus.ORDER_STATUS_CHECK_OUT_ING(0, "ORDER_STATUS_WAIT_CHECK_OUT", "结账中"),//收银台需要的细化状态
|
||||
* OrderStatus.ORDER_STATUS_HAS_CHECK_OUT(5, "ORDER_STATUS_HAS_CHECK_OUT", "已完成"),
|
||||
* OrderStatus.ORDER_STATUS_CANCEL_ORDER(6, "ORDER_STATUS_CANCEL_ORDER", "已撤单"),
|
||||
* OrderStatus.ORDER_STATUS_FJZ_ORDER(7, "ORDER_STATUS_FJZ_ORDER", "反结账"),
|
||||
* OrderStatus.ORDER_STATUS_CANCEL_ED(8, "ORDER_STATUS_CANCEL_ED", "后台定时任务关闭");
|
||||
*/
|
||||
@Schema(title ="订单状态")
|
||||
private Integer status;
|
||||
/**
|
||||
* 菜品价格
|
||||
*/
|
||||
@Schema(title ="菜品价格")
|
||||
private BigDecimal foodPrice;
|
||||
/**
|
||||
* 服务费
|
||||
*/
|
||||
@Schema(title ="服务费")
|
||||
private BigDecimal servicePrice;
|
||||
/**
|
||||
* 服务费优惠
|
||||
*/
|
||||
@Schema(title ="服务费优惠")
|
||||
private BigDecimal serviceDiscountsPrice;
|
||||
/**
|
||||
* 服务费收入
|
||||
*/
|
||||
@Schema(title ="服务费收入")
|
||||
private BigDecimal serviceIncome;
|
||||
/**
|
||||
* 预定用餐时间
|
||||
*/
|
||||
@Schema(title ="预定用餐时间")
|
||||
private Date reserveDate;
|
||||
|
||||
@Schema(title ="预定用餐人")
|
||||
private String reserveUser;
|
||||
|
||||
@Schema(title ="预定用电话")
|
||||
private String reservePhone;
|
||||
/**
|
||||
* 支付会员id
|
||||
*/
|
||||
@Schema(title ="支付会员id")
|
||||
private String payMemberId;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@Schema(title ="会员id")
|
||||
private String memberId;
|
||||
|
||||
@Schema(title ="会员名称")
|
||||
private String memberName;
|
||||
|
||||
@Schema(title ="预定用电话")
|
||||
private String memberPhone;
|
||||
|
||||
/**
|
||||
* 提成人id
|
||||
*/
|
||||
@Schema(title ="提成人id")
|
||||
private Integer commissionId;
|
||||
|
||||
@Schema(title ="提成人名称")
|
||||
private String commissionName;
|
||||
|
||||
/**
|
||||
* 整单备注
|
||||
*/
|
||||
@Schema(title ="整单备注")
|
||||
private String orderRemark;
|
||||
|
||||
@Schema(title ="原始备注")
|
||||
private String orderText;
|
||||
|
||||
@Schema(title ="桌台区域名称")
|
||||
private String areaName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(title ="机构名称")
|
||||
private String eaName;
|
||||
|
||||
/**
|
||||
* 食堂id
|
||||
*/
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title ="删除标记(1:删除,0:未删除)")
|
||||
private Integer isDel;
|
||||
/**
|
||||
* 闸机记录的支付唯一id(用于判断防止重复支付的标记)
|
||||
*/
|
||||
private String payId;
|
||||
}
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 支付信息实体类
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_bbzx_order_info_pay")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Tag(name= "SwBbzxOrderInfoPay对象", description = "支付信息")
|
||||
public class StBbzxOrderInfoPay extends JeecgEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String orderId;
|
||||
|
||||
private String orderNo;
|
||||
/**
|
||||
* 支付方式
|
||||
* public static final String PAYMENT_ALI_PAY = "1"; 支付宝
|
||||
* public static final String PAYMENT_WX_PAY = "2"; 微信
|
||||
* public static final String PAYMENT_CASH_PAY = "3"; 现金
|
||||
* public static final String PAYMENT_VIP_PAY = "4"; 余额
|
||||
*/
|
||||
@Schema(title ="支付方式")
|
||||
private Integer payType;
|
||||
/**
|
||||
* 支付价格
|
||||
*/
|
||||
@Schema(title ="支付价格")
|
||||
private BigDecimal payPrice;
|
||||
/**
|
||||
* 优惠价格
|
||||
*/
|
||||
@Schema(title ="优惠价格")
|
||||
private BigDecimal payDiscount;
|
||||
/**
|
||||
* 支付收入
|
||||
*/
|
||||
@Schema(title ="支付收入")
|
||||
private BigDecimal payIncome;
|
||||
/**
|
||||
* 状态1==支付成功/other==失败
|
||||
*/
|
||||
@Schema(title ="状态")
|
||||
private Integer status;
|
||||
/**
|
||||
* 操作人
|
||||
*/
|
||||
@Schema(title ="操作人")
|
||||
private String userId;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(title ="备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title ="支付编码")
|
||||
private String payCode;
|
||||
|
||||
/**
|
||||
* 是否删除(1-已删除,0-正常)
|
||||
*/
|
||||
// @JsonIgnore
|
||||
@Schema(title ="是否已删除(1-true,0-false)")
|
||||
private Integer isDel;
|
||||
|
||||
/**
|
||||
* 食堂id
|
||||
*/
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户钱包表
|
||||
*/
|
||||
|
||||
@Tag(name="user-entity-SwClientMemberBalance")
|
||||
@Data
|
||||
@TableName(value = "st_client_member_balance")
|
||||
public class StClientMemberBalance extends JeecgEntity implements Serializable {
|
||||
|
||||
@Schema(title ="会员id")
|
||||
private String memberId;
|
||||
|
||||
@Schema(title ="充值余额(元)")
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="累计充值")
|
||||
private BigDecimal topUpTotal;
|
||||
|
||||
@Schema(title ="赠送余额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="积分余额")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="消费次数")
|
||||
private Integer consumptionCount;
|
||||
|
||||
@Schema(title ="累计消费合计")
|
||||
private BigDecimal consumptionTotal;
|
||||
|
||||
@Schema(title ="最后消费时间")
|
||||
private Date lastConsumptionTime;
|
||||
|
||||
@Schema(title ="首充时间")
|
||||
private Date firstTopUpTime;
|
||||
|
||||
@Schema(title ="可开发票金额")
|
||||
private BigDecimal invoiceTotal;
|
||||
|
||||
@Schema(title ="用户类型:内部用户=0,外部用户=1")
|
||||
private Integer userInnerType;
|
||||
|
||||
/**
|
||||
* 是否删除(1-已删除,0-正常)
|
||||
*/
|
||||
// @TableLogic( value = "0", delval = "1")
|
||||
// @JsonIgnore
|
||||
@Schema(title ="是否已删除(1-true,0-false)")
|
||||
private Integer isDel;
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**
|
||||
* 钱包状态(1-禁用,0-正常)
|
||||
*/
|
||||
@Schema(title ="钱包状态(1-禁用,0-正常)")
|
||||
private Integer isStatus;
|
||||
|
||||
/**
|
||||
* 食堂ID
|
||||
*/
|
||||
@Schema(title ="食堂ID")
|
||||
// @JsonIgnore
|
||||
private String canteenId;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String COL_ID = "id";
|
||||
|
||||
public static final String COL_MEMBER_ID = "member_id";
|
||||
|
||||
public static final String COL_TOP_UP_BALANCE = "top_up_balance";
|
||||
|
||||
public static final String COL_REWARD_BALANCE = "reward_balance";
|
||||
|
||||
public static final String COL_INTEGRAL_BALANCE = "integral_balance";
|
||||
|
||||
public static final String COL_CONSUMPTION_COUNT = "consumption_count";
|
||||
|
||||
public static final String COL_CONSUMPTION_TOTAL = "consumption_total";
|
||||
|
||||
public static final String COL_LAST_CONSUMPTION_TIME = "last_consumption_time";
|
||||
|
||||
public static final String COL_FIRST_TOP_UP_TIME = "first_top_up_time";
|
||||
|
||||
public static final String COL_IS_DEL = "is_del";
|
||||
|
||||
public static final String COL_EA_ID = "canteen_id";
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 扣费规则实体类
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_client_member_level_deduct_rule")
|
||||
@Tag(name= "StClientMemberLevelDeductRule对象", description = "StClientMemberLevelDeductRule对象")
|
||||
public class StClientMemberLevelDeductRule extends JeecgEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@TableField(value = "rule_name")
|
||||
@Schema(title = "规则名称")
|
||||
private String ruleName;
|
||||
|
||||
/**
|
||||
* 扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)
|
||||
*/
|
||||
@TableField(value = "deduction_type")
|
||||
@Schema(title ="扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)")
|
||||
private Integer deductionType;
|
||||
|
||||
|
||||
/**
|
||||
* 扣费规则(fixedDeduction:固定扣费,rewardDeduction:赠送扣费,ratioDeduction:比例扣费)
|
||||
*
|
||||
*/
|
||||
@TableField(value = "deduction_rule")
|
||||
@Schema(title = "扣费规则(fixedDeduction:固定扣费,rewardDeduction:赠送扣费,ratioDeduction:比例扣费)")
|
||||
private String deductionRule;
|
||||
|
||||
/**
|
||||
* 食堂ID
|
||||
*/
|
||||
@Schema(title ="食堂ID")
|
||||
private String canteenId;
|
||||
|
||||
/**
|
||||
* 启用=1,禁用=0
|
||||
*/
|
||||
@TableField(value = "is_enable")
|
||||
@Schema(title ="启用=1,禁用=0")
|
||||
private Integer isEnable;
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title ="删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
}
|
||||
+123
@@ -0,0 +1,123 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 储值规则实体类
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_client_member_level_demotion_time")
|
||||
@Tag(name= "StClientMemberLevelDemotionTime对象", description = "StClientMemberLevelDemotionTime对象")
|
||||
public class StClientMemberLevelDemotionTime extends JeecgEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@TableField(value = "rule_name")
|
||||
@Schema(title = "规则名称")
|
||||
private String ruleName;
|
||||
/**
|
||||
* 小时
|
||||
*/
|
||||
@Schema(title ="小时")
|
||||
@TableField("d_hour")
|
||||
private Integer dHour;
|
||||
/**
|
||||
* 分钟
|
||||
*/
|
||||
@Schema(title ="分钟")
|
||||
@TableField("d_minute")
|
||||
private Integer dMinute;
|
||||
|
||||
/**
|
||||
* 扣款顺序(1储值和赠送余额等比例扣减,2先储值余额,后赠送余额,3先赠送余额,后储值余额)
|
||||
*/
|
||||
@TableField(value = "payment_order")
|
||||
@Schema(title ="扣款顺序(1储值和赠送余额等比例扣减,2先储值余额,后赠送余额,3先赠送余额,后储值余额")
|
||||
private Integer paymentOrder;
|
||||
|
||||
/**
|
||||
* 储值规则1固定2比例
|
||||
*/
|
||||
@TableField(value = "stored_rule_flag")
|
||||
@Schema(title ="储值规则1固定2比例")
|
||||
private Integer storedRuleFlag;
|
||||
|
||||
/**
|
||||
* 启用=1,禁用=0
|
||||
*/
|
||||
@TableField(value = "is_enable")
|
||||
@Schema(title ="启用=1,禁用=0")
|
||||
private Integer isEnable;
|
||||
|
||||
/**
|
||||
* 赠送金额有效期:1长期有效,0当月有效
|
||||
*/
|
||||
@TableField(value = "reward_amount_reset")
|
||||
@Schema(title ="赠送金额有效期:1长期有效,0当月有效")
|
||||
private Integer rewardAmountReset;
|
||||
|
||||
|
||||
/**
|
||||
* 储值规则(rechargePresenter:充值金额,rewardAmount:赠送金额,rewardIntegral:赠送积分,rewardStatus:赠送方式(1固定2比例)
|
||||
* )
|
||||
*/
|
||||
@TableField(value = "stored_rule")
|
||||
@Schema(title = "储值规则1固定2比例(rechargePresenter:充值金额,rewardAmount:赠送金额,rewardIntegral:赠送积分)")
|
||||
private String storedRule;
|
||||
|
||||
/**
|
||||
* 使用规则(maxUse:当日使用上限比例(单位:%),expTime:限制次日失效时间)
|
||||
*/
|
||||
@TableField(value = "use_rule")
|
||||
@Schema(title ="使用规则(maxUse:当日使用上限比例(单位:%),expTime:限制次日失效时间)")
|
||||
private String useRule;
|
||||
|
||||
/**
|
||||
* 积分抵现规则(integralCount:使用积分量,deductionAmount:抵现*元)
|
||||
*/
|
||||
@TableField(value = "integral_rule")
|
||||
@Schema(title = "积分抵现规则(integralCount:使用积分量,deductionAmount:抵现*元)")
|
||||
private String integralRule;
|
||||
|
||||
/**
|
||||
* 单笔订单积分抵扣上限
|
||||
*/
|
||||
@Schema(title = "单笔订单积分抵扣上限:iPattern:(积分抵扣上限1/抵扣上限比例为应收2) iUpperOrScale:积分抵扣个数/抵扣比例(%)")
|
||||
private String singleMaxIntegralRule;
|
||||
|
||||
/**
|
||||
* 积分清零规则
|
||||
*/
|
||||
@Schema(title = "积分清零规则:iStatus:1开启/0关闭,iMonth:关闭时间(年),iDay:关闭时间(月)")
|
||||
private String integralResetRule;
|
||||
|
||||
/**
|
||||
* 积分清零提示短信
|
||||
*/
|
||||
@Schema(title = "积分清零提示短信 mStatus:1开启/0关闭,resetBeforeDay:清零前多少天提示")
|
||||
private String integralResetRemindMessage;
|
||||
|
||||
/**
|
||||
* 食堂ID
|
||||
*/
|
||||
@Schema(title ="食堂ID")
|
||||
private String canteenId;
|
||||
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title ="删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
}
|
||||
+174
@@ -0,0 +1,174 @@
|
||||
package org.jeecg.payment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 交易记录表
|
||||
*/
|
||||
|
||||
@Data
|
||||
@TableName(value = "st_client_member_transaction_record")
|
||||
public class StClientMemberTransactionRecord extends JeecgEntity implements Serializable {
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@TableField(value = "member_id")
|
||||
@Schema(title ="会员id")
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 支付会员id
|
||||
*/
|
||||
@Schema(title ="支付会员id")
|
||||
private String payMemberId;
|
||||
|
||||
/**
|
||||
* 交易流水号
|
||||
*/
|
||||
@TableField(value = "serial_no")
|
||||
@Schema(title ="交易流水号")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@TableField(value = "order_no")
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 操作类型:1消费2充值
|
||||
*/
|
||||
@TableField(value = "status")
|
||||
@Schema(title ="操作类型:MemberTransactionTypeEnum枚举类")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 交易金额
|
||||
*/
|
||||
@TableField(value = "transaction_amount")
|
||||
@Schema(title ="交易金额(元)")
|
||||
private BigDecimal transactionAmount;
|
||||
|
||||
/**
|
||||
* 结账方式:0卡余额1自定义记账-前台码2微信3支付宝4前台码
|
||||
*/
|
||||
@TableField(value = "payment_method")
|
||||
@Schema(title ="结账/退回方式:0卡余额1现金2微信3支付宝4前台码,MemberEnum.PAYMENT_METHOD_BY_ALI")
|
||||
private Integer paymentMethod;
|
||||
|
||||
/**
|
||||
* 储值余额变动
|
||||
*/
|
||||
@TableField(value = "stored_balance")
|
||||
@Schema(title ="储值余额变动")//余额退款时表示:充值余额
|
||||
private BigDecimal storedBalance;
|
||||
|
||||
/**
|
||||
* 奖励余额变动
|
||||
*/
|
||||
@TableField(value = "reward_balance")
|
||||
@Schema(title ="奖励余额变动")//余额退款时表示:赠送余额
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
/**
|
||||
* 积分余额变动
|
||||
*/
|
||||
@TableField(value = "integral_balance")
|
||||
@Schema(title ="积分变动")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="可用余额:充值余额+奖励")//余额退款时表示:累计充值总额=充值+赠送
|
||||
private BigDecimal availableBalance;
|
||||
|
||||
/**
|
||||
* 结账时间
|
||||
*/
|
||||
@TableField(value = "pay_time")
|
||||
@Schema(title ="结账时间")
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 操作端:0后台1前端
|
||||
*/
|
||||
@TableField(value = "update_status")
|
||||
@Schema(title ="操作端:0后台1前端")
|
||||
private Integer updateStatus;
|
||||
|
||||
@Schema(title ="备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title ="提成人")
|
||||
private String rewardUserNo;
|
||||
|
||||
@Schema(title ="已开发票:false未开 true已开")
|
||||
private Integer isInvoice;
|
||||
|
||||
|
||||
@Schema(title ="微信充值商户订单号(退款用)")
|
||||
private String payOrderNo;
|
||||
|
||||
/**
|
||||
* 是否删除(1-已删除,0-正常)
|
||||
*/
|
||||
// @TableLogic( value = "0", delval = "1")
|
||||
// @JsonIgnore
|
||||
@Schema(title ="是否已删除(1-true,0-false)")
|
||||
private Integer isDel;
|
||||
|
||||
/**
|
||||
* 食堂id
|
||||
*/
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
@Schema(title ="同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String COL_ID = "id";
|
||||
|
||||
public static final String COL_MEMBER_ID = "member_id";
|
||||
|
||||
public static final String COL_SERIAL_NO = "serial_no";
|
||||
|
||||
public static final String COL_ORDER_NO = "order_no";
|
||||
|
||||
public static final String COL_STATUS = "status";
|
||||
|
||||
public static final String COL_TRANSACTION_AMOUNT = "transaction_amount";
|
||||
|
||||
public static final String COL_PAYMENT_METHOD = "payment_method";
|
||||
|
||||
public static final String COL_STORED_BALANCE = "stored_balance";
|
||||
|
||||
public static final String COL_REWARD_BALANCE = "reward_balance";
|
||||
|
||||
public static final String COL_INTEGRAL_BALANCE = "integral_balance";
|
||||
|
||||
public static final String COL_PAY_TIME = "pay_time";
|
||||
|
||||
public static final String COL_UPDATE_STATUS = "update_status";
|
||||
|
||||
public static final String COL_CREATE_USER_NO = "create_by";
|
||||
|
||||
public static final String COL_CREATE_TIME = "create_time";
|
||||
|
||||
public static final String COL_UPDATE_USER_NO = "update_by";
|
||||
|
||||
public static final String COL_UPDATE_TIME = "update_time";
|
||||
|
||||
public static final String COL_IS_DEL = "is_del";
|
||||
|
||||
public static final String COL_EA_ID = "canteen_id";
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
/**
|
||||
* 扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)
|
||||
*/
|
||||
public enum DeductionTypeEnum {
|
||||
FIXED_WITHHOLDING_FEE(1, "固定扣费"),
|
||||
FIXED_AND_SUBSIDY_DEDUCTION_FEE(2, "固定+补贴扣费"),
|
||||
DEDUCT_FEES_BY_VOLUME(3, "按量扣费"),
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
private String name;
|
||||
|
||||
|
||||
DeductionTypeEnum(Integer code, String name) {
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public static String getName(Integer code) {
|
||||
DeductionTypeEnum[] enums = values();
|
||||
int length = enums.length;
|
||||
|
||||
for (int i = 0; i < length; ++i) {
|
||||
DeductionTypeEnum item = enums[i];
|
||||
if (item.code.equals(code)) {
|
||||
return item.name;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
/**
|
||||
* 会员卡相关
|
||||
*/
|
||||
public enum MemberEnum {
|
||||
PAYMENT_METHOD_BY_CARD(0, "结账方式_卡余额","卡余额"),
|
||||
PAYMENT_METHOD_BY_CASH(1, "结账方式_现金","现金"),
|
||||
PAYMENT_METHOD_BY_WX(2, "结账方式_微信","微信"),
|
||||
PAYMENT_METHOD_BY_ALI(3, "结账方式_支付宝","支付宝"),
|
||||
PAYMENT_METHOD_BY_COUNTER(4, "结账方式_前台码","前台码"),
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
private String name;
|
||||
private String xcxName;
|
||||
|
||||
|
||||
MemberEnum(Integer code, String name, String xcxName) {
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
this.xcxName = xcxName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getXcxName() {
|
||||
return xcxName;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public static String getXcxName(Integer code) {
|
||||
MemberEnum[] enums = values();
|
||||
int length = enums.length;
|
||||
|
||||
for (int i = 0; i < length; ++i) {
|
||||
MemberEnum item = enums[i];
|
||||
if (item.code.equals(code)) {
|
||||
return item.xcxName;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
/**
|
||||
*/
|
||||
public enum MemberLevelEnum {
|
||||
COMMON_LEVEL_MEMBER(-1, "普通会员卡"),
|
||||
|
||||
PAY_SEQUENCE_BY_RATIO(1, "储值和赠送余额等比例扣减"),
|
||||
PAY_SEQUENCE_BY_TOP_UP(2, "先储值余额,后赠送余额"),
|
||||
PAY_SEQUENCE_BY_REWARD(3, "先赠送余额,后储值余额"),
|
||||
;
|
||||
private String name;
|
||||
private Integer code;
|
||||
|
||||
|
||||
MemberLevelEnum(Integer code, String name) {
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据统计编号获取对应枚举实例
|
||||
*
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
public static MemberLevelEnum getEnumCode(Integer code) {
|
||||
if (code == null) {
|
||||
return PAY_SEQUENCE_BY_RATIO;//默认等比例扣减
|
||||
}
|
||||
for (MemberLevelEnum result : MemberLevelEnum.values()) {
|
||||
if (result.code.equals(code)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return PAY_SEQUENCE_BY_RATIO;//默认等比例扣减
|
||||
}
|
||||
}
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
|
||||
import org.jeecg.payment.vo.StMemberOperationTypeVO;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会员卡交易记录
|
||||
*/
|
||||
public enum MemberTransactionTypeEnum {
|
||||
EXPENDITURE("消费", 101),
|
||||
PAY("充值", 102),
|
||||
BACK_PAY("撤销充值", 103),
|
||||
BALANCE_ADD("余额手动补录", 201),
|
||||
BALANCE_SUBTRACT("余额手动扣减", 202),
|
||||
INTEGRAL_ADD("积分手动补录", 203),
|
||||
INTEGRAL_SUBTRACT("积分手动扣减", 204),
|
||||
INTEGRAL_RESET("积分清零", 205),
|
||||
B_TO_C_REFUND_301("余额退款完成", 301),
|
||||
B_TO_C_REFUND_302("余额退款中", 302),
|
||||
ZS_BALANCE_RESET("赠送余额清零", 303)
|
||||
;
|
||||
|
||||
private String name;
|
||||
private Integer code;
|
||||
|
||||
MemberTransactionTypeEnum(String name, Integer code) {
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public static String getName(Integer code) {
|
||||
MemberTransactionTypeEnum[] enums = values();
|
||||
int length = enums.length;
|
||||
|
||||
for (int i = 0; i < length; ++i) {
|
||||
MemberTransactionTypeEnum item = enums[i];
|
||||
if (item.code.equals(code)) {
|
||||
return item.name;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<StMemberOperationTypeVO> getList() {
|
||||
List<StMemberOperationTypeVO> list = new ArrayList<>();
|
||||
MemberTransactionTypeEnum[] enums = values();
|
||||
int length = enums.length;
|
||||
for (int i = 0; i < length; ++i) {
|
||||
StMemberOperationTypeVO model = new StMemberOperationTypeVO();
|
||||
MemberTransactionTypeEnum item = enums[i];
|
||||
model.setCode(item.code.toString());
|
||||
model.setName(item.name);
|
||||
list.add(model);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(Integer code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
/**
|
||||
* 订单状态枚举
|
||||
*/
|
||||
public enum OrderStatus {
|
||||
ORDER_STATUS_WAIT_ORDER (1, "ORDER_STATUS_WAIT_ORDER ", "待下单"),
|
||||
ORDER_STATUS_WAIT_RECEIVING_ORDERS(2, "ORDER_STATUS_WAIT_RECEIVING_ORDERS", "待接单"),
|
||||
ORDER_STATUS_WAIT_MAKE(3, "ORDER_STATUS_WAIT_MAKE", "待制作"),
|
||||
ORDER_STATUS_WAIT_CHECK_OUT(4, "ORDER_STATUS_WAIT_CHECK_OUT", "待结账"),
|
||||
ORDER_STATUS_CHECK_OUT_ING(0, "ORDER_STATUS_WAIT_CHECK_OUT", "结账中"),//收银台需要的细化状态
|
||||
ORDER_STATUS_HAS_CHECK_OUT(5, "ORDER_STATUS_HAS_CHECK_OUT", "已完成"),
|
||||
ORDER_STATUS_CANCEL_ORDER(6, "ORDER_STATUS_CANCEL_ORDER", "已撤单"),
|
||||
ORDER_STATUS_FJZ_ORDER(7, "ORDER_STATUS_FJZ_ORDER", "反结账"),
|
||||
ORDER_STATUS_CANCEL_ED(8, "ORDER_STATUS_CANCEL_ED", "后台定时任务关闭");
|
||||
private int code;
|
||||
private String type;
|
||||
private String desc;
|
||||
|
||||
OrderStatus(int code, String type, String desc) {
|
||||
this.code = code;
|
||||
this.type = type;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public static String getDescByCode(int code) {
|
||||
for (OrderStatus type : OrderStatus.values()) {
|
||||
if (type.getCode() == code) {
|
||||
return type.getDesc();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getTypeByCode(int code) {
|
||||
for (OrderStatus type : OrderStatus.values()) {
|
||||
if (type.getCode() == code) {
|
||||
return type.getType();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Integer getCode(String desc) {
|
||||
for (OrderStatus type : OrderStatus.values()) {
|
||||
if (type.getDesc().equalsIgnoreCase(desc)) {
|
||||
return type.getCode();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package org.jeecg.payment.enums;
|
||||
|
||||
|
||||
// 定义用户类型枚举类
|
||||
public enum UserTypeEnum {
|
||||
OFFICIAL(0, "正式员工"),
|
||||
UNOFFICIAL(1, "非正式员工"),
|
||||
FAMILY(2, "家庭用户"),
|
||||
UNKNOWN_SUBSCRIBER(-1, "未知用户");
|
||||
private int code;
|
||||
private String desc;
|
||||
|
||||
UserTypeEnum(int code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
// 根据代码获取对应的枚举实例
|
||||
public static UserTypeEnum getByCode(int code) {
|
||||
for (UserTypeEnum type : UserTypeEnum.values()) {
|
||||
if (type.getCode() == code) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
return UNKNOWN_SUBSCRIBER;
|
||||
}
|
||||
}
|
||||
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class InOutRecordInfoVo {
|
||||
|
||||
private String status;
|
||||
|
||||
@Schema(title ="交易金额")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal transactionAmount;
|
||||
|
||||
private String payTime;
|
||||
|
||||
private String orderNo;
|
||||
|
||||
private String paymentMethod;
|
||||
|
||||
private String remark;
|
||||
|
||||
private String eaName;
|
||||
}
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class OrderShow {
|
||||
|
||||
@Schema(title ="订单id")
|
||||
public int orderId;
|
||||
|
||||
|
||||
@Schema(title ="订单编号")
|
||||
public String orderNo;
|
||||
|
||||
@Schema(title ="订单备注")
|
||||
public String remark;
|
||||
|
||||
@Schema(title ="订单备注")
|
||||
public String orderName;
|
||||
|
||||
@Schema(title ="下单时间")
|
||||
public Date createTime;
|
||||
|
||||
|
||||
@Schema(title ="状态")
|
||||
public String status;
|
||||
|
||||
@JsonIgnore
|
||||
@Schema(title ="eaId")
|
||||
public Integer eaId;
|
||||
|
||||
@Schema(title ="机构名称")
|
||||
private String eaName;
|
||||
|
||||
@Schema(title ="订单价格")
|
||||
private BigDecimal originalPrice;
|
||||
|
||||
/**
|
||||
* 订单来源
|
||||
* 1、平板端
|
||||
* 2、收银端
|
||||
* 3、自助点餐机
|
||||
* 4、微信小程序
|
||||
* 5、支付宝小程序
|
||||
*/
|
||||
@Schema(title ="订单来源")
|
||||
private Integer orderFrom;
|
||||
|
||||
@Schema(title ="订单类型 1:扫码点餐 2预点餐 3.自助餐")
|
||||
private Integer orderType;
|
||||
//订单菜品详情
|
||||
private List<StEatFoodInfoVo> eatFoodInfoVoList;
|
||||
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/6/22.
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutVO对象", description = "撤销充值列表")
|
||||
public class StClientMemberBackOutPayVO {
|
||||
@Schema(title ="ID")
|
||||
private String id;
|
||||
|
||||
@Schema(title ="交易流水号")
|
||||
private String serialNo;
|
||||
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Schema(title ="支付订单号")
|
||||
private String payOrderNo;
|
||||
|
||||
|
||||
@Schema(title ="操作类型:MemberTransactionTypeEnum枚举类")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="操作类型名称")
|
||||
private String statusName;
|
||||
|
||||
@Schema(title ="结账/退回方式:0卡余额1现金2微信3支付宝4:前台码5充值明细导入")
|
||||
private Integer paymentMethod;
|
||||
|
||||
@Schema(title ="结账方式:名称")
|
||||
private String paymentMethodName;
|
||||
|
||||
@Schema(title ="储值余额变动")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal storedBalance;
|
||||
|
||||
@Schema(title ="赠送余额变动")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="操作门店")
|
||||
private String eaName;
|
||||
|
||||
@Schema(title ="操作端:0后台1前端")
|
||||
private Integer updateStatus;
|
||||
|
||||
@Schema(title ="操作人")
|
||||
private String createOne;
|
||||
|
||||
@Schema(title ="备注:撤销原因")
|
||||
private String remark;
|
||||
|
||||
@Schema(title ="操作状态:0不可撤销1可撤销")
|
||||
private Integer operationStatus;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@Schema(title ="操作时间")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
充值列表
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutTopUpDTO对象", description = "撤销充值")
|
||||
public class StClientMemberBackOutTopUpDTO {
|
||||
@NotBlank(message = "请输入id")
|
||||
@Schema(title ="会员余额列表主键id")
|
||||
private String id;
|
||||
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 充值
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutUserVO对象", description = "撤销充值")
|
||||
public class StClientMemberBackOutUserVO {
|
||||
@Schema(title ="用户名称")
|
||||
private String userName;
|
||||
|
||||
@Schema(title ="手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="卡号")
|
||||
private String cardCode;
|
||||
|
||||
@Schema(title ="工号")
|
||||
private String workNo;
|
||||
|
||||
@Schema(title ="所属部门")
|
||||
private String deptName;
|
||||
|
||||
// @Schema(title ="所属门店")
|
||||
private String eaName;
|
||||
|
||||
@Schema(title ="等级")
|
||||
private String cardLevelName;
|
||||
|
||||
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutVO对象", description = "后台撤销充值列表")
|
||||
public class StClientMemberBackOutVO {
|
||||
|
||||
@Schema(title ="充值列表")
|
||||
private List<StClientMemberBackOutPayVO> payVO;
|
||||
|
||||
@Schema(title ="用户信息")
|
||||
private StClientMemberBackOutUserVO userVO;
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
充值
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBackOutTopUpDTO对象", description = "撤销充值")
|
||||
public class StClientMemberBackTopUpQueryDto {
|
||||
|
||||
//线上线下公共参数
|
||||
@NotBlank(message = "请输入id")
|
||||
@Schema(title ="流水表主键id")
|
||||
private String id;
|
||||
|
||||
@NotBlank(message = "撤销原因不能为空")
|
||||
@Schema(title ="撤销原因")
|
||||
private String remark;
|
||||
|
||||
@NotBlank(message = "退回方式不能为空")
|
||||
@Schema(title ="退回方式:0卡余额1现金2微信3支付宝4:前台码")
|
||||
private Integer paymentMethod;
|
||||
|
||||
@Schema(title ="食堂id")
|
||||
private String canteenId;
|
||||
|
||||
//线上
|
||||
/**
|
||||
* 支付宝,微信,银联返回的交易号
|
||||
*/
|
||||
@Schema(title ="商户订单号+订单随机数(order_no + order_tag)")
|
||||
private String payOrderNo;
|
||||
|
||||
@Schema(title ="标价金额(单位为元)")
|
||||
private BigDecimal totalFee;
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
后台充值列表
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberBalanceListVO对象", description = "后台充值列表")
|
||||
public class StClientMemberBalanceListVO {
|
||||
@Schema(title ="主键id")
|
||||
private String id;
|
||||
|
||||
@Schema(title ="用户ID")
|
||||
private String userId;
|
||||
|
||||
@Schema(title ="用户名称")
|
||||
private String userName;
|
||||
|
||||
@Schema(title ="部门名称")
|
||||
private String deptName;
|
||||
|
||||
@Schema(title ="工号")
|
||||
private String workNo;
|
||||
|
||||
@Schema(title ="手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="总余额(元)充值金额+补贴赠送金额")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal topUpBalanceTotal;
|
||||
|
||||
@Schema(title ="累计充值(元)")
|
||||
private BigDecimal topUpTotal;
|
||||
|
||||
@Schema(title ="补贴金额")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="充值余额(元)")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="积分余额")
|
||||
private Integer integralBalance;
|
||||
|
||||
@Schema(title ="消费次数")
|
||||
private Integer consumptionCount;
|
||||
|
||||
@Schema(title ="累计消费(元)")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal consumptionTotal;
|
||||
|
||||
|
||||
/**
|
||||
* 钱包状态(1-禁用,0-正常)
|
||||
*/
|
||||
@Schema(title ="钱包状态(1-禁用,0-正常)")
|
||||
private Integer isStatus;
|
||||
|
||||
@Schema(title ="充值次数")
|
||||
private Integer topUpCount;
|
||||
|
||||
|
||||
@Schema(title ="最后一次消费时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date lastConsumptionTime;
|
||||
|
||||
@Schema(title ="首充时间")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date firstTopUpTime;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/6/21.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberBalanceVO {
|
||||
@Schema(title ="主键id")
|
||||
private Integer id;
|
||||
|
||||
@Schema(title ="卡号")
|
||||
private String cardCode;
|
||||
|
||||
@Schema(title ="手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="卡类型:1后台2收银")
|
||||
private String memberFrom;
|
||||
|
||||
@Schema(title ="卡等级名称")
|
||||
private String cardName;
|
||||
|
||||
@Schema(title ="卡等级ID")
|
||||
private Integer memberLevelId;
|
||||
|
||||
@Schema(title ="储值余额变动")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal topUpBalance;
|
||||
|
||||
@Schema(title ="积分余额变动")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal integralBalance;
|
||||
|
||||
@Schema(title ="赠送余额变动")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title="状态:0禁用1启用")
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal status;
|
||||
|
||||
@Schema(title="店铺名称")
|
||||
private String eaName;
|
||||
}
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 扣费规则
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StClientMemberLevelDeductRule对象", description = "StClientMemberLevelDeductRule对象")
|
||||
public class StClientMemberLevelDeductRuleVo extends JeecgEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@Schema(title = "规则名称")
|
||||
private String ruleName;
|
||||
|
||||
|
||||
/**
|
||||
* 启用=1,禁用=0
|
||||
*/
|
||||
@Schema(title ="启用=1,禁用=0")
|
||||
private Integer isEnable;
|
||||
|
||||
/**
|
||||
* 扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)
|
||||
*/
|
||||
@Schema(title ="扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费)")
|
||||
private Integer deductionType;
|
||||
|
||||
/**
|
||||
* 用户类型(1:全部用户,2:指定用户)
|
||||
*/
|
||||
@Schema(title ="用户类型(1:全部用户,0:指定用户)")
|
||||
private Integer isExternalDine;
|
||||
|
||||
|
||||
@Schema(title ="规则")
|
||||
private StMemberDeductRuleVO stMemberDeductRuleVO;
|
||||
|
||||
/**
|
||||
* 扣费规则(fixedDeduction:固定扣费,rewardDeduction:赠送扣费,ratioDeduction:比例扣费)
|
||||
*
|
||||
*/
|
||||
@Schema(title = "扣费规则(fixedDeduction:固定扣费,rewardDeduction:赠送扣费,ratioDeduction:比例扣费)")
|
||||
private String deductionRule;
|
||||
|
||||
/**
|
||||
* 食堂ID
|
||||
*/
|
||||
@Schema(title ="食堂ID")
|
||||
private String canteenId;
|
||||
|
||||
@Schema(title = "是否使用支持外部人员就餐(0:不支持,1:支持)")
|
||||
private Integer isExternalDineFlag;
|
||||
|
||||
@Schema(title = "是否支持透支消费(0:不支持,1:支持)")
|
||||
private Integer isOverdraftDine;
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* use shuwei code generator created
|
||||
*/
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.jeecg.payment.entity.StClientMemberLevelDemotionTime;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 视图实体类
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Tag(name= "StClientMemberLevelDemotionTimeVO对象", description = "StClientMemberLevelDemotionTimeVO对象")
|
||||
public class StClientMemberLevelDemotionTimeVO extends StClientMemberLevelDemotionTime {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(title ="新增/修改参数")
|
||||
private String hourMinuteStr;
|
||||
|
||||
@Schema(title ="当前页")
|
||||
private Integer pageNo;
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
/**
|
||||
* 启用=1,禁用=0
|
||||
*/
|
||||
@Schema(title ="启用=1,禁用=0")
|
||||
private Integer isEnable;
|
||||
|
||||
/**
|
||||
* 等级规则1
|
||||
*/
|
||||
//储值规则
|
||||
@Schema(title ="储值规则")
|
||||
private List<StMemberLevelStoredVO> storedVOS;
|
||||
//积分抵现规则
|
||||
@Schema(title ="积分抵现规则")
|
||||
private StMemberLevelIntegralVO integralVO;
|
||||
//单笔积分抵扣上限规则
|
||||
@Schema(title ="单笔积分抵扣上限规则")
|
||||
private StMemberLevelSingleVO singleVO;
|
||||
//积分清零规则
|
||||
@Schema(title ="积分清零规则")
|
||||
private StMemberLevelResetVO resetVO;
|
||||
//积分清零短信提示规则
|
||||
@Schema(title ="积分清零短信提示规则")
|
||||
private StMemberLevelResetMessageVO resetMessageVO;
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author Ls.
|
||||
* @date 2021/7/13.
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberSpendDTO {
|
||||
@Schema(title = "必填:用户id")
|
||||
private String id;
|
||||
|
||||
@Schema(title = "必填:订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Schema(title = "消费金额")
|
||||
private BigDecimal spendMoney;
|
||||
|
||||
@Schema(title = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "已开发票:false未开 true已开")
|
||||
private Boolean invoice;
|
||||
|
||||
|
||||
@Schema(title = "食堂ID")
|
||||
private String canteenId;
|
||||
|
||||
|
||||
//扣费钱包信息
|
||||
private StMiniMineBalanceVo miniMineBalanceVo;
|
||||
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberSpendDataVO {
|
||||
|
||||
@Schema(title ="本次消费金额(固定/固定+补贴模式的 固定金额,按量扣费模式的 实际扣费金额)")
|
||||
private BigDecimal spendMoney;
|
||||
|
||||
@Schema(title ="补贴金额(固定+补贴模式下)")
|
||||
private BigDecimal rewardDeduction;
|
||||
|
||||
@Schema(title ="原订单费用总计(一次扣费模式=固定/固定+补贴,按量扣费模式=实际金额)")
|
||||
private BigDecimal totalDeduction;
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
public class StClientMemberSpendVO {
|
||||
@Schema(title ="消费状态")
|
||||
private Boolean success;
|
||||
@Schema(title ="返回信息")
|
||||
private String msg;
|
||||
@Schema(title ="应补差额(食堂开启透支模式,差价金额)")
|
||||
private BigDecimal priceSpread;
|
||||
|
||||
@Schema(title ="本次消费金额(固定/固定+补贴模式的 固定金额,按量扣费模式的 实际扣费金额)")
|
||||
private BigDecimal spendMoney;
|
||||
|
||||
@Schema(title ="补贴金额(固定+补贴模式下)")
|
||||
private BigDecimal preferentialPrice;
|
||||
|
||||
@Schema(title ="本次消费后余额")
|
||||
private BigDecimal balance;
|
||||
|
||||
|
||||
@Schema(name = "当前用户姓名")
|
||||
private String realname;
|
||||
|
||||
|
||||
@Schema(title ="当前用户工号")
|
||||
private String workNo;
|
||||
|
||||
@Schema(name = "支付用户姓名")
|
||||
private String payRealname;
|
||||
|
||||
|
||||
@Schema(title ="支付用户工号")
|
||||
private String payWorkNo;
|
||||
|
||||
|
||||
@Schema(title ="补偿订单id")
|
||||
private String orderId;
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.system.base.entity.JeecgEntity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 交易记录表
|
||||
*/
|
||||
|
||||
@Data
|
||||
|
||||
public class StClientMemberTransactionRecordFeignVO extends JeecgEntity {
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@TableField(value = "member_id")
|
||||
@Schema(title ="会员id")
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 交易流水号
|
||||
*/
|
||||
@TableField(value = "serial_no")
|
||||
@Schema(title ="交易流水号")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@TableField(value = "order_no")
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 操作类型:1消费2充值
|
||||
*/
|
||||
@TableField(value = "status")
|
||||
@Schema(title ="操作类型:MemberTransactionTypeEnum枚举类")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 交易金额
|
||||
*/
|
||||
@TableField(value = "transaction_amount")
|
||||
@Schema(title ="交易金额")
|
||||
private BigDecimal transactionAmount;
|
||||
|
||||
/**
|
||||
* 结账方式:0卡余额1自定义记账-前台码2微信3支付宝4前台码
|
||||
*/
|
||||
// @TableField(value = "payment_method")
|
||||
// @Schema(title ="结账/退回方式:0卡余额1现金2微信3支付宝4前台码")
|
||||
// private Integer paymentMethod;
|
||||
|
||||
/**
|
||||
* 储值余额变动
|
||||
*/
|
||||
// @TableField(value = "stored_balance")
|
||||
// @Schema(title ="储值余额变动")
|
||||
// private BigDecimal storedBalance;
|
||||
|
||||
/**
|
||||
* 奖励余额变动
|
||||
*/
|
||||
// @TableField(value = "reward_balance")
|
||||
@Schema(title ="奖励余额变动")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
/**
|
||||
* 积分余额变动
|
||||
*/
|
||||
// @TableField(value = "integral_balance")
|
||||
// @Schema(title ="积分变动")
|
||||
// private Integer integralBalance;
|
||||
|
||||
@Schema(title ="可用余额:充值余额+奖励")
|
||||
private BigDecimal availableBalance;
|
||||
|
||||
/**
|
||||
* 结账时间
|
||||
*/
|
||||
// @TableField(value = "pay_time")
|
||||
@Schema(title ="结账时间")
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 操作端:0后台1前端
|
||||
*/
|
||||
// @TableField(value = "update_status")
|
||||
// @Schema(title ="操作端:0后台1前端")
|
||||
// private Integer updateStatus;
|
||||
|
||||
// @Schema(title ="备注")
|
||||
// private String remark;
|
||||
|
||||
// @Schema(title ="提成人")
|
||||
// private String rewardUserNo;
|
||||
|
||||
// @Schema(title ="已开发票:false未开 true已开")
|
||||
// private boolean isInvoice;
|
||||
|
||||
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String COL_ID = "id";
|
||||
|
||||
public static final String COL_MEMBER_ID = "member_id";
|
||||
|
||||
public static final String COL_SERIAL_NO = "serial_no";
|
||||
|
||||
public static final String COL_ORDER_NO = "order_no";
|
||||
|
||||
public static final String COL_STATUS = "status";
|
||||
|
||||
public static final String COL_TRANSACTION_AMOUNT = "transaction_amount";
|
||||
|
||||
public static final String COL_PAYMENT_METHOD = "payment_method";
|
||||
|
||||
public static final String COL_STORED_BALANCE = "stored_balance";
|
||||
|
||||
public static final String COL_REWARD_BALANCE = "reward_balance";
|
||||
|
||||
public static final String COL_INTEGRAL_BALANCE = "integral_balance";
|
||||
|
||||
public static final String COL_PAY_TIME = "pay_time";
|
||||
|
||||
public static final String COL_UPDATE_STATUS = "update_status";
|
||||
|
||||
public static final String COL_CREATE_USER_NO = "create_user_no";
|
||||
|
||||
public static final String COL_CREATE_TIME = "create_time";
|
||||
|
||||
public static final String COL_UPDATE_USER_NO = "update_user_no";
|
||||
|
||||
public static final String COL_UPDATE_TIME = "update_time";
|
||||
|
||||
public static final String COL_IS_DEL = "is_del";
|
||||
|
||||
public static final String COL_EA_ID = "canteen_id";
|
||||
}
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.util.BigDecimalSerialize;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
流水明细
|
||||
*/
|
||||
@Tag(name= "StClientMemberTransactionRecordVO对象", description = "流水明细")
|
||||
@Data
|
||||
public class StClientMemberTransactionRecordVO {
|
||||
@Schema(title ="id")
|
||||
private String id;
|
||||
|
||||
@Schema(title ="交易流水号")
|
||||
private String serialNo;
|
||||
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Schema(title ="操作类型")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="操作类型名称")
|
||||
private String statusName;
|
||||
|
||||
@Schema(title ="交易金额")//余额退款时表示:实际退款金额
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal transactionAmount;
|
||||
|
||||
@Schema(title ="结账方式:0卡余额1现金2微信3支付宝4前台码,5充值明细导入")
|
||||
private Integer paymentMethod;
|
||||
|
||||
@Schema(title ="结账方式:名称")
|
||||
private String paymentMethodName;
|
||||
|
||||
@Schema(title ="储值余额")//余额退款时表示:充值余额
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal storedBalance;
|
||||
|
||||
@Schema(title ="奖励余额")//余额退款时表示:赠送余额
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="可用余额:充值余额+奖励")//余额退款时表示:累计充值总额=充值+赠送
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal availableBalance;
|
||||
|
||||
@Schema(title ="消费金额")//余额退款时表示:实际消费金额
|
||||
@JsonSerialize(using = BigDecimalSerialize.class)
|
||||
private BigDecimal monetary;
|
||||
|
||||
@Schema(title ="积分余额")
|
||||
private Integer integralBalance;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@Schema(title ="结账时间")
|
||||
private Date payTime;
|
||||
|
||||
@Schema(title ="操作端:0后台1前端")
|
||||
private Integer updateStatus;
|
||||
|
||||
@Schema(title ="操作端名称:0后台1前端")
|
||||
private String updateStatusName;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@Schema(title ="交易时间")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(title = "支付会员姓名")
|
||||
private String payUserName;
|
||||
|
||||
@Schema(title ="会员姓名")
|
||||
private String userName;
|
||||
|
||||
@Schema(title ="会员电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(title ="工号")
|
||||
private String workNo;
|
||||
|
||||
@Schema(title ="操作人")
|
||||
private String createOne;
|
||||
|
||||
@Schema(title ="提成人")
|
||||
private String rewardUserNo;
|
||||
|
||||
@Schema(title ="卡号")
|
||||
private String cardCode;
|
||||
|
||||
@Schema(title ="扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费,4:自定义金额)")
|
||||
private Integer businessModel;
|
||||
|
||||
@Schema(title ="扣费类型(1:固定扣费,2:固定+补贴扣费,3:按量扣费,4:自定义金额)")
|
||||
private String businessModelName;
|
||||
|
||||
@Schema(title ="食堂名称")
|
||||
private String restName;
|
||||
|
||||
@Schema(title ="餐次名称")
|
||||
private String dinnerType;
|
||||
|
||||
@Schema(title ="部门名称")
|
||||
private String deptName;
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
public class StEatFoodInfoVo {
|
||||
|
||||
@Schema(title ="菜品id")
|
||||
private String foodId;
|
||||
@Schema(title ="菜品名称")
|
||||
private String foodName;
|
||||
@Schema(title ="规格名称")
|
||||
private String specName;
|
||||
@Schema(title ="食用数量")
|
||||
private String num;
|
||||
@Schema(title ="类型 0普通 1赠菜 2退菜 3加菜")
|
||||
private String type;
|
||||
@Schema(title ="菜品实际支付价格")
|
||||
private String price;
|
||||
@Schema(title ="菜品图片")
|
||||
private String relativeUrl;
|
||||
//订单id
|
||||
private Integer orderId;
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 扣费类规则
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberDeductRuleVO对象",description = "扣费类规则")
|
||||
public class StMemberDeductRuleVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 早餐
|
||||
*/
|
||||
@Schema(title ="早餐")
|
||||
private StMemberDeductUserTypeRuleVO breakfast;
|
||||
|
||||
/**
|
||||
* 午餐
|
||||
*/
|
||||
@Schema(title ="午餐")
|
||||
private StMemberDeductUserTypeRuleVO lunch;
|
||||
|
||||
/**
|
||||
* 晚餐
|
||||
*/
|
||||
@Schema(title ="晚餐")
|
||||
private StMemberDeductUserTypeRuleVO dinner;
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 扣除类规则
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberDeductTypeOfAuditorRuleVO对象",description = "扣除类规则")
|
||||
public class StMemberDeductTypeOfAuditorRuleVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 总扣除(元)
|
||||
*/
|
||||
@Schema(title ="总扣除(元)")
|
||||
private Float totalDeduction;
|
||||
|
||||
/**
|
||||
* 固定扣除(元)
|
||||
*/
|
||||
@Schema(title ="固定扣除(元)")
|
||||
private Float fixedDeduction;
|
||||
|
||||
/**
|
||||
* 补贴扣减(元)
|
||||
*/
|
||||
@Schema(title ="补贴扣减(元)")
|
||||
private Float rewardDeduction;
|
||||
|
||||
/**
|
||||
* 比例扣减(%)
|
||||
*/
|
||||
@Schema(title ="比例扣减(%)")
|
||||
private Float ratioDeduction;
|
||||
|
||||
/**
|
||||
* 1:补贴扣减,2:比例扣减
|
||||
*/
|
||||
private int type;
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 扣费人员类型
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberDeductBreakfastRuleVO对象",description = "扣费人员类型")
|
||||
public class StMemberDeductUserTypeRuleVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 内部人员
|
||||
*/
|
||||
@Schema(title ="内部人员")
|
||||
private StMemberDeductTypeOfAuditorRuleVO inner;
|
||||
|
||||
/**
|
||||
* 外部人员
|
||||
*/
|
||||
@Schema(title ="外部人员")
|
||||
private StMemberDeductTypeOfAuditorRuleVO external;
|
||||
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 积分抵现规则类
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberLevelRuleIntegralVO对象",description = "积分抵现规则")
|
||||
public class StMemberLevelIntegralVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* 是否打开
|
||||
*/
|
||||
@Schema(title ="是否开启:1是/0否")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 抵现积分
|
||||
*/
|
||||
@Schema(title ="抵现积分")
|
||||
private Integer integralCount;
|
||||
|
||||
/**
|
||||
* 抵现金额
|
||||
*/
|
||||
@Schema(title ="抵现金额")
|
||||
private Float deductionAmount;
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 积分清零短信提示
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberLevelRuleResetMessageVO对象",description = "积分清零短信提示规则")
|
||||
public class StMemberLevelResetMessageVO {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* 是否打开
|
||||
*/
|
||||
@Schema(title ="是否开启:1是/0否")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 清零前多少天提示
|
||||
*/
|
||||
@Schema(title ="清零前多少天提示")
|
||||
private Integer resetBeforeDay;
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 积分清零类
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberLevelRuleResetVO对象",description = "积分清零规则")
|
||||
public class StMemberLevelResetVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* 是否打开
|
||||
*/
|
||||
@Schema(title ="是否开启:1是/0否")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 关闭月份
|
||||
*/
|
||||
@Schema(title ="关闭月份")
|
||||
private Integer iMonth;
|
||||
|
||||
/**
|
||||
* 关闭天
|
||||
*/
|
||||
@Schema(title ="关闭天")
|
||||
private Integer iDay;
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 单笔订单积分抵现上限规则类
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberLevelRuleSingleVO对象",description = "单笔订单积分抵现上限规则")
|
||||
public class StMemberLevelSingleVO {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* 是否打开
|
||||
*/
|
||||
@Schema(title ="是否开启:1是/0否")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 积分抵扣 or 按比例抵扣
|
||||
*/
|
||||
@Schema(title ="积分抵扣上限1/抵扣上限比例为应收2")
|
||||
private Integer iPattern;
|
||||
|
||||
/**
|
||||
* 积分抵扣个数/抵扣比例(%)
|
||||
*/
|
||||
@Schema(title ="积分抵扣个数/抵扣比例(%)")
|
||||
private Float iUpperOrScale;
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 储值规则类
|
||||
*/
|
||||
@Data
|
||||
@Tag(name= "StMemberLevelRuleStoredVO对象", description = "储值规则")
|
||||
public class StMemberLevelStoredVO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 充值金额
|
||||
*/
|
||||
@Schema(title ="充值金额")
|
||||
private Float rechargePresenter;
|
||||
|
||||
/**
|
||||
* 赠送金额
|
||||
*/
|
||||
@Schema(title ="赠送金额/比例")
|
||||
private Float rewardAmount;
|
||||
|
||||
/**
|
||||
* 赠送积分
|
||||
*/
|
||||
@Schema(title ="赠送积分")
|
||||
private Integer rewardIntegral;
|
||||
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Data
|
||||
public class StMemberOperationTypeVO {
|
||||
private String code;
|
||||
private String name;
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
public class StMiniMineBalanceVo {
|
||||
|
||||
//=================主用户=====
|
||||
//钱包主键ID
|
||||
private String id;
|
||||
//余额
|
||||
private String balance;
|
||||
//积分
|
||||
private Integer integralBalance;
|
||||
//用户类型:内部用户(正式员工)=0,外部用户(非正式员工+家庭用户)=1
|
||||
private Integer userInnerType;
|
||||
//会员等级id
|
||||
private String levelId;
|
||||
//余额退款状态:0=无退款审核中状态,1:=退款审核中
|
||||
private String refundStatus;
|
||||
//储值规则
|
||||
private List<StMemberLevelStoredVO> storedVOS;
|
||||
/**
|
||||
* 用户状态 1正常 2作废
|
||||
*/
|
||||
private Integer userStatus;
|
||||
//支付用户会员id
|
||||
private String memberId;
|
||||
|
||||
//本次消费金额
|
||||
private BigDecimal amountThis;
|
||||
|
||||
@Schema(name = "支付用户姓名")
|
||||
private String payRealname;
|
||||
|
||||
|
||||
@Schema(title ="支付用户工号")
|
||||
private String payWorkNo;
|
||||
|
||||
@Schema(title ="二次提醒")
|
||||
private Boolean secondReminder;
|
||||
|
||||
//支付主用户删除状态
|
||||
private Integer payDelFlag;
|
||||
|
||||
/**
|
||||
* 卡号
|
||||
*/
|
||||
private String cardCode;
|
||||
|
||||
/**
|
||||
* 卡号状态(1:正常 , 2:挂失)
|
||||
*/
|
||||
private Integer cardCodeStatus;
|
||||
|
||||
//================当前用户=================
|
||||
|
||||
@Schema(title = "当前用户ID")
|
||||
private String userId;
|
||||
|
||||
//用户状态 用户状态 1正常 2作废
|
||||
private Integer status;
|
||||
|
||||
//用户删除状态
|
||||
private Integer delFlag;
|
||||
|
||||
@Schema(name = "当前用户姓名")
|
||||
private String realname;
|
||||
|
||||
|
||||
@Schema(title ="当前用户工号")
|
||||
private String workNo;
|
||||
|
||||
//用户类型(0:正式员工, 1:非正式员工,2:家庭用户)
|
||||
private Integer userType;
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
public class StMinisIntegralBalanceVo {
|
||||
|
||||
//余额
|
||||
private String balance;
|
||||
//积分
|
||||
private String integral;
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class StRecordListInfo {
|
||||
|
||||
@Schema(title ="状态名称")
|
||||
private String name;
|
||||
|
||||
private Integer status;
|
||||
|
||||
@Schema(title ="订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Schema(title ="交易金额")
|
||||
private BigDecimal transactionAmount;
|
||||
|
||||
@Schema(title ="赠送金额")
|
||||
private BigDecimal rewardBalance;
|
||||
|
||||
@Schema(title ="可用余额")
|
||||
private BigDecimal availableBalance;
|
||||
|
||||
@Schema(title ="结账时间")
|
||||
private String payTime;
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class StRecordListVo {
|
||||
|
||||
@Schema(title ="年月")
|
||||
private String date;
|
||||
@Schema(title ="记录列表")
|
||||
private List<StRecordListInfo> recordListInfoList;
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author lianlonggang
|
||||
* @date 2022/4/19 11:48
|
||||
* @throws
|
||||
* @since
|
||||
*/
|
||||
@Data
|
||||
public class StRfidVo {
|
||||
// @NotEmpty(message = "用户ID不能为空")
|
||||
private String userId;
|
||||
@NotEmpty(message = "设备编码不能为空")
|
||||
private String deviceCode;
|
||||
@NotEmpty(message = "食堂ID不能为空")
|
||||
private String restId;
|
||||
/**
|
||||
* 卡号
|
||||
*/
|
||||
private String cardCode;
|
||||
/**
|
||||
* 闸机记录的支付唯一id(用于判断防止重复支付的标记)
|
||||
*/
|
||||
private String payId;
|
||||
|
||||
//===离线扣费场景参数
|
||||
//消费时间(时间戳)
|
||||
private String dateTime;
|
||||
|
||||
//本次扣费金额(后端根据规则计算)
|
||||
private BigDecimal spendMoney;
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lianlonggang
|
||||
* @date 2022/4/19 11:48
|
||||
* @throws
|
||||
* @since
|
||||
*/
|
||||
@Data
|
||||
public class StRfidoffLineVo {
|
||||
private String deviceCode;
|
||||
private String restId;
|
||||
List<StRfidVo> voList;
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
package org.jeecg.payment.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author he
|
||||
*/
|
||||
@Data
|
||||
public class StatisticsTheAmountSpentVo {
|
||||
/** 食堂id */
|
||||
private String canteenId;
|
||||
/** 食堂名称 */
|
||||
private String restName;
|
||||
/** 消费人次 || 消费次数 */
|
||||
private BigDecimal totalCount;
|
||||
/** 消费人数 || 消费天数*/
|
||||
private BigDecimal totalNum;
|
||||
/** 消费总额 (用户实付金额)*/
|
||||
private BigDecimal customerPrice;
|
||||
/** 纠错次数 */
|
||||
private BigDecimal correctionCount;
|
||||
/** 纠错合计 */
|
||||
private BigDecimal correctionValue;
|
||||
/** 早餐 消费金额 */
|
||||
private BigDecimal breakfastAmount;
|
||||
/** 早餐 消费次数 */
|
||||
private BigDecimal breakfastPerson;
|
||||
/** 午餐 消费金额 */
|
||||
private BigDecimal lunchAmount;
|
||||
/** 午餐 消费次数 */
|
||||
private BigDecimal lunchPerson;
|
||||
/** 晚餐 消费金额 */
|
||||
private BigDecimal dinnerAmount;
|
||||
/** 晚餐 消费次数 */
|
||||
private BigDecimal dinnerPerson;
|
||||
/** 其他 消费金额 */
|
||||
private BigDecimal otherAmount;
|
||||
/** 其他 消费次数 */
|
||||
private BigDecimal otherPerson;
|
||||
/** 结算金额(订单金额) */
|
||||
private BigDecimal orderPrice;
|
||||
/** 日期 */
|
||||
private String eatDay;
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String realname;
|
||||
/**
|
||||
* 支付用户姓名
|
||||
*/
|
||||
private String payRealname;
|
||||
/**
|
||||
* 部门
|
||||
*/
|
||||
private String departName;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private String memberId;
|
||||
/**
|
||||
* 工号
|
||||
*/
|
||||
private String workNo;
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package org.jeecg.payment.vo;///**
|
||||
// * use shuwei code generator created
|
||||
// */
|
||||
//package org.jeecg.modules.payment.vo;
|
||||
//
|
||||
//
|
||||
//
|
||||
//import lombok.Data;
|
||||
//import lombok.EqualsAndHashCode;
|
||||
//import org.jeecg.payment.entity.SwBbzxOrderInfo;
|
||||
//
|
||||
//import java.util.List;
|
||||
//
|
||||
///**
|
||||
// * 报表中心-店内订单视图实体类
|
||||
// */
|
||||
//@Data
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Tag(name= "SwBbzxOrderInfoVO对象", description = "报表中心-店内订单")
|
||||
//public class SwBbzxOrderInfoVO extends SwBbzxOrderInfo {
|
||||
// private static final long serialVersionUID = 1L;
|
||||
//
|
||||
// @Schema(title ="门店名称")
|
||||
// private String eaName;
|
||||
//
|
||||
// @Schema(title ="会员名称")
|
||||
// private String memberName;
|
||||
//
|
||||
// /**
|
||||
// 订单来源(1平板端 、2收银端、3自助点餐机、4小程序、5自助餐)
|
||||
// */
|
||||
// @Schema(title ="订单来源(1平板端 、2收银端、3自助点餐机、4小程序、5自助餐)")
|
||||
// private String orderFromName;
|
||||
//
|
||||
// @Schema(title ="下单人")
|
||||
// private String placeOrderUser;
|
||||
//
|
||||
// //预订信息
|
||||
// private SwBbzxReadyInfoVO readyInfoVO;
|
||||
//
|
||||
// //食物对象
|
||||
// private List<SwBbzxOrderInfoFoodVO> swBbzxOrderInfoFoodList;
|
||||
//
|
||||
// //支付对象
|
||||
// private List<SwBbzxOrderInfoPay> swBbzxOrderInfoPayList;
|
||||
//
|
||||
// //日志对象
|
||||
// private List<SwBbzxOrderInfoLog> swBbzxOrderInfoLogList;
|
||||
//
|
||||
// //折扣对象
|
||||
// private List<SwBbzxOrderInfoFoodDiscounts> swBbzxOrderInfoFoodDiscounts;
|
||||
//
|
||||
// //反结账对象
|
||||
// private List<SwBbzxOrderInfoAnti> swBbzxOrderInfoAntis;
|
||||
//
|
||||
//// private List<BoxInfo> boxInfoList;
|
||||
//
|
||||
//}
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
package org.jeecg.restaurant.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 食堂餐次定义
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-03-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_base_dinner_time")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_base_dinner_time对象", description="食堂餐次定义")
|
||||
public class SlBaseDinnerTime implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Schema(title = "主键")
|
||||
private java.lang.Integer id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private java.lang.String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private java.lang.String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private java.lang.String sysOrgCode;
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15, dictTable = "st_base_restaurant", dicText = "rest_name", dicCode = "id")
|
||||
@Dict(dictTable = "st_base_restaurant", dicText = "rest_name", dicCode = "id")
|
||||
@Schema(title = "食堂id")
|
||||
private java.lang.String restId;
|
||||
/**餐次定义*/
|
||||
@Excel(name = "餐次定义", width = 15)
|
||||
@Schema(title = "餐次定义")
|
||||
private java.lang.String dinnerType;
|
||||
/**起始小时(含)*/
|
||||
@Excel(name = "起始小时(含)", width = 15)
|
||||
@Schema(title = "起始小时(含)")
|
||||
private java.lang.String startTime;
|
||||
/**结束小时(不含)*/
|
||||
@Excel(name = "结束小时(不含)", width = 15)
|
||||
@Schema(title = "结束小时(不含)")
|
||||
private java.lang.String endTime;
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
package org.jeecg.restaurant.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 食堂基本信息
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-03-16
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_base_restaurant")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_base_restaurant对象", description="食堂基本信息")
|
||||
public class SlBaseRestaurant implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private String sysOrgCode;
|
||||
/**食堂名称*/
|
||||
@Excel(name = "食堂名称", width = 15)
|
||||
@Schema(title = "食堂名称")
|
||||
private String restName;
|
||||
/**食堂编号*/
|
||||
@Excel(name = "食堂编号", width = 15)
|
||||
@Schema(title = "食堂编号")
|
||||
private String restNo;
|
||||
/**食堂所属单位*/
|
||||
@Excel(name = "食堂所属单位", width = 15)
|
||||
@Schema(title = "食堂所属单位")
|
||||
private String restDepart;
|
||||
/**食堂地址*/
|
||||
@Excel(name = "食堂地址", width = 15)
|
||||
@Schema(title = "食堂地址")
|
||||
private String restAddr;
|
||||
/**食堂联系人*/
|
||||
@Excel(name = "食堂联系人", width = 15)
|
||||
@Schema(title = "食堂联系人")
|
||||
private String restContecter;
|
||||
/**食堂联系电话*/
|
||||
@Excel(name = "食堂联系电话", width = 15)
|
||||
@Schema(title = "食堂联系电话")
|
||||
private String restPhone;
|
||||
/**备注信息*/
|
||||
@Excel(name = "备注信息", width = 15)
|
||||
@Schema(title = "备注信息")
|
||||
private String restRemark;
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
@Schema(title = "是否使用三减终端(0:不使用,1:使用)")
|
||||
private Boolean isThreeMinus;
|
||||
|
||||
@Schema(title = "是否使用支持外部人员就餐(0:不支持,1:支持)")
|
||||
private Integer isExternalDine;
|
||||
|
||||
@Schema(title = "是否支持透支消费(0:不支持,1:支持)")
|
||||
private Integer isOverdraftDine;
|
||||
|
||||
@Schema(title = "是否开启使用前端结算金额(0:不启用,1:启用)")
|
||||
private Integer isHeadendSettlement;
|
||||
|
||||
@Schema(title = "前端结算价格浮动元(当开启使用前端结算金额isHeadendSettlement=1时:后端价格和前端价格上下相差不超过此金额,优先采用前端价格,否则采取后台价格)")
|
||||
private BigDecimal headendSettlementFloat;
|
||||
|
||||
/**
|
||||
* 食堂地址 纬度
|
||||
*/
|
||||
@Schema(title = "食堂地址 纬度")
|
||||
private String addressLatitude;
|
||||
/**
|
||||
* 食堂地址 经度
|
||||
*/
|
||||
@Schema(title = "食堂地址 经度")
|
||||
private String addressLongitude;
|
||||
/**
|
||||
*健康管理员
|
||||
*/
|
||||
@Schema(title = "健康管理员")
|
||||
private String healthAdminName;
|
||||
/**
|
||||
*健康管理员电话
|
||||
*/
|
||||
@Schema(title = "健康管理员电话")
|
||||
private String healthPhone;
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 当日经营-各餐统计数据
|
||||
*/
|
||||
@Data
|
||||
public class RestaurantBusinessEatTimeVo {
|
||||
|
||||
@Schema(title = "餐次名称")
|
||||
private String eatTimeName;
|
||||
|
||||
@Schema(title = "餐次各项数据集合")
|
||||
private List<RestaurantBusinessSumVo> businessSumVoList;
|
||||
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 当日经营-数据汇总
|
||||
*/
|
||||
@Data
|
||||
public class RestaurantBusinessSumVo {
|
||||
|
||||
@Schema(title = "数据汇总指标")
|
||||
private String valueName;
|
||||
|
||||
@Schema(title = "数据汇总指标单位")
|
||||
private String valueUnit;
|
||||
|
||||
@Schema(title = "数据汇总指值")
|
||||
private Double value;
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SIBaseRestaurantSumTotalVo {
|
||||
|
||||
//总人数
|
||||
private String totalNum;
|
||||
//总制作量
|
||||
private String initialTotal;
|
||||
//单餐
|
||||
private List<StUserFoodInfoVo> list;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import org.jeecg.restaurant.entity.SlBaseDinnerTime;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 食堂餐次定义
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-03-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
public class SlBaseDinnerTimeVO implements Serializable {
|
||||
|
||||
private List<SlBaseDinnerTime> dineTimes;
|
||||
|
||||
private boolean dayShow;
|
||||
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SlBaseRestaurantBusinessVo {
|
||||
|
||||
@Schema(title = "食堂id")
|
||||
private String restaurantId;
|
||||
|
||||
/**开始日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "开始日期")
|
||||
private Date startTime;
|
||||
|
||||
/**结束日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "结束日期")
|
||||
private Date endTime;
|
||||
|
||||
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.restaurant.entity.SlBaseDinnerTime;
|
||||
import org.jeecg.restaurant.entity.SlBaseRestaurant;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SlBaseRestaurantVo extends SlBaseRestaurant {
|
||||
|
||||
@Schema(title = "登陆账号")
|
||||
private String username;
|
||||
|
||||
@Schema(title = "密码")
|
||||
private String password;
|
||||
|
||||
@Schema(title = "角色组")
|
||||
private String roleId;
|
||||
|
||||
@Schema(title = "权限名称")
|
||||
private String restDepartName;
|
||||
|
||||
@Schema(title = "餐次定义数组对象")
|
||||
private List<SlBaseDinnerTime> slBaseDinnerTimeList;
|
||||
|
||||
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 食堂反馈表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-07-21
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_restaurant_feedback对象", description="食堂反馈表")
|
||||
public class StRestaurantFeedbackAddVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15)
|
||||
@Schema(title = "食堂id")
|
||||
private String restaurantId;
|
||||
/**反馈内容*/
|
||||
@Excel(name = "反馈内容", width = 15)
|
||||
@Schema(title = "反馈内容")
|
||||
private String feedbackContent;
|
||||
/**用户id*/
|
||||
@Excel(name = "用户id", width = 15)
|
||||
@Schema(title = "用户id")
|
||||
private String userId;
|
||||
/**反馈类型*/
|
||||
@Excel(name = "反馈类型", width = 15)
|
||||
@Schema(title = "反馈类型")
|
||||
private String feedbackType;
|
||||
@Schema(title = "反馈图片集合")
|
||||
private List<String> imgList;
|
||||
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 食堂反馈回复记录表VO
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-07-21
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_restaurant_feedback_reply对象VO", description="食堂反馈回复记录表VO")
|
||||
public class StRestaurantFeedbackReplyVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private String sysOrgCode;
|
||||
/**反馈id*/
|
||||
@Excel(name = "反馈id", width = 15)
|
||||
@Schema(title = "反馈id")
|
||||
private String feedbackId;
|
||||
/**回复内容*/
|
||||
@Excel(name = "回复内容", width = 15)
|
||||
@Schema(title = "回复内容")
|
||||
private String replyContent;
|
||||
/**回复图片*/
|
||||
@Excel(name = "回复图片", width = 15)
|
||||
@Schema(title = "回复图片")
|
||||
private String replyImg;
|
||||
/**用户id*/
|
||||
@Excel(name = "用户id", width = 15)
|
||||
@Schema(title = "用户id")
|
||||
private String userId;
|
||||
/**用户名称*/
|
||||
@Excel(name = "用户名称", width = 15)
|
||||
@Schema(title = "用户名称")
|
||||
private String userName;
|
||||
/**用户类型(0:用户,1:管理员)*/
|
||||
@Excel(name = "用户类型(0:用户,1:管理员)", width = 15)
|
||||
@Schema(title = "用户类型(0:用户,1:管理员)")
|
||||
private Integer userType;
|
||||
/**用户名*/
|
||||
@Excel(name = "头像", width = 15)
|
||||
@Schema(title = "头像")
|
||||
private String avatar;
|
||||
|
||||
@Schema(title = "反馈图片")
|
||||
private List<String> imgList;
|
||||
|
||||
@Schema(title = "反馈缩略图片")
|
||||
private List<String> imgListSmall;
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 食堂反馈表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-07-21
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name="st_restaurant_feedback对象", description="食堂反馈表")
|
||||
public class StRestaurantFeedbackVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**创建人*/
|
||||
@Schema(title = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
@Schema(title = "更新人")
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
/**所属部门*/
|
||||
@Schema(title = "所属部门")
|
||||
private String sysOrgCode;
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15)
|
||||
@Schema(title = "食堂id")
|
||||
private String restaurantId;
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂名称", width = 15)
|
||||
@Schema(title = "食堂名称")
|
||||
private String restaurantName;
|
||||
/**反馈内容*/
|
||||
@Excel(name = "反馈内容", width = 15)
|
||||
@Schema(title = "反馈内容")
|
||||
private String feedbackContent;
|
||||
@Schema(title = "反馈内容-缩略文字")
|
||||
private String feedbackContentBreviary;
|
||||
/**用户id*/
|
||||
@Excel(name = "用户id", width = 15)
|
||||
@Schema(title = "用户id")
|
||||
private String userId;
|
||||
|
||||
/**用户名称*/
|
||||
@Excel(name = "用户名称", width = 15)
|
||||
@Schema(title = "用户名称")
|
||||
private String userName;
|
||||
/**反馈类型*/
|
||||
@Excel(name = "反馈类型", width = 15)
|
||||
@Schema(title = "反馈类型")
|
||||
private String feedbackType;
|
||||
|
||||
/**反馈类型名称*/
|
||||
@Excel(name = "反馈类型名称", width = 15)
|
||||
@Schema(title = "反馈类型名称")
|
||||
private String feedbackTypeName;
|
||||
|
||||
/**回复时间*/
|
||||
@Schema(title = "回复时间")
|
||||
private Date createTimeReply;
|
||||
|
||||
/**开始日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "开始日期")
|
||||
private Date startTime;
|
||||
|
||||
/**结束日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "结束日期")
|
||||
private Date endTime;
|
||||
|
||||
@Schema(title = "反馈图片集合")
|
||||
private List<String> imgList;
|
||||
|
||||
/**是否回复:1 已回复 0:未回复*/
|
||||
@Schema(title = "是否回复:1 已回复 0:未回复")
|
||||
private Integer isReply;
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
public class StUserFoodInfoVo {
|
||||
|
||||
@Schema(title = "制作量")
|
||||
private String initial;
|
||||
|
||||
@Schema(title = "餐品余量")
|
||||
private String surplus;
|
||||
|
||||
@Schema(title = "收残量")
|
||||
private String remnantTotal;
|
||||
|
||||
@Schema(title = "餐次名称")
|
||||
private String dinnerType;
|
||||
|
||||
@Schema(title = "就餐人数")
|
||||
private String num;
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package org.jeecg.restaurant.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author he
|
||||
*/
|
||||
@Data
|
||||
public class StatisticsBusinessVo {
|
||||
/** 食堂id */
|
||||
private String canteenId;
|
||||
/** 日期 */
|
||||
private String payTime;
|
||||
/** 食堂名称 */
|
||||
private String restName;
|
||||
/** 消费次数 */
|
||||
private BigDecimal totalCount;
|
||||
/** 消费合计*/
|
||||
private BigDecimal customerPrice;
|
||||
/** 充值合计 */
|
||||
private BigDecimal rechargeAmount;
|
||||
/** 退款合计*/
|
||||
private BigDecimal totalRefund;
|
||||
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package org.jeecg.statistics.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Tag(name="ActiveMq队列信息", description="ActiveMq队列信息")
|
||||
public class QueueViewMBeanVo {
|
||||
|
||||
|
||||
//System.out.println("队列的名称:" + queueBean.getName());
|
||||
private String name;
|
||||
//System.out.println("队列中剩余的消息数:" + queueBean.getQueueSize());
|
||||
private long queueSize;
|
||||
//System.out.println("消费者数:" + queueBean.getConsumerCount());
|
||||
private long consumerCount;
|
||||
//System.out.println("消息入队的数量:" + queueBean.getEnqueueCount());
|
||||
private long enqueueCount;
|
||||
//System.out.println("消息出队的数量:" + queueBean.getDequeueCount());
|
||||
private long dequeueCount;
|
||||
|
||||
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package org.jeecg.statistics.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Tag(name="ActiveMq队列信息", description="ActiveMq队列信息")
|
||||
public class StActiveMqQueueViewVo {
|
||||
|
||||
@Schema(title = "queue统计")
|
||||
List<QueueViewMBeanVo> queueViewMBeanList;
|
||||
|
||||
@Schema(title = "topic统计")
|
||||
List<TopicViewMBeanVo> topicViewMBeanList;
|
||||
|
||||
|
||||
@Schema(title = "离线持久话题订阅者统计")
|
||||
List<SubscriptionViewMBeanVo> subscriptionViewMBeanOffLineList;
|
||||
|
||||
|
||||
@Schema(title = "活跃持久话题订阅者统计")
|
||||
List<SubscriptionViewMBeanVo> subscriptionViewMBeanActiveList;
|
||||
|
||||
|
||||
@Schema(title = "活跃的非持久主题订阅者统计")
|
||||
List<SubscriptionViewMBeanVo> subscriptionViewMBeanActiveNonpersistentList;
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
package org.jeecg.statistics.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author qwer2
|
||||
*/
|
||||
@Data
|
||||
public class StEatFoodInfoVo {
|
||||
|
||||
/**
|
||||
* 所属单位
|
||||
*/
|
||||
private String departName;
|
||||
/**
|
||||
* 食堂名称
|
||||
*/
|
||||
private String restName;
|
||||
/**
|
||||
* 食堂编号
|
||||
*/
|
||||
private String restNo;
|
||||
/**
|
||||
* 餐品id
|
||||
*/
|
||||
private String foodId;
|
||||
/**
|
||||
* 餐品名称
|
||||
*/
|
||||
private String foodName;
|
||||
/**
|
||||
* 餐次
|
||||
*/
|
||||
private String dinnerType;
|
||||
/**
|
||||
* 荤素
|
||||
*/
|
||||
private String meatVege;
|
||||
/**
|
||||
* 凉热
|
||||
*/
|
||||
private String hotCold;
|
||||
/**
|
||||
* 制作量(kg)
|
||||
*/
|
||||
private BigDecimal initial;
|
||||
/**
|
||||
* 天
|
||||
*/
|
||||
private String days;
|
||||
/**
|
||||
* 取餐人数
|
||||
*/
|
||||
private int personNum;
|
||||
/**
|
||||
* 取用量
|
||||
*/
|
||||
private BigDecimal eatWeight;
|
||||
|
||||
private Integer goodsNumType;
|
||||
private Integer goodsNumMin;
|
||||
private Integer goodsNumMax;
|
||||
/**
|
||||
* 食材数
|
||||
*/
|
||||
private Integer goodsNum;
|
||||
|
||||
private String userId;
|
||||
private String canteenId;
|
||||
|
||||
private Integer pageNo;
|
||||
private Integer pageSize;
|
||||
/**
|
||||
* 部门id
|
||||
*/
|
||||
private String departId;
|
||||
|
||||
private String orgCode;
|
||||
|
||||
// 统计行相关 ↓ ↓ ↓
|
||||
/**
|
||||
* 热菜数量(去重)
|
||||
*/
|
||||
private String hotCount;
|
||||
/**
|
||||
* 量菜数量(去重)
|
||||
*/
|
||||
private String coldCount;
|
||||
/**
|
||||
* 荤菜数量(去重)
|
||||
*/
|
||||
private String meatCount;
|
||||
/**
|
||||
* 素菜数量(去重)
|
||||
*/
|
||||
private String vegeCount;
|
||||
/**
|
||||
* 食材总数
|
||||
*/
|
||||
private String totalGoodsNum;
|
||||
/**
|
||||
* 条数 食材总数/条数 = 平均食材数
|
||||
*/
|
||||
private String totalSize;
|
||||
|
||||
public StEatFoodInfoVo() {
|
||||
this.pageNo = 1;
|
||||
this.pageSize = 10;
|
||||
}
|
||||
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package org.jeecg.statistics.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Tag(name="ActiveMq队列信息", description="ActiveMq队列信息")
|
||||
public class SubscriptionViewMBeanVo {
|
||||
|
||||
//System.out.println("客户编号 :" + queueBean.getClientId());
|
||||
private String clientId;
|
||||
//System.out.println("订阅名称 :" + queueBean.getSubscriptionName());
|
||||
private String subscriptionName;
|
||||
//System.out.println("连接 ID :" + queueBean.getConnectionId());
|
||||
private String connectionId;
|
||||
//System.out.println("目的地 :" + queueBean.getDestinationName());
|
||||
private String destinationName;
|
||||
//System.out.println("选择器:" + queueBean.getSelector());
|
||||
private String selector;
|
||||
//System.out.println("待处理队列大小 :" + queueBean.getPendingQueueSize());
|
||||
private long pendingQueueSize;
|
||||
//System.out.println("调度队列大小:" + queueBean.getDispatchedQueueSize());
|
||||
private long dispatchedQueueSize;
|
||||
//System.out.println("调度柜台 :" + queueBean.getDispatchedCounter());
|
||||
private long dispatchedCounter;
|
||||
//System.out.println("排队计数器:" + queueBean.getEnqueueCounter());
|
||||
private long enqueueCounter;
|
||||
//System.out.println("出队计数器 :" + queueBean.getDequeueCounter());
|
||||
private long dequeueCounter;
|
||||
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package org.jeecg.statistics.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Tag(name="ActiveMq队列信息", description="ActiveMq队列信息")
|
||||
public class TopicViewMBeanVo {
|
||||
|
||||
|
||||
//System.out.println("队列的名称:" + queueBean.getName());
|
||||
private String name;
|
||||
//System.out.println("队列中剩余的消息数:" + queueBean.getQueueSize());
|
||||
private long queueSize;
|
||||
//System.out.println("消费者数:" + queueBean.getConsumerCount());
|
||||
private long consumerCount;
|
||||
//System.out.println("消息入队的数量:" + queueBean.getEnqueueCount());
|
||||
private long enqueueCount;
|
||||
//System.out.println("消息出队的数量:" + queueBean.getDequeueCount());
|
||||
private long dequeueCount;
|
||||
|
||||
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
package org.jeecg.system.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
|
||||
/**
|
||||
* 登录表单
|
||||
*
|
||||
* @Author scott
|
||||
* @since 2019-01-18
|
||||
*/
|
||||
@Tag(name="登录对象", description="登录对象")
|
||||
public class SysLoginModel {
|
||||
@Schema(title = "id")
|
||||
private String userId;
|
||||
@Schema(title = "账号")
|
||||
private String username;
|
||||
@Schema(title = "密码")
|
||||
private String password;
|
||||
@Schema(title = "验证码")
|
||||
private String captcha;
|
||||
@Schema(title = "验证码key")
|
||||
private String checkKey;
|
||||
|
||||
@Schema(title = "身份证号")
|
||||
private String idcard;
|
||||
|
||||
@Schema(title = "微信code")
|
||||
private String code;
|
||||
|
||||
@Schema(title = "时间戳")
|
||||
private String times;
|
||||
|
||||
public String getTimes() {
|
||||
return times;
|
||||
}
|
||||
|
||||
public void setTimes(String times) {
|
||||
this.times = times;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getIdcard() {
|
||||
return idcard;
|
||||
}
|
||||
|
||||
public void setIdcard(String idcard) {
|
||||
this.idcard = idcard;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getCaptcha() {
|
||||
return captcha;
|
||||
}
|
||||
|
||||
public void setCaptcha(String captcha) {
|
||||
this.captcha = captcha;
|
||||
}
|
||||
|
||||
public String getCheckKey() {
|
||||
return checkKey;
|
||||
}
|
||||
|
||||
public void setCheckKey(String checkKey) {
|
||||
this.checkKey = checkKey;
|
||||
}
|
||||
|
||||
}
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
package org.jeecg.system.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: gateway路由管理
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2020-05-26
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_gateway_route")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="sys_gateway_route对象", description="gateway路由管理")
|
||||
public class SysGatewayRoute implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String id;
|
||||
|
||||
/**routerKEy*/
|
||||
@ApiModelProperty(value = "路由ID")
|
||||
private String routerId;
|
||||
|
||||
/**服务名*/
|
||||
@Excel(name = "服务名", width = 15)
|
||||
@ApiModelProperty(value = "服务名")
|
||||
private String name;
|
||||
|
||||
/**服务地址*/
|
||||
@Excel(name = "服务地址", width = 15)
|
||||
@ApiModelProperty(value = "服务地址")
|
||||
private String uri;
|
||||
|
||||
/**
|
||||
* 断言配置
|
||||
*/
|
||||
private String predicates;
|
||||
|
||||
/**
|
||||
* 过滤配置
|
||||
*/
|
||||
private String filters;
|
||||
|
||||
/**是否忽略前缀0-否 1-是*/
|
||||
@Excel(name = "忽略前缀", width = 15)
|
||||
@ApiModelProperty(value = "忽略前缀")
|
||||
@Dict(dicCode = "yn")
|
||||
private Integer stripPrefix;
|
||||
|
||||
/**是否重试0-否 1-是*/
|
||||
@Excel(name = "是否重试", width = 15)
|
||||
@ApiModelProperty(value = "是否重试")
|
||||
@Dict(dicCode = "yn")
|
||||
private Integer retryable;
|
||||
|
||||
/**是否为保留数据:0-否 1-是*/
|
||||
@Excel(name = "保留数据", width = 15)
|
||||
@ApiModelProperty(value = "保留数据")
|
||||
@Dict(dicCode = "yn")
|
||||
private Integer persistable;
|
||||
|
||||
/**是否在接口文档中展示:0-否 1-是*/
|
||||
@Excel(name = "在接口文档中展示", width = 15)
|
||||
@ApiModelProperty(value = "在接口文档中展示")
|
||||
@Dict(dicCode = "yn")
|
||||
private Integer showApi;
|
||||
|
||||
/**状态 1有效 0无效*/
|
||||
@Excel(name = "状态", width = 15)
|
||||
@ApiModelProperty(value = "状态")
|
||||
@Dict(dicCode = "yn")
|
||||
private Integer status;
|
||||
|
||||
/**创建人*/
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建日期")
|
||||
private Date createTime;
|
||||
/* *//**更新人*//*
|
||||
@ApiModelProperty(value = "更新人")
|
||||
private String updateBy;
|
||||
*//**更新日期*//*
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新日期")
|
||||
private Date updateTime;
|
||||
*//**所属部门*//*
|
||||
@ApiModelProperty(value = "所属部门")
|
||||
private String sysOrgCode;*/
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 支付用户人脸信息增量记录表
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_user_faceimg_sub_increm_info")
|
||||
public class StUserFaceimgSubIncremInfo {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
/**
|
||||
* 创建人登录名称
|
||||
*/
|
||||
@Schema(title = "创建人登录名称")
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新人登录名称
|
||||
*/
|
||||
@Schema(title = "更新人登录名称")
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
|
||||
//用户ID
|
||||
private String userId;
|
||||
|
||||
//人脸信息ID
|
||||
private String userFaceId;
|
||||
|
||||
//用户人脸特征数据
|
||||
private String faceFeatureString;
|
||||
|
||||
//用户名称
|
||||
private String realname;
|
||||
|
||||
//用户状态(1:正常 2:冻结 )
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 操作标记:
|
||||
0 人员特征删除数据
|
||||
1 人员特征新增数据
|
||||
*/
|
||||
private Integer faceType;
|
||||
}
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.springframework.util.Base64Utils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 用户人脸数据
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-04-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_user_faceimg")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name = "st_user_faceimg对象", description = "用户人脸数据")
|
||||
public class SwUserFaceimg implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**
|
||||
* 创建人登录名称
|
||||
*/
|
||||
@Schema(title = "创建人登录名称")
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新人登录名称
|
||||
*/
|
||||
@Schema(title = "更新人登录名称")
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@Excel(name = "用户ID", width = 15)
|
||||
@Schema(title = "用户ID")
|
||||
private String userId;
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
@Excel(name = "身份证号", width = 15)
|
||||
@Schema(title = "身份证号")
|
||||
private String cardNumber;
|
||||
/**
|
||||
* 用户人脸信息
|
||||
*/
|
||||
@Excel(name = "用户人脸信息", width = 15)
|
||||
private transient String faceImgDataString;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
private byte[] faceImgData;
|
||||
|
||||
public byte[] getFaceImgData() {
|
||||
if (faceImgDataString == null) {
|
||||
return null;
|
||||
}
|
||||
return faceImgDataString.getBytes();
|
||||
}
|
||||
|
||||
public String getFaceImgDataString() {
|
||||
if (faceImgData == null || faceImgData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return new String(faceImgData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 有效标识
|
||||
*/
|
||||
@Excel(name = "有效标识", width = 15)
|
||||
@Schema(title = "有效标识")
|
||||
private String faceStatus;
|
||||
/**
|
||||
* 用户人脸特征数据
|
||||
*/
|
||||
@Excel(name = "用户人脸特征数据", width = 15)
|
||||
private transient String faceFeatureDataString;
|
||||
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
@Excel(name = "同步标记(1:已同步,0:未同步)", width = 15)
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**数据来源(0:内部,1:外部)*/
|
||||
@Excel(name = "数据来源(0:内部,1:外部)", width = 15)
|
||||
@Schema(title = "数据来源(0:内部,1:外部)")
|
||||
private Integer dataSource;
|
||||
|
||||
/**数据标记 0:食堂,1:体重秤,2:体重秤+食堂*/
|
||||
@Excel(name = "数据标记 0:食堂,1:体重秤,2:体重秤+食堂", width = 15)
|
||||
@Schema(title = "数据标记 0:食堂,1:体重秤,2:体重秤+食堂")
|
||||
private Integer dataType;
|
||||
|
||||
/**
|
||||
* 相似度
|
||||
*/
|
||||
@Excel(name = "相似度", width = 15)
|
||||
@Schema(title = "相似度")
|
||||
private BigDecimal faceSimilar;
|
||||
|
||||
/**特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)*/
|
||||
@Excel(name = "特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)", width = 15)
|
||||
@Schema(title = "特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)")
|
||||
private Integer faceSource;
|
||||
|
||||
private byte[] faceFeatureData;
|
||||
|
||||
public String getFaceFeatureDataString() {
|
||||
if (faceFeatureData == null || faceFeatureData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return Base64Utils.encodeToString(faceFeatureData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 人臉图片路径
|
||||
*/
|
||||
private String faceImg;
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 用户人脸数据-自研引擎
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-04-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_user_faceimg_self")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name = "st_user_faceimg_self对象", description = "用户人脸数据-自研引擎")
|
||||
public class SwUserFaceimgSelf implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**
|
||||
* 创建人登录名称
|
||||
*/
|
||||
@Schema(title = "创建人登录名称")
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新人登录名称
|
||||
*/
|
||||
@Schema(title = "更新人登录名称")
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@Excel(name = "用户ID", width = 15)
|
||||
@Schema(title = "用户ID")
|
||||
private String userId;
|
||||
/**
|
||||
* 用户人脸信息
|
||||
*/
|
||||
@Excel(name = "用户人脸信息", width = 15)
|
||||
private transient String faceImgDataString;
|
||||
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
@Excel(name = "同步标记(1:已同步,0:未同步)", width = 15)
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**数据来源(0:内部,1:外部)*/
|
||||
@Excel(name = "数据来源(0:内部,1:外部)", width = 15)
|
||||
@Schema(title = "数据来源(0:内部,1:外部)")
|
||||
private Integer dataSource;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
private byte[] faceImgData;
|
||||
|
||||
|
||||
public String getFaceImgDataString() {
|
||||
if (faceImgData == null || faceImgData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return new String(faceImgData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 有效标识
|
||||
*/
|
||||
@Excel(name = "有效标识", width = 15)
|
||||
@Schema(title = "有效标识")
|
||||
private String faceStatus;
|
||||
/**
|
||||
* 用户人脸特征数据
|
||||
*/
|
||||
@Excel(name = "用户人脸特征数据", width = 15)
|
||||
private transient String faceFeatureDataString;
|
||||
|
||||
private byte[] faceFeatureData;
|
||||
|
||||
public String getFaceFeatureDataString() {
|
||||
if (faceFeatureData == null || faceFeatureData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return new String(faceFeatureData);
|
||||
}
|
||||
}
|
||||
+173
@@ -0,0 +1,173 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.springframework.util.Base64Utils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: 用户人脸数据
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2022-04-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("st_user_faceimg_sub")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Tag(name = "st_user_faceimg对象", description = "用户人脸数据")
|
||||
public class SwUserFaceimgSub implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
private String id;
|
||||
/**
|
||||
* 创建人登录名称
|
||||
*/
|
||||
@Schema(title = "创建人登录名称")
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "创建日期")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新人登录名称
|
||||
*/
|
||||
@Schema(title = "更新人登录名称")
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "更新日期")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@Excel(name = "用户ID", width = 15)
|
||||
@Schema(title = "用户ID")
|
||||
private String userId;
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
@Excel(name = "身份证号", width = 15)
|
||||
@Schema(title = "身份证号")
|
||||
private String cardNumber;
|
||||
/**
|
||||
* 用户人脸信息
|
||||
*/
|
||||
@Excel(name = "用户人脸信息", width = 15)
|
||||
private transient String faceImgDataString;
|
||||
|
||||
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
private byte[] faceImgData;
|
||||
|
||||
public byte[] getFaceImgData() {
|
||||
if (faceImgDataString == null) {
|
||||
return null;
|
||||
}
|
||||
return faceImgDataString.getBytes();
|
||||
}
|
||||
|
||||
public String getFaceImgDataString() {
|
||||
if (faceImgData == null || faceImgData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return new String(faceImgData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 有效标识
|
||||
*/
|
||||
@Excel(name = "有效标识", width = 15)
|
||||
@Schema(title = "有效标识")
|
||||
private String faceStatus;
|
||||
/**
|
||||
* 用户人脸特征数据
|
||||
*/
|
||||
@Excel(name = "用户人脸特征数据", width = 15)
|
||||
private transient String faceFeatureDataString;
|
||||
|
||||
/**同步标记(1:已同步,0:未同步)*/
|
||||
@Excel(name = "同步标记(1:已同步,0:未同步)", width = 15)
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**数据来源(0:内部,1:外部)*/
|
||||
@Excel(name = "数据来源(0:内部,1:外部)", width = 15)
|
||||
@Schema(title = "数据来源(0:内部,1:外部)")
|
||||
private Integer dataSource;
|
||||
|
||||
/**数据标记 0:食堂,1:体重秤*/
|
||||
@Excel(name = "数据标记 0:食堂,1:体重秤", width = 15)
|
||||
@Schema(title = "数据标记 0:食堂,1:体重秤")
|
||||
private Integer dataType;
|
||||
|
||||
/**
|
||||
* 相似度
|
||||
*/
|
||||
@Excel(name = "相似度", width = 15)
|
||||
@Schema(title = "相似度")
|
||||
private BigDecimal faceSimilar;
|
||||
|
||||
/**特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)*/
|
||||
@Excel(name = "特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)", width = 15)
|
||||
@Schema(title = "特征来源(0:非绑盘机渠道获取,1:绑盘机渠道获取)")
|
||||
private Integer faceSource;
|
||||
|
||||
private byte[] faceFeatureData;
|
||||
|
||||
public String getFaceFeatureDataString() {
|
||||
if (faceFeatureData == null || faceFeatureData.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return Base64Utils.encodeToString(faceFeatureData);
|
||||
}
|
||||
|
||||
private String faceImg;
|
||||
/**
|
||||
* 0内部 1外部 余:只有长庆正式员工属于内部员工 , 所有家庭成员以及 非正式员工都数据外部
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer userType;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@Schema(title = "真实姓名")
|
||||
@TableField(exist = false)
|
||||
private String realname;
|
||||
|
||||
/**
|
||||
* 状态(1-正常,2-冻结)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer status;
|
||||
|
||||
@Excel(name = "用户人脸特征数据-闸机使用该特征码", width = 15)
|
||||
@TableField(exist = false)
|
||||
private String faceFeatureString;
|
||||
}
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 部门表
|
||||
* <p>
|
||||
*
|
||||
* @Author Steve
|
||||
* @Since 2019-01-22
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_pay_depart")
|
||||
public class SysPayDepart implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**ID*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
/**父机构ID*/
|
||||
private String parentId;
|
||||
/**机构/部门名称*/
|
||||
@Excel(name="机构/部门名称",width=15)
|
||||
private String departName;
|
||||
/**英文名*/
|
||||
@Excel(name="英文名",width=15)
|
||||
private String departNameEn;
|
||||
/**缩写*/
|
||||
private String departNameAbbr;
|
||||
/**排序*/
|
||||
@Excel(name="排序",width=15)
|
||||
private Integer departOrder;
|
||||
/**描述*/
|
||||
@Excel(name="描述",width=15)
|
||||
private String description;
|
||||
/**机构类别 1=公司,2=组织机构,3=岗位*/
|
||||
@Excel(name="机构类别",width=15,dicCode="org_category")
|
||||
private String orgCategory;
|
||||
/**机构类型*/
|
||||
private String orgType;
|
||||
/**机构编码*/
|
||||
@Excel(name="机构编码",width=15)
|
||||
private String orgCode;
|
||||
/**手机号*/
|
||||
@Excel(name="手机号",width=15)
|
||||
private String mobile;
|
||||
/**传真*/
|
||||
@Excel(name="传真",width=15)
|
||||
private String fax;
|
||||
/**地址*/
|
||||
@Excel(name="地址",width=15)
|
||||
private String address;
|
||||
/**备注*/
|
||||
@Excel(name="备注",width=15)
|
||||
private String memo;
|
||||
/**状态(1启用,0不启用)*/
|
||||
@Dict(dicCode = "depart_status")
|
||||
private String status;
|
||||
/**删除状态(0,正常,1已删除)*/
|
||||
@Dict(dicCode = "del_flag")
|
||||
private String delFlag;
|
||||
/**对接企业微信的ID*/
|
||||
private String qywxIdentifier;
|
||||
/**创建人*/
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**更新人*/
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String userId;
|
||||
/**
|
||||
* 登录账号
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String username;
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String realname;
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 角色id
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String selectedroles;
|
||||
|
||||
/**
|
||||
* 用户类型
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String userIdentity;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 重写equals方法
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
if (!super.equals(o)) {
|
||||
return false;
|
||||
}
|
||||
SysPayDepart depart = (SysPayDepart) o;
|
||||
return Objects.equals(id, depart.id) &&
|
||||
Objects.equals(parentId, depart.parentId) &&
|
||||
Objects.equals(departName, depart.departName) &&
|
||||
Objects.equals(departNameEn, depart.departNameEn) &&
|
||||
Objects.equals(departNameAbbr, depart.departNameAbbr) &&
|
||||
Objects.equals(departOrder, depart.departOrder) &&
|
||||
Objects.equals(description, depart.description) &&
|
||||
Objects.equals(orgCategory, depart.orgCategory) &&
|
||||
Objects.equals(orgType, depart.orgType) &&
|
||||
Objects.equals(orgCode, depart.orgCode) &&
|
||||
Objects.equals(mobile, depart.mobile) &&
|
||||
Objects.equals(fax, depart.fax) &&
|
||||
Objects.equals(address, depart.address) &&
|
||||
Objects.equals(memo, depart.memo) &&
|
||||
Objects.equals(status, depart.status) &&
|
||||
Objects.equals(delFlag, depart.delFlag) &&
|
||||
Objects.equals(createBy, depart.createBy) &&
|
||||
Objects.equals(createTime, depart.createTime) &&
|
||||
Objects.equals(updateBy, depart.updateBy) &&
|
||||
Objects.equals(updateTime, depart.updateTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 重写hashCode方法
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
||||
return Objects.hash(super.hashCode(), id, parentId, departName,
|
||||
departNameEn, departNameAbbr, departOrder, description,orgCategory,
|
||||
orgType, orgCode, mobile, fax, address, memo, status,
|
||||
delFlag, createBy, createTime, updateBy, updateTime);
|
||||
}
|
||||
}
|
||||
+217
@@ -0,0 +1,217 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecg.common.system.vo.ScreenVo;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户表
|
||||
* </p>
|
||||
*
|
||||
* @Author scott
|
||||
* @since 2018-12-20
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
public class SysUser implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 登录账号
|
||||
*/
|
||||
@Excel(name = "用户账号", width = 15)
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@Excel(name = "用户姓名", width = 15)
|
||||
private String realname;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
// @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* md5密码盐
|
||||
*/
|
||||
// @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String salt;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
@Excel(name = "头像", width = 15,type = 2)
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
// @Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date birthday;
|
||||
|
||||
/**
|
||||
* 性别(1:男 2:女)
|
||||
*/
|
||||
@Excel(name = "性别", width = 15,dicCode="sex")
|
||||
@Dict(dicCode = "sex")
|
||||
private Integer sex;
|
||||
|
||||
/**
|
||||
* 电子邮件
|
||||
*/
|
||||
// @Excel(name = "电子邮件", width = 15)
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
@Excel(name = "电话", width = 15)
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 部门code(当前选择登录部门)
|
||||
*/
|
||||
private String sysOrgCode;
|
||||
|
||||
/**部门名称*/
|
||||
private transient String orgCodeTxt;
|
||||
|
||||
/**
|
||||
* 状态(1:正常 2:冻结 )
|
||||
*/
|
||||
@Excel(name = "状态", width = 15,dicCode="user_status")
|
||||
@Dict(dicCode = "user_status")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 删除状态(0,正常,1已删除)
|
||||
*/
|
||||
// @Excel(name = "删除状态", width = 15,dicCode="del_flag")
|
||||
//@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
/**
|
||||
* 工号,唯一键
|
||||
*/
|
||||
// @Excel(name = "工号", width = 15)
|
||||
private String workNo;
|
||||
|
||||
/**
|
||||
* 职务,关联职务表
|
||||
*/
|
||||
// @Excel(name = "职务", width = 15)
|
||||
// @Dict(dictTable ="sys_position",dicText = "name",dicCode = "code")
|
||||
private String post;
|
||||
|
||||
/**
|
||||
* 座机号
|
||||
*/
|
||||
// @Excel(name = "座机号", width = 15)
|
||||
private String telephone;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 同步工作流引擎1同步0不同步
|
||||
*/
|
||||
private Integer activitiSync;
|
||||
|
||||
/**
|
||||
* 身份
|
||||
*/
|
||||
// @Excel(name="身份",width = 15)
|
||||
private Integer userIdentity;
|
||||
|
||||
/**
|
||||
* 负责部门
|
||||
*/
|
||||
// @Excel(name="负责部门",width = 15,dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
// @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
private String departIds;
|
||||
|
||||
/**
|
||||
* 多租户id配置,编辑用户的时候设置
|
||||
*/
|
||||
private String relTenantIds;
|
||||
|
||||
/**设备id uniapp推送用*/
|
||||
private String clientId;
|
||||
|
||||
// @Excel(name = "身份证号", width = 15)
|
||||
private String cardNo;
|
||||
|
||||
/**
|
||||
* 第三方ID
|
||||
*/
|
||||
private String thirdId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<ScreenVo> screenVoList;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<String> userRole;
|
||||
|
||||
/**机构名称*/
|
||||
@Excel(name = "所属机构", width = 15)
|
||||
@Schema(title = "所属机构")
|
||||
@TableField(exist = false)
|
||||
private String departName;
|
||||
|
||||
/**用户类型*/
|
||||
@Excel(name = "用户类型", width = 15)
|
||||
@Schema(title = "用户类型")
|
||||
@TableField(exist = false)
|
||||
private String userIdentityName2;
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: s
|
||||
* @Author: yucl
|
||||
* @Date: 2022-04-20
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_user_screen")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Tag(name="sys_user_screen对象", description="s")
|
||||
public class SysUserScreen implements Serializable{
|
||||
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "id")
|
||||
private String id;
|
||||
/**用户id*/
|
||||
@Excel(name = "用户id", width = 15)
|
||||
@Schema(title = "用户id")
|
||||
private String userId;
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15)
|
||||
@Schema(title = "食堂id")
|
||||
private String screenId;
|
||||
/**食堂部门id*/
|
||||
@Excel(name = "食堂部门id", width = 15)
|
||||
@Schema(title = "食堂部门id")
|
||||
private String screenDeptId;
|
||||
//同步标记(1:已同步,0:未同步)
|
||||
private Integer isSync;
|
||||
|
||||
//删除状态(0-正常,1-已删除)
|
||||
private Integer delFlag;
|
||||
}
|
||||
+211
@@ -0,0 +1,211 @@
|
||||
package org.jeecg.user.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 子用户表
|
||||
* </p>
|
||||
*
|
||||
* @Author scott
|
||||
* @since 2018-12-20
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("sys_user_sub")
|
||||
public class SysUserSub implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 登录账号
|
||||
*/
|
||||
@Excel(name = "用户账号", width = 15)
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@Excel(name = "用户姓名", width = 15)
|
||||
private String realname;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
// @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* md5密码盐
|
||||
*/
|
||||
// @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String salt;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
@Excel(name = "头像", width = 15,type = 2)
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
// @Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date birthday;
|
||||
|
||||
/**
|
||||
* 性别(1:男 2:女)
|
||||
*/
|
||||
@Excel(name = "性别", width = 15,dicCode="sex")
|
||||
@Dict(dicCode = "sex")
|
||||
private Integer sex;
|
||||
|
||||
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
@Excel(name = "电话", width = 15)
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 部门code(当前选择登录部门)
|
||||
*/
|
||||
private String sysOrgCode;
|
||||
|
||||
/**部门名称*/
|
||||
private transient String orgCodeTxt;
|
||||
|
||||
/**
|
||||
* 状态(1:正常 2:冻结 )
|
||||
*/
|
||||
@Excel(name = "状态", width = 15,dicCode="user_status")
|
||||
@Dict(dicCode = "user_status")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 删除状态(0,正常,1已删除)
|
||||
*/
|
||||
// @Excel(name = "删除状态", width = 15,dicCode="del_flag")
|
||||
//@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
/**
|
||||
* 卡号
|
||||
*/
|
||||
private String cardCode;
|
||||
|
||||
/**
|
||||
* 卡号状态(1:正常 , 2:挂失)
|
||||
*/
|
||||
private Integer cardCodeStatus;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
/**
|
||||
* 身份
|
||||
*/
|
||||
// @Excel(name="身份",width = 15)
|
||||
private Integer userIdentity;
|
||||
|
||||
|
||||
// @Excel(name = "身份证号", width = 15)
|
||||
private String cardNo;
|
||||
|
||||
/**
|
||||
* 负责部门
|
||||
*/
|
||||
// @Excel(name="负责部门",width = 15,dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
// @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
|
||||
private String departIds;
|
||||
|
||||
@Schema(title ="工号")
|
||||
private String workNo;
|
||||
|
||||
/**
|
||||
* 用户类型(0:正式员工,1:非正式员工,2:家庭用户)
|
||||
*/
|
||||
private Integer userType;
|
||||
|
||||
/**绑定主用户ID*/
|
||||
@Excel(name = "绑定主用户ID", width = 15)
|
||||
@Schema(title = "绑定主用户ID")
|
||||
private String mainUserId;
|
||||
|
||||
/**与主账户关系(1:亲子,2:夫妻,3:兄弟姐妹,4:父母)*/
|
||||
@Excel(name = "与主账户关系(1:亲子,2:夫妻,3:兄弟姐妹,4:父母)", width = 15)
|
||||
@Schema(title = "与主账户关系(1:亲子,2:夫妻,3:兄弟姐妹,4:父母)")
|
||||
private String mainUserRelation;
|
||||
|
||||
|
||||
/**食堂id*/
|
||||
@Excel(name = "食堂id", width = 15)
|
||||
@Schema(title = "食堂id")
|
||||
private String canteenId;
|
||||
|
||||
|
||||
/**机构名称*/
|
||||
@Excel(name = "所属机构", width = 15)
|
||||
@Schema(title = "所属机构")
|
||||
@TableField(exist = false)
|
||||
private String departName;
|
||||
|
||||
/***/
|
||||
@Excel(name = "", width = 15)
|
||||
@Schema(title = "")
|
||||
@TableField(exist = false)
|
||||
private String userIdentityName2;
|
||||
|
||||
@Schema(title = "同步标记(1:已同步,0:未同步)")
|
||||
private Integer isSync;
|
||||
|
||||
|
||||
private String remark;
|
||||
}
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
package org.jeecg.user.vo;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
import org.jeecg.user.entity.SysPayDepart;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 部门表 封装树结构的部门的名称的实体类
|
||||
* <p>
|
||||
*
|
||||
* @Author Steve
|
||||
* @Since 2019-01-22
|
||||
*
|
||||
*/
|
||||
public class PayDepartIdModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
// 主键ID
|
||||
private String key;
|
||||
|
||||
// 主键ID
|
||||
private String value;
|
||||
|
||||
// 部门名称
|
||||
private String title;
|
||||
|
||||
List<PayDepartIdModel> children = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 将SysDepartTreeModel的部分数据放在该对象当中
|
||||
* @param treeModel
|
||||
* @return
|
||||
*/
|
||||
public PayDepartIdModel convert(SysPayDepartTreeModel treeModel) {
|
||||
this.key = treeModel.getId();
|
||||
this.value = treeModel.getId();
|
||||
this.title = treeModel.getDepartName();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 该方法为用户部门的实现类所使用
|
||||
* @param sysDepart
|
||||
* @return
|
||||
*/
|
||||
public PayDepartIdModel convertByUserDepart(SysPayDepart sysDepart) {
|
||||
this.key = sysDepart.getId();
|
||||
this.value = sysDepart.getId();
|
||||
this.title = sysDepart.getDepartName();
|
||||
return this;
|
||||
}
|
||||
|
||||
public List<PayDepartIdModel> getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(List<PayDepartIdModel> children) {
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
public static long getSerialVersionUID() {
|
||||
return serialVersionUID;
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user