|  |  |  | 
|---|
|  |  |  | public static final String SPECIAL_COMPANY_ID ="SPECIAL_COMPANY_ID" ; | 
|---|
|  |  |  | public static final String YW_DEVICE ="YW_DEVICE" ; | 
|---|
|  |  |  | public static final String YW_PATROL ="YW_PATROL" ; | 
|---|
|  |  |  | public static final String YW_CONTRACT_BILL ="YW_CONTRACT_BILL" ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String RESERVATION_TOTAL_NUM ="RESERVATION_TOTAL_NUM" ; | 
|---|
|  |  |  | public static final String SIGN_IN_PLACE_LAT ="SIGN_IN_PLACE_LAT" ; | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final String ERP ="ERP" ; | 
|---|
|  |  |  | public static final Integer THREE =3 ; | 
|---|
|  |  |  | public static final Integer FOUR =4 ; | 
|---|
|  |  |  | public static final Integer SEVEN =7 ; | 
|---|
|  |  |  | public static final Integer FIVE =5 ; | 
|---|
|  |  |  | public static final String ORG_USER_ORIGIN = "ORG_USER_ORIGIN"; | 
|---|
|  |  |  | public static final String VIRTUAL_CARD_INDEX = "02098469790"; | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final String TIMEOUT_WARNING = "TIMEOUT_WARNING"; | 
|---|
|  |  |  | // FTP文件服务器资源访问地址 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | *    付款周期类型 0=元每平米天;1=元每平米月;2=元每平米年;3=元每天;4=元每月;5=元每年;6=元每场; | 
|---|
|  |  |  | * @param circleType | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static String getUnitTypeByNum(Integer circleType) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int zlPayType = Constants.formatIntegerNum(circleType); | 
|---|
|  |  |  | if(zlPayType == 1){ | 
|---|
|  |  |  | return "元/㎡·月"; | 
|---|
|  |  |  | }else   if(zlPayType == 2){ | 
|---|
|  |  |  | return "元/㎡·天"; | 
|---|
|  |  |  | }else  if(zlPayType == 3){ | 
|---|
|  |  |  | return "元/天"; | 
|---|
|  |  |  | }else  if(zlPayType == 4){ | 
|---|
|  |  |  | return "元/月"; | 
|---|
|  |  |  | }else  if(zlPayType == 5){ | 
|---|
|  |  |  | return "元/年"; | 
|---|
|  |  |  | }else  if(zlPayType == 6){ | 
|---|
|  |  |  | return "元/场"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return "元/㎡·天"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | *  周期支付方式 0=一次性付款;1=每三个月一付;2=六个月一付;3=一年一付 | 
|---|
|  |  |  | * @param zlPayType | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static String getPayTypeByNum(Integer zlPayType) { | 
|---|
|  |  |  | if(zlPayType == 1){ | 
|---|
|  |  |  | return "3个月一付"; | 
|---|
|  |  |  | }else   if(zlPayType == 2){ | 
|---|
|  |  |  | return "6个月一付"; | 
|---|
|  |  |  | }else  if(zlPayType == 3){ | 
|---|
|  |  |  | return "1年一付"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return "一次性付款"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static String getRandom6Num( ) { | 
|---|
|  |  |  | Random random = new Random(); | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final  int custom = 4; | 
|---|
|  |  |  | public static final  int self = -1; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 账单类型 0租赁条款 1物业条款 2租赁押金 3物业押金 4自建账单 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface contractBillType{ | 
|---|
|  |  |  | int lease = 0; | 
|---|
|  |  |  | int property= 1; | 
|---|
|  |  |  | int leaseDeposit = 2; | 
|---|
|  |  |  | int propertyDeposit =3; | 
|---|
|  |  |  | int create =4; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 作业类型 0自有车卸货 1自有车装货 2外协车卸货 3外协车装货 4市公司外协车卸货 | 
|---|
|  |  |  | 
|---|
|  |  |  | FN_DEVICE_RECORD_FILE(6, "阜宁服务平台运维记录图片 ", "阜宁服务平台运维记录图片 "), | 
|---|
|  |  |  | FN_PATROL_POINT_FILE(7, "巡检点附件 ", "巡检点附件 "), | 
|---|
|  |  |  | FN_CONTRACT_BILL_FILE(8, "合同账单附件 ", "合同账单附件 "), | 
|---|
|  |  |  | YW_CONTRACT_FILE(9, "合同附件 ", "合同附件 ") | 
|---|
|  |  |  | YW_CONTRACT_FILE(9, "合同附件 ", "合同附件 "), | 
|---|
|  |  |  | FN_CONTRACT_REVENUE_FILE(10, "收支流水附件 ", "合同账单附件 "), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ; | 
|---|
|  |  |  | // 成员变量 | 
|---|
|  |  |  | 
|---|
|  |  |  | return noteinfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 运维合同、工单信息记录类型 | 
|---|
|  |  |  | * 操作类型 0工单创建 1指派 2处理 3合同创建 4合同变更 5合同退租 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public  enum YwLogType{ | 
|---|
|  |  |  | WORKORDER_CREATE(0, "工单创建", "工单创建"), | 
|---|
|  |  |  | WORKORDER_DISPATCH(1, "工单指派", "工单指派"), | 
|---|
|  |  |  | WORKORDER_DEAL(2, "工单处理 ", "工单处理 "), | 
|---|
|  |  |  | CONTRACT_CREATE(3, "合同创建 ", "合同创建 "), | 
|---|
|  |  |  | CONTRACT_UPDATE(4, "合同变更 ", "合同变更 "), | 
|---|
|  |  |  | CONTRACT_BACK(5, "合同退租 ", "合同退租 "), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ; | 
|---|
|  |  |  | // 成员变量 | 
|---|
|  |  |  | private String name; | 
|---|
|  |  |  | private int key; | 
|---|
|  |  |  | private String noteinfo;// 描述 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 构造方法 | 
|---|
|  |  |  | YwLogType(int key, String name, String noteinfo) { | 
|---|
|  |  |  | this.name = name; | 
|---|
|  |  |  | this.key = key; | 
|---|
|  |  |  | this.noteinfo = noteinfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 普通方法 | 
|---|
|  |  |  | public static String getName(int index) { | 
|---|
|  |  |  | for (MultiFile c : MultiFile.values()) { | 
|---|
|  |  |  | if (c.getKey() == index) { | 
|---|
|  |  |  | return c.name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 普通方法 | 
|---|
|  |  |  | public static String getInfo(int index) { | 
|---|
|  |  |  | for (YwLogType c : YwLogType.values()) { | 
|---|
|  |  |  | if (c.getKey() == index) { | 
|---|
|  |  |  | return c.noteinfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // get set 方法 | 
|---|
|  |  |  | public String getName() { | 
|---|
|  |  |  | return name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setName(String name) { | 
|---|
|  |  |  | this.name = name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int getKey() { | 
|---|
|  |  |  | return key; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setKey(int key) { | 
|---|
|  |  |  | this.key = key; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getNoteinfo() { | 
|---|
|  |  |  | return noteinfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|