店员管理/店员等级/账户管理

This commit is contained in:
starrySky
2024-03-31 13:52:29 +08:00
parent ccaa00990f
commit c7f81acbe5
125 changed files with 2670 additions and 1033 deletions

View File

@@ -2,15 +2,12 @@ package com.starry.common.domain;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
/**
* @author admin
@@ -31,7 +28,7 @@ public class BasePageEntity implements Serializable {
private Boolean deleted = Boolean.FALSE;
@TableField(fill = FieldFill.INSERT)
private Long createdBy;
private String createdBy;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(fill = FieldFill.INSERT)
@@ -41,16 +38,7 @@ public class BasePageEntity implements Serializable {
private Date updatedTime;
@TableField(fill = FieldFill.UPDATE)
private Long updatedBy;
@Version
private Long version;
/**
* 搜索值
*/
@TableField(exist = false)
private String searchValue;
private String updatedBy;
/**
* 开始日期
@@ -63,11 +51,5 @@ public class BasePageEntity implements Serializable {
*/
@TableField(exist = false)
private String endTime;
/**
* 请求参数
*/
@Transient
@TableField(exist = false)
private Map<String, Object> params;
}

View File

@@ -7,13 +7,11 @@ public interface IBaseEnum {
/**
* 获取枚举值
*
*/
int getCode();
/**
* 获取枚举描述
*
*/
String getMessage();
}

View File

@@ -12,7 +12,6 @@ import java.lang.annotation.Target;
* 脱敏注解
*
* @author admin
*
**/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)

View File

@@ -14,7 +14,7 @@ import java.util.Objects;
/**
* @author admin
*
* <p>
* 脱敏序列化
*/
@NoArgsConstructor

View File

@@ -5,7 +5,7 @@ import cn.hutool.core.util.StrUtil;
/**
* 数据脱敏工具类
*
* @author admin
* @author admin
* @since 2021/7/19 16:21
*/
public class SensitiveUtils {

View File

@@ -101,7 +101,7 @@ public class ServletUtils {
response.setCharacterEncoding("utf-8");
response.getWriter().print(string);
} catch (IOException e) {
}
}