Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
customer-service
Commits
e3023535
Commit
e3023535
authored
Apr 29, 2020
by
huangcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
承运商接口:goodsowner的字典表类型统一为Integer
parent
e9886be1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
30 deletions
+29
-30
GoodsOwnerConstants.java
...eight/customer/module/goodsowner/GoodsOwnerConstants.java
+8
-8
AccountInfoDto.java
...reight/customer/module/goodsowner/dto/AccountInfoDto.java
+3
-3
AccountEntity.java
...ight/customer/module/goodsowner/entity/AccountEntity.java
+2
-2
InfoEntity.java
...freight/customer/module/goodsowner/entity/InfoEntity.java
+1
-1
AccountInfoForm.java
...ight/customer/module/goodsowner/form/AccountInfoForm.java
+4
-4
AccountQueryForm.java
...ght/customer/module/goodsowner/form/AccountQueryForm.java
+5
-6
AccountInfoVO.java
.../freight/customer/module/goodsowner/vo/AccountInfoVO.java
+3
-3
AccountListVO.java
.../freight/customer/module/goodsowner/vo/AccountListVO.java
+3
-3
No files found.
src/main/java/com/esv/freight/customer/module/goodsowner/GoodsOwnerConstants.java
View file @
e3023535
...
@@ -14,14 +14,14 @@ public class GoodsOwnerConstants {
...
@@ -14,14 +14,14 @@ public class GoodsOwnerConstants {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
**/
**/
public
static
final
String
OWNER_TYPE_PERSONAL
=
"1"
;
public
static
final
Integer
OWNER_TYPE_PERSONAL
=
1
;
public
static
final
String
OWNER_TYPE_COMPANY
=
"2"
;
public
static
final
Integer
OWNER_TYPE_COMPANY
=
2
;
/**
/**
* 货主帐号创建来源:1-平台创建、2-自行注册
* 货主帐号创建来源:1-平台创建、2-自行注册
**/
**/
public
static
final
String
OWNER_SOURCE_TYPE_PLATFORM
=
"1"
;
public
static
final
Integer
OWNER_SOURCE_TYPE_PLATFORM
=
1
;
public
static
final
String
OWNER_SOURCE_TYPE_REGISTER
=
"2"
;
public
static
final
Integer
OWNER_SOURCE_TYPE_REGISTER
=
2
;
/**
/**
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
...
@@ -33,13 +33,13 @@ public class GoodsOwnerConstants {
...
@@ -33,13 +33,13 @@ public class GoodsOwnerConstants {
/**
/**
* 货主帐号状态:1-正常、2-停用
* 货主帐号状态:1-正常、2-停用
**/
**/
public
static
final
String
OWNER_ACCOUNT_STATUS_UNBLOCK
=
"1"
;
public
static
final
Integer
OWNER_ACCOUNT_STATUS_UNBLOCK
=
1
;
public
static
final
String
OWNER_ACCOUNT_STATUS_BLOCK
=
"2"
;
public
static
final
Integer
OWNER_ACCOUNT_STATUS_BLOCK
=
2
;
/**
/**
* 是否同为收货地址:0-不是、1-是
* 是否同为收货地址:0-不是、1-是
**/
**/
public
static
final
String
ADDRESS_COPY_NO
=
"0"
;
public
static
final
Integer
ADDRESS_COPY_NO
=
0
;
public
static
final
String
ADDRESS_COPY_YES
=
"1"
;
public
static
final
Integer
ADDRESS_COPY_YES
=
1
;
}
}
src/main/java/com/esv/freight/customer/module/goodsowner/dto/AccountInfoDto.java
View file @
e3023535
...
@@ -43,11 +43,11 @@ public class AccountInfoDto {
...
@@ -43,11 +43,11 @@ public class AccountInfoDto {
/**
/**
* 创建来源:1-平台创建、2-自行注册
* 创建来源:1-平台创建、2-自行注册
*/
*/
private
String
sourceType
;
private
Integer
sourceType
;
/**
/**
* 帐号状态:1-正常、2-停用
* 帐号状态:1-正常、2-停用
*/
*/
private
String
accountStatus
;
private
Integer
accountStatus
;
/**
/**
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
*/
*/
...
@@ -80,7 +80,7 @@ public class AccountInfoDto {
...
@@ -80,7 +80,7 @@ public class AccountInfoDto {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 客户编码
* 客户编码
*/
*/
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/entity/AccountEntity.java
View file @
e3023535
...
@@ -51,11 +51,11 @@ public class AccountEntity implements Serializable {
...
@@ -51,11 +51,11 @@ public class AccountEntity implements Serializable {
/**
/**
* 创建来源:1-平台创建、2-自行注册
* 创建来源:1-平台创建、2-自行注册
*/
*/
private
String
sourceType
;
private
Integer
sourceType
;
/**
/**
* 帐号状态:1-正常、2-停用
* 帐号状态:1-正常、2-停用
*/
*/
private
String
accountStatus
;
private
Integer
accountStatus
;
/**
/**
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
*/
*/
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/entity/InfoEntity.java
View file @
e3023535
...
@@ -31,7 +31,7 @@ public class InfoEntity implements Serializable {
...
@@ -31,7 +31,7 @@ public class InfoEntity implements Serializable {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 客户编码
* 客户编码
*/
*/
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/form/AccountInfoForm.java
View file @
e3023535
...
@@ -6,10 +6,10 @@ import lombok.Data;
...
@@ -6,10 +6,10 @@ import lombok.Data;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Range
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Pattern
;
/**
/**
* @description:
* @description:
...
@@ -41,9 +41,9 @@ public class AccountInfoForm {
...
@@ -41,9 +41,9 @@ public class AccountInfoForm {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
@
Pattern
(
regexp
=
"[12]"
,
message
=
"参数ownerType不合法"
,
groups
=
{
ValidatorInsert
.
class
,
ValidatorUpdate
.
class
})
@
Range
(
min
=
1
,
max
=
2
,
message
=
"参数ownerType不合法"
,
groups
=
{
ValidatorInsert
.
class
,
ValidatorUpdate
.
class
})
@Not
Blank
(
message
=
"参数ownerType不能为空"
,
groups
=
{
ValidatorInsert
.
class
,
ValidatorUpdate
.
class
})
@Not
Null
(
message
=
"参数ownerType不能为空"
,
groups
=
{
ValidatorInsert
.
class
,
ValidatorUpdate
.
class
})
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 客户名称
* 客户名称
*/
*/
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/form/AccountQueryForm.java
View file @
e3023535
...
@@ -8,7 +8,6 @@ import org.hibernate.validator.constraints.Length;
...
@@ -8,7 +8,6 @@ import org.hibernate.validator.constraints.Length;
import
org.hibernate.validator.constraints.Range
;
import
org.hibernate.validator.constraints.Range
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Pattern
;
/**
/**
* @description:
* @description:
...
@@ -25,8 +24,8 @@ public class AccountQueryForm {
...
@@ -25,8 +24,8 @@ public class AccountQueryForm {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
@
Pattern
(
regexp
=
"[12]"
,
message
=
"参数ownerType不合法"
,
groups
=
{
ValidatorList
.
class
})
@
Range
(
min
=
1
,
max
=
2
,
message
=
"参数ownerType不合法"
,
groups
=
{
ValidatorList
.
class
})
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 货主编码
* 货主编码
*/
*/
...
@@ -35,12 +34,12 @@ public class AccountQueryForm {
...
@@ -35,12 +34,12 @@ public class AccountQueryForm {
/**
/**
* 货主帐号审核状态(字典表):0-待审核、1-审核成功,2-审核失败
* 货主帐号审核状态(字典表):0-待审核、1-审核成功,2-审核失败
*/
*/
@
Pattern
(
regexp
=
"[012]"
,
message
=
"参数auditStatus不合法"
,
groups
=
{
ValidatorList
.
class
})
@
Range
(
min
=
0
,
max
=
2
,
message
=
"参数auditStatus不合法"
,
groups
=
{
ValidatorList
.
class
})
private
String
auditStatus
;
private
Integer
auditStatus
;
/**
/**
* 帐号状态:1-正常、2-停用
* 帐号状态:1-正常、2-停用
*/
*/
@
Pattern
(
regexp
=
"[12]"
,
message
=
"参数accountStatus不合法"
,
groups
=
{
ValidatorList
.
class
})
@
Range
(
min
=
1
,
max
=
2
,
message
=
"参数accountStatus不合法"
,
groups
=
{
ValidatorList
.
class
})
private
String
accountStatus
;
private
String
accountStatus
;
/**
/**
* (个人或企业联系人手机号)帐号
* (个人或企业联系人手机号)帐号
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/vo/AccountInfoVO.java
View file @
e3023535
...
@@ -29,11 +29,11 @@ public class AccountInfoVO implements Serializable {
...
@@ -29,11 +29,11 @@ public class AccountInfoVO implements Serializable {
/**
/**
* 创建来源:1-平台创建、2-自行注册
* 创建来源:1-平台创建、2-自行注册
*/
*/
private
String
sourceType
;
private
Integer
sourceType
;
/**
/**
* 帐号状态:1-正常、2-停用
* 帐号状态:1-正常、2-停用
*/
*/
private
String
accountStatus
;
private
Integer
accountStatus
;
/**
/**
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
* 货主帐号审核状态:0-待审核、1-审核成功,2-审核失败,APP自行注册需要平台审核
*/
*/
...
@@ -41,7 +41,7 @@ public class AccountInfoVO implements Serializable {
...
@@ -41,7 +41,7 @@ public class AccountInfoVO implements Serializable {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 客户编码
* 客户编码
*/
*/
...
...
src/main/java/com/esv/freight/customer/module/goodsowner/vo/AccountListVO.java
View file @
e3023535
...
@@ -25,7 +25,7 @@ public class AccountListVO implements Serializable {
...
@@ -25,7 +25,7 @@ public class AccountListVO implements Serializable {
/**
/**
* 创建来源:1-平台创建、2-自行注册
* 创建来源:1-平台创建、2-自行注册
*/
*/
private
String
sourceType
;
private
Integer
sourceType
;
/**
/**
* 货主名称(企业时为全称、个人时为联系人姓名)
* 货主名称(企业时为全称、个人时为联系人姓名)
*/
*/
...
@@ -37,7 +37,7 @@ public class AccountListVO implements Serializable {
...
@@ -37,7 +37,7 @@ public class AccountListVO implements Serializable {
/**
/**
* 货主类型:1-个人、2-企业
* 货主类型:1-个人、2-企业
*/
*/
private
String
ownerType
;
private
Integer
ownerType
;
/**
/**
* 登录帐号,货主手机号
* 登录帐号,货主手机号
*/
*/
...
@@ -45,7 +45,7 @@ public class AccountListVO implements Serializable {
...
@@ -45,7 +45,7 @@ public class AccountListVO implements Serializable {
/**
/**
* 帐号状态:1-正常、2-停用
* 帐号状态:1-正常、2-停用
*/
*/
private
String
accountStatus
;
private
Integer
accountStatus
;
/**
/**
*
*
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment