| | |
| | | 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" ; |
| | |
| | | int sgscxh = 4; |
| | | } |
| | | |
| | | |
| | | public interface patrolTaskStatus{ |
| | | int waitStart = 0; |
| | | int working= 1; |
| | | int timeout = 2; |
| | | int finish =3; |
| | | int cancel =4; |
| | | } |
| | | public static Date getBirthdyByCardNo(String idCard){ |
| | | if(idCard ==null || idCard.length()<14){ |
| | | return null; |
| | |
| | | public static final String GOODSORDER_KEY = "ordercode_"; |
| | | public static final String ACTIVITY_SIGN_KEY = "actcode_"; |
| | | public static final String AFTERSALE_KEY = "salecode_"; |
| | | public static final String PATROL_SCHEME_CODE_KEY = "patrolSchemeCode"; |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | //保留两位小数且四舍五入 |
| | | 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) { |
| | |
| | | int driver = 0;//司机人员 |
| | | int visitor = 1;//普通访客 |
| | | int internal = 2;//内部人员 |
| | | int customer = 3;//客户人员 |
| | | } |
| | | |
| | | |