| | |
| | | public static final String HK_TOKEN_VALIDITY = "HK_TOKEN_VALIDITY"; |
| | | public static final String[] ALL_SPELL_LIST_FIRST = new String[]{"A", "B", "C", "D", "E", "F", "G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}; |
| | | public static final int ZERO = 0 ; |
| | | public static final int SIX = 6 ; |
| | | public static final int ONE = 1 ; |
| | | public static final int TWO = 2 ; |
| | | public static final String HK_PARAM ="HK_PARAM" ; |
| | |
| | | public static final int depart = 3; |
| | | public static final int custom = 4; |
| | | public static final int self = -1; |
| | | } |
| | | |
| | | |
| | | |
| | | public interface BillPayStatus{ |
| | | //访客状态(0:未签到,1:已签到,2:已签退,3:滞留,4:未访问,5:自动签离,6:未签退) |
| | | int waitSign = 0; |
| | | int signin= 1; |
| | | int signout = 2; |
| | | int noleave =3; |
| | | int novisit =4; |
| | | int autoOut =5; |
| | | int noSignout =6; |
| | | } |
| | | |
| | | /** |
| | |
| | | d = d.setScale(4, BigDecimal.ROUND_HALF_UP); |
| | | return d; |
| | | } |
| | | public static BigDecimal formatBigdecimal0Float(BigDecimal d) { |
| | | if (d == null) { |
| | | d = new BigDecimal(0.0); |
| | | } |
| | | //保留两位小数且四舍五入 |
| | | d = d.setScale(0, BigDecimal.ROUND_HALF_UP); |
| | | return d; |
| | | } |
| | | public static BigDecimal formatBigdecimal2Float(BigDecimal d) { |
| | | if (d == null) { |
| | | d = new BigDecimal(0.0); |
| | |
| | | int driver = 0;//司机人员 |
| | | int visitor = 1;//普通访客 |
| | | int internal = 2;//内部人员 |
| | | int customer = 3;//客户人员 |
| | | } |
| | | |
| | | |
| | |
| | | FN_DEVICE_FILE(5, "阜宁服务平台设备类型图片 ", "阜宁服务平台设备类型图片 "), |
| | | FN_DEVICE_RECORD_FILE(6, "阜宁服务平台运维记录图片 ", "阜宁服务平台运维记录图片 "), |
| | | FN_PATROL_POINT_FILE(7, "巡检点附件 ", "巡检点附件 "), |
| | | FN_CONTRACT_BILL_FILE(8, "合同账单附件 ", "合同账单附件 "), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |