更新后端代码
This commit is contained in:
94
src/main/java/com/jsh/util/MaterialConstants.java
Normal file
94
src/main/java/com/jsh/util/MaterialConstants.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package com.jsh.util;
|
||||
|
||||
/**
|
||||
* 定义商品信息常量
|
||||
* @author jishenghua
|
||||
*/
|
||||
public interface MaterialConstants
|
||||
{
|
||||
/**
|
||||
* 公共常量
|
||||
* @author ji sheng hua
|
||||
*/
|
||||
public class Common
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 常量--导入导出excel表格业务相关
|
||||
* @author jishenghua
|
||||
*/
|
||||
public class BusinessForExcel
|
||||
{
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
public static final int EXCEL_NAME = 0;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
public static final int EXCEL_CATEGORY = 1;
|
||||
|
||||
/**
|
||||
* 制造商
|
||||
*/
|
||||
public static final int EXCEL_MFRS = 2;
|
||||
|
||||
/**
|
||||
* 型号
|
||||
*/
|
||||
public static final int EXCEL_MODEL = 3;
|
||||
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
public static final int EXCEL_STANDARD = 4;
|
||||
|
||||
/**
|
||||
* 安全存量
|
||||
*/
|
||||
public static final int EXCEL_SAFETY_STOCK = 5;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
public static final int EXCEL_UNIT = 6;
|
||||
|
||||
/**
|
||||
* 零售价
|
||||
*/
|
||||
public static final int EXCEL_RETAILPRICE = 7;
|
||||
|
||||
/**
|
||||
* 最低售价
|
||||
*/
|
||||
public static final int EXCEL_LOWPRICE = 8;
|
||||
|
||||
/**
|
||||
* 预设售价一
|
||||
*/
|
||||
public static final int EXCEL_PRESETPRICEONE = 9;
|
||||
|
||||
/**
|
||||
* 预设售价二
|
||||
*/
|
||||
public static final int EXCEL_PRESETPRICETWO = 10;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
public static final int EXCEL_REMARK = 11;
|
||||
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
public static final int EXCEL_TABLE_HEAD = 0;
|
||||
|
||||
/**
|
||||
* action返回excel结果
|
||||
*/
|
||||
public static final String EXCEL = "excel";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user