Commit e9886be1 authored by huangcb's avatar huangcb

承运商接口:carrier的字典表类型统一为Integer

parent 6e3e1c37
...@@ -20,7 +20,7 @@ public class CarrierConstants { ...@@ -20,7 +20,7 @@ public class CarrierConstants {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
**/ **/
public static final String CARRIER_ACCOUNT_STATUS_UNBLOCK = "1"; public static final Integer CARRIER_ACCOUNT_STATUS_UNBLOCK = 1;
public static final String CARRIER_ACCOUNT_STATUS_BLOCK = "2"; public static final Integer CARRIER_ACCOUNT_STATUS_BLOCK = 2;
} }
...@@ -27,7 +27,7 @@ public class CarrierInfoDto { ...@@ -27,7 +27,7 @@ public class CarrierInfoDto {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; private Integer accountStatus;
/** /**
* 创建者 * 创建者
*/ */
......
...@@ -51,7 +51,7 @@ public class CarrierAccountEntity implements Serializable { ...@@ -51,7 +51,7 @@ public class CarrierAccountEntity implements Serializable {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; private Integer accountStatus;
/** /**
* 创建者 * 创建者
*/ */
......
...@@ -37,7 +37,8 @@ public class CarrierQueryForm { ...@@ -37,7 +37,8 @@ public class CarrierQueryForm {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; @Range(min = 1, max = 2, message = "参数accountStatus不合法", groups = {ValidatorList.class})
private Integer accountStatus;
/** /**
* 客户编码 * 客户编码
*/ */
......
...@@ -27,7 +27,7 @@ public class CarrierInfoBriefVO { ...@@ -27,7 +27,7 @@ public class CarrierInfoBriefVO {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; private Integer accountStatus;
/** /**
* 客户编码 * 客户编码
*/ */
......
...@@ -27,7 +27,7 @@ public class CarrierInfoDetailVO { ...@@ -27,7 +27,7 @@ public class CarrierInfoDetailVO {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; private Integer accountStatus;
/** /**
* 创建者 * 创建者
*/ */
......
...@@ -27,7 +27,7 @@ public class CarrierInfoListVO { ...@@ -27,7 +27,7 @@ public class CarrierInfoListVO {
/** /**
* 帐号状态:1-正常、2-停用 * 帐号状态:1-正常、2-停用
*/ */
private String accountStatus; private Integer accountStatus;
/** /**
* 创建者 * 创建者
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment