卡管理

This commit is contained in:
齐天大圣 2024-02-21 17:34:35 +08:00
parent aafc706625
commit 535d727d14
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.fuint.business.marketingActivity.cardFule.vo;
import lombok.Data;
import java.io.Serializable;
@Data
public class CardFuelRecordCount implements Serializable {
private static final long serialVersionUID = 1L;
private String oilName;
private Integer peoples;
private Double money;
private Double litres;
}

View File

@ -1,6 +1,8 @@
package com.fuint.business.marketingActivity.cardGift.entity;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
@ -18,6 +20,7 @@ import java.util.Date;
*/
@SuppressWarnings("serial")
@Data
@ExcelIgnoreUnannotated
public class CardGift extends Model<CardGift> {
//主键id
@TableId(type = IdType.AUTO)
@ -26,9 +29,11 @@ public class CardGift extends Model<CardGift> {
private String batchNumber;
//卡号
@ExcelProperty(value = "卡号")
@ColumnWidth(30)
private String number;
//卡密
@ExcelProperty(value = "卡密")
@ColumnWidth(20)
private String cardPassword;
//所属连锁店id
private Integer chainStorId;

View File

@ -37,6 +37,7 @@ public class ShiroConfig {
filterMap.put("/backendApi/login/loginByPhone","anon");
filterMap.put("/backendApi/login/getInfo","anon");
filterMap.put("/backendApi/login/logout","anon");
filterMap.put("/business/marketingActivity/cardGift/export","anon");
/*filterMap.put("/business/largeSscreen","anon");
filterMap.put("/business/largeSscreen/goods","anon");
filterMap.put("/business/largeSscreen/staff","anon");