Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b683d1c
authored
Oct 25, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务提交数据列表
parent
8605d5c0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
244 additions
and
0 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerAuditStatusEnum.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerBean.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerQuery.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerAuditStatusEnum.java
0 → 100644
View file @
5b683d1c
package
com
.
ctrip
.
fun
.
common
.
vo
.
user
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* 凭据审批状态枚举
* @author lyhuang
*
*/
public
enum
ActiveCustomerAuditStatusEnum
{
SUMMITTED
(
1
,
"未审批"
),
CONFIRM
(
2
,
"财务确认"
),
ADDED
(
4
,
"已录入公社"
),
REJECT
(
99
,
"驳回"
);
private
int
value
;
private
String
msg
;
private
static
Map
<
Integer
,
ActiveCustomerAuditStatusEnum
>
map
=
new
HashMap
<
Integer
,
ActiveCustomerAuditStatusEnum
>();
static
{
for
(
ActiveCustomerAuditStatusEnum
it
:
ActiveCustomerAuditStatusEnum
.
values
())
{
map
.
put
(
it
.
value
,
it
);
}
}
ActiveCustomerAuditStatusEnum
(
int
value
,
String
msg
)
{
this
.
value
=
value
;
this
.
msg
=
msg
;
}
public
int
getValue
()
{
return
value
;
}
public
void
setValue
(
int
value
)
{
this
.
value
=
value
;
}
public
String
getMsg
()
{
return
msg
;
}
public
void
setMsg
(
String
msg
)
{
this
.
msg
=
msg
;
}
public
static
ActiveCustomerAuditStatusEnum
valueOf
(
int
value
)
{
return
map
.
get
(
value
);
}
public
static
ActiveCustomerAuditStatusEnum
getEnumByMsg
(
String
msg
)
{
for
(
ActiveCustomerAuditStatusEnum
e
:
ActiveCustomerAuditStatusEnum
.
values
())
{
if
(
e
.
getMsg
().
equals
(
msg
))
{
return
e
;
}
}
return
null
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerBean.java
View file @
5b683d1c
...
@@ -18,12 +18,19 @@ public class ActiveCustomerBean {
...
@@ -18,12 +18,19 @@ public class ActiveCustomerBean {
*/
*/
private
String
productName
;
private
String
productName
;
private
String
saleMobile
;
private
String
saleMobile
;
private
String
saleName
;
private
String
customerName
;
private
String
customerName
;
private
String
customerMobile
;
private
String
customerMobile
;
private
String
picUrl
;
private
String
picUrl
;
private
String
sex
;
private
String
sex
;
private
Date
createTime
;
private
Date
createTime
;
private
Date
updateTime
;
private
Date
updateTime
;
private
String
auditUser
;
private
Date
auditTime
;
private
Integer
auditState
;
private
String
auditRemark
;
public
Integer
getId
()
{
public
Integer
getId
()
{
return
id
;
return
id
;
}
}
...
@@ -82,6 +89,38 @@ public class ActiveCustomerBean {
...
@@ -82,6 +89,38 @@ public class ActiveCustomerBean {
public
void
setProductName
(
String
productName
)
{
public
void
setProductName
(
String
productName
)
{
this
.
productName
=
productName
;
this
.
productName
=
productName
;
}
}
public
String
getAuditUser
()
{
return
auditUser
;
}
public
void
setAuditUser
(
String
auditUser
)
{
this
.
auditUser
=
auditUser
;
}
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
public
Date
getAuditTime
()
{
return
auditTime
;
}
public
void
setAuditTime
(
Date
auditTime
)
{
this
.
auditTime
=
auditTime
;
}
public
Integer
getAuditState
()
{
return
auditState
;
}
public
void
setAuditState
(
Integer
auditState
)
{
this
.
auditState
=
auditState
;
}
public
String
getAuditRemark
()
{
return
auditRemark
;
}
public
void
setAuditRemark
(
String
auditRemark
)
{
this
.
auditRemark
=
auditRemark
;
}
public
String
getSaleName
()
{
return
saleName
;
}
public
void
setSaleName
(
String
saleName
)
{
this
.
saleName
=
saleName
;
}
...
...
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/user/ActiveCustomerQuery.java
0 → 100644
View file @
5b683d1c
package
com
.
ctrip
.
fun
.
common
.
vo
.
user
;
import
java.util.Date
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
com.ctrip.fun.common.vo.AbstractPagedQuery
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
public
class
ActiveCustomerQuery
extends
AbstractPagedQuery
<
ActiveCustomerQuery
>{
/**
*
*/
private
static
final
long
serialVersionUID
=
5695292361197511356L
;
private
Integer
id
;
/**
* 产品类型:980产品, 360产品
*/
private
String
productName
;
private
String
saleName
;
private
String
saleMobile
;
private
String
customerName
;
private
String
customerMobile
;
private
String
picUrl
;
private
String
sex
;
private
Date
createTime
;
private
Date
updateTime
;
private
String
auditUser
;
private
Date
auditTime
;
private
Integer
auditState
;
private
String
auditRemark
;
//社员证编号
private
String
communeNo
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getSaleMobile
()
{
return
saleMobile
;
}
public
void
setSaleMobile
(
String
saleMobile
)
{
this
.
saleMobile
=
saleMobile
;
}
public
String
getCustomerName
()
{
return
customerName
;
}
public
void
setCustomerName
(
String
customerName
)
{
this
.
customerName
=
customerName
;
}
public
String
getCustomerMobile
()
{
return
customerMobile
;
}
public
void
setCustomerMobile
(
String
customerMobile
)
{
this
.
customerMobile
=
customerMobile
;
}
public
String
getPicUrl
()
{
return
picUrl
;
}
public
void
setPicUrl
(
String
picUrl
)
{
this
.
picUrl
=
picUrl
;
}
public
String
getSex
()
{
return
sex
;
}
public
void
setSex
(
String
sex
)
{
this
.
sex
=
sex
;
}
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
String
getProductName
()
{
return
productName
;
}
public
void
setProductName
(
String
productName
)
{
this
.
productName
=
productName
;
}
public
String
getAuditUser
()
{
return
auditUser
;
}
public
void
setAuditUser
(
String
auditUser
)
{
this
.
auditUser
=
auditUser
;
}
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
public
Date
getAuditTime
()
{
return
auditTime
;
}
public
void
setAuditTime
(
Date
auditTime
)
{
this
.
auditTime
=
auditTime
;
}
public
Integer
getAuditState
()
{
return
auditState
;
}
public
void
setAuditState
(
Integer
auditState
)
{
this
.
auditState
=
auditState
;
}
public
String
getAuditRemark
()
{
return
auditRemark
;
}
public
void
setAuditRemark
(
String
auditRemark
)
{
this
.
auditRemark
=
auditRemark
;
}
public
String
getSaleName
()
{
return
saleName
;
}
public
void
setSaleName
(
String
saleName
)
{
this
.
saleName
=
saleName
;
}
public
String
getCommuneNo
()
{
return
communeNo
;
}
public
void
setCommuneNo
(
String
communeNo
)
{
this
.
communeNo
=
communeNo
;
}
}
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