Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
serviceApi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
antaile
serviceApi
Commits
de89b0fc
Commit
de89b0fc
authored
May 07, 2021
by
XiaHou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询展览纪念馆
parent
3386692a
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
5206 additions
and
16 deletions
+5206
-16
BeanUtils.java
...java/com/atlgroupasia/servicecenter/common/BeanUtils.java
+104
-0
OshAppointmentController.java
...ia/servicecenter/controller/OshAppointmentController.java
+38
-0
OshExhibitController.java
...upasia/servicecenter/controller/OshExhibitController.java
+13
-1
OshAppointmentApplyMapper.java
...a/servicecenter/mbg/mapper/OshAppointmentApplyMapper.java
+31
-0
OshAppointmentMapper.java
...upasia/servicecenter/mbg/mapper/OshAppointmentMapper.java
+31
-0
OshAppointment.java
...com/atlgroupasia/servicecenter/mbg/po/OshAppointment.java
+447
-0
OshAppointmentApply.java
...tlgroupasia/servicecenter/mbg/po/OshAppointmentApply.java
+133
-0
OshAppointmentApplyExample.java
...asia/servicecenter/mbg/po/OshAppointmentApplyExample.java
+742
-0
OshAppointmentExample.java
...groupasia/servicecenter/mbg/po/OshAppointmentExample.java
+2383
-0
OshAppointmentDao.java
...ervicecenter/operation/exhibit/dao/OshAppointmentDao.java
+22
-0
InsertOshAppointmentParam.java
...ter/operation/exhibit/pojo/InsertOshAppointmentParam.java
+41
-0
QueryAppointmentParam.java
...ecenter/operation/exhibit/pojo/QueryAppointmentParam.java
+22
-0
QueryAppointmentVO.java
...vicecenter/operation/exhibit/pojo/QueryAppointmentVO.java
+36
-0
IOshAppointmentService.java
...ter/operation/exhibit/service/IOshAppointmentService.java
+33
-0
IOshExhibitService.java
...ecenter/operation/exhibit/service/IOshExhibitService.java
+4
-0
OshAppointmentServiceImpl.java
...ation/exhibit/service/impl/OshAppointmentServiceImpl.java
+115
-0
OshExhibitServiceImpl.java
...operation/exhibit/service/impl/OshExhibitServiceImpl.java
+11
-3
application.yml
src/main/resources/application.yml
+12
-12
OshAppointmentApplyMapper.xml
src/main/resources/mapper/mbg/OshAppointmentApplyMapper.xml
+275
-0
OshAppointmentMapper.xml
src/main/resources/mapper/mbg/OshAppointmentMapper.xml
+686
-0
OshAppointmentDao.xml
.../resources/mapper/operation/exhibit/OshAppointmentDao.xml
+27
-0
No files found.
src/main/java/com/atlgroupasia/servicecenter/common/BeanUtils.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
common
;
import
java.lang.reflect.Method
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
/**
* Bean 工具类
*
* @author kachexing
*/
public
class
BeanUtils
extends
org
.
springframework
.
beans
.
BeanUtils
{
/**
* Bean方法名中属性名开始的下标
*/
private
static
final
int
BEAN_METHOD_PROP_INDEX
=
3
;
/**
* 匹配getter方法的正则表达式
*/
private
static
final
Pattern
GET_PATTERN
=
Pattern
.
compile
(
"get(\\p{javaUpperCase}\\w*)"
);
/**
* 匹配setter方法的正则表达式
*/
private
static
final
Pattern
SET_PATTERN
=
Pattern
.
compile
(
"set(\\p{javaUpperCase}\\w*)"
);
/**
* Bean属性复制工具方法。
*
* @param dest 目标对象
* @param src 源对象
*/
public
static
void
copyBeanProp
(
Object
dest
,
Object
src
)
{
try
{
copyProperties
(
src
,
dest
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
/**
* 获取对象的setter方法。
*
* @param obj 对象
* @return 对象的setter方法列表
*/
public
static
List
<
Method
>
getSetterMethods
(
Object
obj
)
{
// setter方法列表
List
<
Method
>
setterMethods
=
new
ArrayList
<
Method
>();
// 获取所有方法
Method
[]
methods
=
obj
.
getClass
().
getMethods
();
// 查找setter方法
for
(
Method
method
:
methods
)
{
Matcher
m
=
SET_PATTERN
.
matcher
(
method
.
getName
());
if
(
m
.
matches
()
&&
(
method
.
getParameterTypes
().
length
==
1
))
{
setterMethods
.
add
(
method
);
}
}
// 返回setter方法列表
return
setterMethods
;
}
/**
* 获取对象的getter方法。
*
* @param obj 对象
* @return 对象的getter方法列表
*/
public
static
List
<
Method
>
getGetterMethods
(
Object
obj
)
{
// getter方法列表
List
<
Method
>
getterMethods
=
new
ArrayList
<
Method
>();
// 获取所有方法
Method
[]
methods
=
obj
.
getClass
().
getMethods
();
// 查找getter方法
for
(
Method
method
:
methods
)
{
Matcher
m
=
GET_PATTERN
.
matcher
(
method
.
getName
());
if
(
m
.
matches
()
&&
(
method
.
getParameterTypes
().
length
==
0
))
{
getterMethods
.
add
(
method
);
}
}
// 返回getter方法列表
return
getterMethods
;
}
/**
* 检查Bean方法名中的属性名是否相等。<br>
* 如getName()和setName()属性名一样,getName()和setAge()属性名不一样。
*
* @param m1 方法名1
* @param m2 方法名2
* @return 属性名一样返回true,否则返回false
*/
public
static
boolean
isMethodPropEquals
(
String
m1
,
String
m2
)
{
return
m1
.
substring
(
BEAN_METHOD_PROP_INDEX
).
equals
(
m2
.
substring
(
BEAN_METHOD_PROP_INDEX
));
}
}
src/main/java/com/atlgroupasia/servicecenter/controller/OshAppointmentController.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
controller
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshAppointmentService
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.ModelAttribute
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
/**
* @Author xh
* @Date 2020/12/2
* description:
*/
@Controller
@Api
(
tags
=
"纪念馆预约相关接口"
,
description
=
"纪念馆预约控制器"
)
@RequestMapping
(
"/oshAppointment"
)
public
class
OshAppointmentController
{
@Autowired
private
IOshAppointmentService
oshAppointmentService
;
@ApiOperation
(
"分页查询纪念馆预约记录"
)
@RequestMapping
(
value
=
"/selectExhibitListByOther"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
JsonResult
selectExhibitListByOther
(
@ModelAttribute
Page
page
,
@ModelAttribute
QueryAppointmentParam
queryAppointmentParam
)
{
return
JsonResult
.
success
(
"查询成功"
,
this
.
oshAppointmentService
.
selectExhibitListByOther
(
queryAppointmentParam
,
page
));
}
}
src/main/java/com/atlgroupasia/servicecenter/controller/OshExhibitController.java
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
controller
;
package
com
.
atlgroupasia
.
servicecenter
.
controller
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.InsertOshAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshAppointmentService
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshExhibitService
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshExhibitService
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -25,12 +27,22 @@ public class OshExhibitController {
...
@@ -25,12 +27,22 @@ public class OshExhibitController {
@Autowired
@Autowired
private
IOshExhibitService
oshExhibitService
;
private
IOshExhibitService
oshExhibitService
;
@Autowired
private
IOshAppointmentService
oshAppointmentService
;
@ApiOperation
(
"分页查询展览纪念馆"
)
@ApiOperation
(
"分页查询展览纪念馆"
)
@RequestMapping
(
value
=
"/selectExhibitListByOther"
,
method
=
RequestMethod
.
GE
T
)
@RequestMapping
(
value
=
"/selectExhibitListByOther"
,
method
=
RequestMethod
.
POS
T
)
@ResponseBody
@ResponseBody
public
JsonResult
selectExhibitListByOther
(
@ModelAttribute
Page
page
,
public
JsonResult
selectExhibitListByOther
(
@ModelAttribute
Page
page
,
@ModelAttribute
QueryExhibitParam
queryExhibitParam
)
{
@ModelAttribute
QueryExhibitParam
queryExhibitParam
)
{
return
JsonResult
.
success
(
"查询成功"
,
this
.
oshExhibitService
.
selectExhibitListByOther
(
queryExhibitParam
,
page
));
return
JsonResult
.
success
(
"查询成功"
,
this
.
oshExhibitService
.
selectExhibitListByOther
(
queryExhibitParam
,
page
));
}
}
@ApiOperation
(
"提交现场纪念馆预约申请"
)
@RequestMapping
(
value
=
"/InsertOshAppointmentParam"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
JsonResult
InsertOshAppointmentParam
(
@ModelAttribute
InsertOshAppointmentParam
insertOshAppointmentParam
)
{
return
oshAppointmentService
.
insertOshAppointmentParam
(
insertOshAppointmentParam
);
}
}
}
src/main/java/com/atlgroupasia/servicecenter/mbg/mapper/OshAppointmentApplyMapper.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
mapper
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApplyExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
OshAppointmentApplyMapper
{
long
countByExample
(
OshAppointmentApplyExample
example
);
int
deleteByExample
(
OshAppointmentApplyExample
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
OshAppointmentApply
record
);
int
insertSelective
(
OshAppointmentApply
record
);
List
<
OshAppointmentApply
>
selectByExample
(
OshAppointmentApplyExample
example
);
OshAppointmentApply
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
OshAppointmentApply
record
,
@Param
(
"example"
)
OshAppointmentApplyExample
example
);
int
updateByExample
(
@Param
(
"record"
)
OshAppointmentApply
record
,
@Param
(
"example"
)
OshAppointmentApplyExample
example
);
int
updateByPrimaryKeySelective
(
OshAppointmentApply
record
);
int
updateByPrimaryKey
(
OshAppointmentApply
record
);
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/mbg/mapper/OshAppointmentMapper.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
mapper
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointment
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointmentExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
OshAppointmentMapper
{
long
countByExample
(
OshAppointmentExample
example
);
int
deleteByExample
(
OshAppointmentExample
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
OshAppointment
record
);
int
insertSelective
(
OshAppointment
record
);
List
<
OshAppointment
>
selectByExample
(
OshAppointmentExample
example
);
OshAppointment
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
OshAppointment
record
,
@Param
(
"example"
)
OshAppointmentExample
example
);
int
updateByExample
(
@Param
(
"record"
)
OshAppointment
record
,
@Param
(
"example"
)
OshAppointmentExample
example
);
int
updateByPrimaryKeySelective
(
OshAppointment
record
);
int
updateByPrimaryKey
(
OshAppointment
record
);
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/mbg/po/OshAppointment.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
po
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
javax.persistence.*
;
import
org.springframework.format.annotation.DateTimeFormat
;
@Entity
public
class
OshAppointment
implements
Serializable
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"用户ID"
)
private
Integer
userId
;
@ApiModelProperty
(
value
=
"0自驾;1接送"
)
private
Integer
mode
;
@ApiModelProperty
(
value
=
"如果是接送,会有接送费用"
)
private
BigDecimal
price
;
@ApiModelProperty
(
value
=
"人数"
)
private
Integer
person
;
@ApiModelProperty
(
value
=
"接送地的ID"
)
private
Integer
shuttleId
;
@ApiModelProperty
(
value
=
"接送地址"
)
private
String
shuttleAddress
;
@ApiModelProperty
(
value
=
"接送对应的时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
shuttleTime
;
@ApiModelProperty
(
value
=
"关联电话"
)
private
String
referPhone
;
@ApiModelProperty
(
value
=
"是否往返;0否;1是"
)
private
Integer
isBack
;
@ApiModelProperty
(
value
=
"自驾时的预计到达时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
arriveTime
;
@ApiModelProperty
(
value
=
"是否用餐;0否;1是"
)
private
Integer
haveDinner
;
@ApiModelProperty
(
value
=
"用餐人数"
)
private
Integer
dinnerPerson
;
@ApiModelProperty
(
value
=
"是否午餐;0否;1是"
)
private
Integer
isLunch
;
@ApiModelProperty
(
value
=
"是否晚餐;0否;1是"
)
private
Integer
isDinner
;
@ApiModelProperty
(
value
=
"联系人姓名"
)
private
String
contactName
;
@ApiModelProperty
(
value
=
"联系人电话"
)
private
String
contactPhone
;
@ApiModelProperty
(
value
=
"联系人身份证"
)
private
String
contactIdentify
;
@ApiModelProperty
(
value
=
"创建时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createTime
;
@ApiModelProperty
(
value
=
"关联ID"
)
private
Integer
referId
;
@ApiModelProperty
(
value
=
"关联类型;0代表参馆;1代表参加法会活动"
)
private
Integer
referType
;
@ApiModelProperty
(
value
=
"参馆结束时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
endTime
;
@ApiModelProperty
(
value
=
"参馆开始时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
beginTime
;
private
Integer
isContact
;
private
String
remark
;
private
Integer
isView
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updatetime
;
@ApiModelProperty
(
value
=
"微信支付的预支付Id"
)
private
String
prepayId
;
@ApiModelProperty
(
value
=
"微信支付了多少钱"
)
private
BigDecimal
thirdPay
;
@ApiModelProperty
(
value
=
"微信可退多少钱"
)
private
BigDecimal
thirdRefund
;
@ApiModelProperty
(
value
=
"微信支付流水号"
)
private
String
thirdPayNumber
;
@ApiModelProperty
(
value
=
"是否钱包支付1是0否"
)
private
Byte
isIncomePay
;
@ApiModelProperty
(
value
=
"钱包支付了多少钱"
)
private
BigDecimal
incomePay
;
@ApiModelProperty
(
value
=
"钱包可退多少钱"
)
private
BigDecimal
incomeRefund
;
private
Integer
isDel
;
private
static
final
long
serialVersionUID
=
1L
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
void
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
}
public
Integer
getMode
()
{
return
mode
;
}
public
void
setMode
(
Integer
mode
)
{
this
.
mode
=
mode
;
}
public
BigDecimal
getPrice
()
{
return
price
;
}
public
void
setPrice
(
BigDecimal
price
)
{
this
.
price
=
price
;
}
public
Integer
getPerson
()
{
return
person
;
}
public
void
setPerson
(
Integer
person
)
{
this
.
person
=
person
;
}
public
Integer
getShuttleId
()
{
return
shuttleId
;
}
public
void
setShuttleId
(
Integer
shuttleId
)
{
this
.
shuttleId
=
shuttleId
;
}
public
String
getShuttleAddress
()
{
return
shuttleAddress
;
}
public
void
setShuttleAddress
(
String
shuttleAddress
)
{
this
.
shuttleAddress
=
shuttleAddress
;
}
public
Date
getShuttleTime
()
{
return
shuttleTime
;
}
public
void
setShuttleTime
(
Date
shuttleTime
)
{
this
.
shuttleTime
=
shuttleTime
;
}
public
String
getReferPhone
()
{
return
referPhone
;
}
public
void
setReferPhone
(
String
referPhone
)
{
this
.
referPhone
=
referPhone
;
}
public
Integer
getIsBack
()
{
return
isBack
;
}
public
void
setIsBack
(
Integer
isBack
)
{
this
.
isBack
=
isBack
;
}
public
Date
getArriveTime
()
{
return
arriveTime
;
}
public
void
setArriveTime
(
Date
arriveTime
)
{
this
.
arriveTime
=
arriveTime
;
}
public
Integer
getHaveDinner
()
{
return
haveDinner
;
}
public
void
setHaveDinner
(
Integer
haveDinner
)
{
this
.
haveDinner
=
haveDinner
;
}
public
Integer
getDinnerPerson
()
{
return
dinnerPerson
;
}
public
void
setDinnerPerson
(
Integer
dinnerPerson
)
{
this
.
dinnerPerson
=
dinnerPerson
;
}
public
Integer
getIsLunch
()
{
return
isLunch
;
}
public
void
setIsLunch
(
Integer
isLunch
)
{
this
.
isLunch
=
isLunch
;
}
public
Integer
getIsDinner
()
{
return
isDinner
;
}
public
void
setIsDinner
(
Integer
isDinner
)
{
this
.
isDinner
=
isDinner
;
}
public
String
getContactName
()
{
return
contactName
;
}
public
void
setContactName
(
String
contactName
)
{
this
.
contactName
=
contactName
;
}
public
String
getContactPhone
()
{
return
contactPhone
;
}
public
void
setContactPhone
(
String
contactPhone
)
{
this
.
contactPhone
=
contactPhone
;
}
public
String
getContactIdentify
()
{
return
contactIdentify
;
}
public
void
setContactIdentify
(
String
contactIdentify
)
{
this
.
contactIdentify
=
contactIdentify
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Integer
getReferId
()
{
return
referId
;
}
public
void
setReferId
(
Integer
referId
)
{
this
.
referId
=
referId
;
}
public
Integer
getReferType
()
{
return
referType
;
}
public
void
setReferType
(
Integer
referType
)
{
this
.
referType
=
referType
;
}
public
Date
getEndTime
()
{
return
endTime
;
}
public
void
setEndTime
(
Date
endTime
)
{
this
.
endTime
=
endTime
;
}
public
Date
getBeginTime
()
{
return
beginTime
;
}
public
void
setBeginTime
(
Date
beginTime
)
{
this
.
beginTime
=
beginTime
;
}
public
Integer
getIsContact
()
{
return
isContact
;
}
public
void
setIsContact
(
Integer
isContact
)
{
this
.
isContact
=
isContact
;
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
public
Integer
getIsView
()
{
return
isView
;
}
public
void
setIsView
(
Integer
isView
)
{
this
.
isView
=
isView
;
}
public
Date
getUpdatetime
()
{
return
updatetime
;
}
public
void
setUpdatetime
(
Date
updatetime
)
{
this
.
updatetime
=
updatetime
;
}
public
String
getPrepayId
()
{
return
prepayId
;
}
public
void
setPrepayId
(
String
prepayId
)
{
this
.
prepayId
=
prepayId
;
}
public
BigDecimal
getThirdPay
()
{
return
thirdPay
;
}
public
void
setThirdPay
(
BigDecimal
thirdPay
)
{
this
.
thirdPay
=
thirdPay
;
}
public
BigDecimal
getThirdRefund
()
{
return
thirdRefund
;
}
public
void
setThirdRefund
(
BigDecimal
thirdRefund
)
{
this
.
thirdRefund
=
thirdRefund
;
}
public
String
getThirdPayNumber
()
{
return
thirdPayNumber
;
}
public
void
setThirdPayNumber
(
String
thirdPayNumber
)
{
this
.
thirdPayNumber
=
thirdPayNumber
;
}
public
Byte
getIsIncomePay
()
{
return
isIncomePay
;
}
public
void
setIsIncomePay
(
Byte
isIncomePay
)
{
this
.
isIncomePay
=
isIncomePay
;
}
public
BigDecimal
getIncomePay
()
{
return
incomePay
;
}
public
void
setIncomePay
(
BigDecimal
incomePay
)
{
this
.
incomePay
=
incomePay
;
}
public
BigDecimal
getIncomeRefund
()
{
return
incomeRefund
;
}
public
void
setIncomeRefund
(
BigDecimal
incomeRefund
)
{
this
.
incomeRefund
=
incomeRefund
;
}
public
Integer
getIsDel
()
{
return
isDel
;
}
public
void
setIsDel
(
Integer
isDel
)
{
this
.
isDel
=
isDel
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", mode="
).
append
(
mode
);
sb
.
append
(
", price="
).
append
(
price
);
sb
.
append
(
", person="
).
append
(
person
);
sb
.
append
(
", shuttleId="
).
append
(
shuttleId
);
sb
.
append
(
", shuttleAddress="
).
append
(
shuttleAddress
);
sb
.
append
(
", shuttleTime="
).
append
(
shuttleTime
);
sb
.
append
(
", referPhone="
).
append
(
referPhone
);
sb
.
append
(
", isBack="
).
append
(
isBack
);
sb
.
append
(
", arriveTime="
).
append
(
arriveTime
);
sb
.
append
(
", haveDinner="
).
append
(
haveDinner
);
sb
.
append
(
", dinnerPerson="
).
append
(
dinnerPerson
);
sb
.
append
(
", isLunch="
).
append
(
isLunch
);
sb
.
append
(
", isDinner="
).
append
(
isDinner
);
sb
.
append
(
", contactName="
).
append
(
contactName
);
sb
.
append
(
", contactPhone="
).
append
(
contactPhone
);
sb
.
append
(
", contactIdentify="
).
append
(
contactIdentify
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", referId="
).
append
(
referId
);
sb
.
append
(
", referType="
).
append
(
referType
);
sb
.
append
(
", endTime="
).
append
(
endTime
);
sb
.
append
(
", beginTime="
).
append
(
beginTime
);
sb
.
append
(
", isContact="
).
append
(
isContact
);
sb
.
append
(
", remark="
).
append
(
remark
);
sb
.
append
(
", isView="
).
append
(
isView
);
sb
.
append
(
", updatetime="
).
append
(
updatetime
);
sb
.
append
(
", prepayId="
).
append
(
prepayId
);
sb
.
append
(
", thirdPay="
).
append
(
thirdPay
);
sb
.
append
(
", thirdRefund="
).
append
(
thirdRefund
);
sb
.
append
(
", thirdPayNumber="
).
append
(
thirdPayNumber
);
sb
.
append
(
", isIncomePay="
).
append
(
isIncomePay
);
sb
.
append
(
", incomePay="
).
append
(
incomePay
);
sb
.
append
(
", incomeRefund="
).
append
(
incomeRefund
);
sb
.
append
(
", isDel="
).
append
(
isDel
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/mbg/po/OshAppointmentApply.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
po
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.util.Date
;
import
javax.persistence.*
;
import
org.springframework.format.annotation.DateTimeFormat
;
@Entity
public
class
OshAppointmentApply
implements
Serializable
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"关联id"
)
private
Integer
relationId
;
@ApiModelProperty
(
value
=
"0参馆 1法会"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"用户id"
)
private
Integer
userId
;
@ApiModelProperty
(
value
=
"预约id"
)
private
Integer
appointmentId
;
@ApiModelProperty
(
value
=
"审核状态0未审核。1,已通过2.未通过"
)
private
Integer
meetingState
;
@ApiModelProperty
(
value
=
"报名时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createTime
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updatetime
;
private
Integer
isDel
;
private
static
final
long
serialVersionUID
=
1L
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getRelationId
()
{
return
relationId
;
}
public
void
setRelationId
(
Integer
relationId
)
{
this
.
relationId
=
relationId
;
}
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
void
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
}
public
Integer
getAppointmentId
()
{
return
appointmentId
;
}
public
void
setAppointmentId
(
Integer
appointmentId
)
{
this
.
appointmentId
=
appointmentId
;
}
public
Integer
getMeetingState
()
{
return
meetingState
;
}
public
void
setMeetingState
(
Integer
meetingState
)
{
this
.
meetingState
=
meetingState
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdatetime
()
{
return
updatetime
;
}
public
void
setUpdatetime
(
Date
updatetime
)
{
this
.
updatetime
=
updatetime
;
}
public
Integer
getIsDel
()
{
return
isDel
;
}
public
void
setIsDel
(
Integer
isDel
)
{
this
.
isDel
=
isDel
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", relationId="
).
append
(
relationId
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", appointmentId="
).
append
(
appointmentId
);
sb
.
append
(
", meetingState="
).
append
(
meetingState
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updatetime="
).
append
(
updatetime
);
sb
.
append
(
", isDel="
).
append
(
isDel
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/mbg/po/OshAppointmentApplyExample.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
po
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
OshAppointmentApplyExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
OshAppointmentApplyExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdIsNull
()
{
addCriterion
(
"relation_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdIsNotNull
()
{
addCriterion
(
"relation_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdEqualTo
(
Integer
value
)
{
addCriterion
(
"relation_id ="
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"relation_id <>"
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"relation_id >"
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"relation_id >="
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdLessThan
(
Integer
value
)
{
addCriterion
(
"relation_id <"
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"relation_id <="
,
value
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"relation_id in"
,
values
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"relation_id not in"
,
values
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"relation_id between"
,
value1
,
value2
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRelationIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"relation_id not between"
,
value1
,
value2
,
"relationId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Integer
value
)
{
addCriterion
(
"type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNull
()
{
addCriterion
(
"user_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNotNull
()
{
addCriterion
(
"user_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id ="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id <>"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"user_id >"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id >="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThan
(
Integer
value
)
{
addCriterion
(
"user_id <"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id <="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"user_id in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"user_id not in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"user_id between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"user_id not between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdIsNull
()
{
addCriterion
(
"appointment_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdIsNotNull
()
{
addCriterion
(
"appointment_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdEqualTo
(
Integer
value
)
{
addCriterion
(
"appointment_id ="
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"appointment_id <>"
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"appointment_id >"
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"appointment_id >="
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdLessThan
(
Integer
value
)
{
addCriterion
(
"appointment_id <"
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"appointment_id <="
,
value
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"appointment_id in"
,
values
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"appointment_id not in"
,
values
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"appointment_id between"
,
value1
,
value2
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppointmentIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"appointment_id not between"
,
value1
,
value2
,
"appointmentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateIsNull
()
{
addCriterion
(
"meeting_state is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateIsNotNull
()
{
addCriterion
(
"meeting_state is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateEqualTo
(
Integer
value
)
{
addCriterion
(
"meeting_state ="
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateNotEqualTo
(
Integer
value
)
{
addCriterion
(
"meeting_state <>"
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateGreaterThan
(
Integer
value
)
{
addCriterion
(
"meeting_state >"
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"meeting_state >="
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateLessThan
(
Integer
value
)
{
addCriterion
(
"meeting_state <"
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"meeting_state <="
,
value
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"meeting_state in"
,
values
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"meeting_state not in"
,
values
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"meeting_state between"
,
value1
,
value2
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMeetingStateNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"meeting_state not between"
,
value1
,
value2
,
"meetingState"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNull
()
{
addCriterion
(
"updatetime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNotNull
()
{
addCriterion
(
"updatetime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime ="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <>"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"updatetime >"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime >="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThan
(
Date
value
)
{
addCriterion
(
"updatetime <"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime not in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime not between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIsNull
()
{
addCriterion
(
"is_del is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIsNotNull
()
{
addCriterion
(
"is_del is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del ="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del <>"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_del >"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del >="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelLessThan
(
Integer
value
)
{
addCriterion
(
"is_del <"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del <="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_del in"
,
values
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_del not in"
,
values
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_del between"
,
value1
,
value2
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_del not between"
,
value1
,
value2
,
"isDel"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/mbg/po/OshAppointmentExample.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
mbg
.
po
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
OshAppointmentExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
OshAppointmentExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNull
()
{
addCriterion
(
"user_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNotNull
()
{
addCriterion
(
"user_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id ="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id <>"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"user_id >"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id >="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThan
(
Integer
value
)
{
addCriterion
(
"user_id <"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"user_id <="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"user_id in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"user_id not in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"user_id between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"user_id not between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeIsNull
()
{
addCriterion
(
"mode is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeIsNotNull
()
{
addCriterion
(
"mode is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeEqualTo
(
Integer
value
)
{
addCriterion
(
"mode ="
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"mode <>"
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeGreaterThan
(
Integer
value
)
{
addCriterion
(
"mode >"
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"mode >="
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeLessThan
(
Integer
value
)
{
addCriterion
(
"mode <"
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"mode <="
,
value
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"mode in"
,
values
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"mode not in"
,
values
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"mode between"
,
value1
,
value2
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"mode not between"
,
value1
,
value2
,
"mode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIsNull
()
{
addCriterion
(
"price is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIsNotNull
()
{
addCriterion
(
"price is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price ="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price <>"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"price >"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price >="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceLessThan
(
BigDecimal
value
)
{
addCriterion
(
"price <"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price <="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"price in"
,
values
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"price not in"
,
values
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"price between"
,
value1
,
value2
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"price not between"
,
value1
,
value2
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonIsNull
()
{
addCriterion
(
"person is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonIsNotNull
()
{
addCriterion
(
"person is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonEqualTo
(
Integer
value
)
{
addCriterion
(
"person ="
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonNotEqualTo
(
Integer
value
)
{
addCriterion
(
"person <>"
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonGreaterThan
(
Integer
value
)
{
addCriterion
(
"person >"
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"person >="
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonLessThan
(
Integer
value
)
{
addCriterion
(
"person <"
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"person <="
,
value
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"person in"
,
values
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"person not in"
,
values
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"person between"
,
value1
,
value2
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPersonNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"person not between"
,
value1
,
value2
,
"person"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdIsNull
()
{
addCriterion
(
"shuttle_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdIsNotNull
()
{
addCriterion
(
"shuttle_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdEqualTo
(
Integer
value
)
{
addCriterion
(
"shuttle_id ="
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"shuttle_id <>"
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"shuttle_id >"
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"shuttle_id >="
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdLessThan
(
Integer
value
)
{
addCriterion
(
"shuttle_id <"
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"shuttle_id <="
,
value
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"shuttle_id in"
,
values
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"shuttle_id not in"
,
values
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"shuttle_id between"
,
value1
,
value2
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"shuttle_id not between"
,
value1
,
value2
,
"shuttleId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressIsNull
()
{
addCriterion
(
"shuttle_address is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressIsNotNull
()
{
addCriterion
(
"shuttle_address is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressEqualTo
(
String
value
)
{
addCriterion
(
"shuttle_address ="
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressNotEqualTo
(
String
value
)
{
addCriterion
(
"shuttle_address <>"
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressGreaterThan
(
String
value
)
{
addCriterion
(
"shuttle_address >"
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shuttle_address >="
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressLessThan
(
String
value
)
{
addCriterion
(
"shuttle_address <"
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shuttle_address <="
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressLike
(
String
value
)
{
addCriterion
(
"shuttle_address like"
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressNotLike
(
String
value
)
{
addCriterion
(
"shuttle_address not like"
,
value
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressIn
(
List
<
String
>
values
)
{
addCriterion
(
"shuttle_address in"
,
values
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"shuttle_address not in"
,
values
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shuttle_address between"
,
value1
,
value2
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleAddressNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shuttle_address not between"
,
value1
,
value2
,
"shuttleAddress"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeIsNull
()
{
addCriterion
(
"shuttle_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeIsNotNull
()
{
addCriterion
(
"shuttle_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeEqualTo
(
Date
value
)
{
addCriterion
(
"shuttle_time ="
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"shuttle_time <>"
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"shuttle_time >"
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"shuttle_time >="
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeLessThan
(
Date
value
)
{
addCriterion
(
"shuttle_time <"
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"shuttle_time <="
,
value
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"shuttle_time in"
,
values
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"shuttle_time not in"
,
values
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"shuttle_time between"
,
value1
,
value2
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShuttleTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"shuttle_time not between"
,
value1
,
value2
,
"shuttleTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneIsNull
()
{
addCriterion
(
"refer_phone is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneIsNotNull
()
{
addCriterion
(
"refer_phone is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneEqualTo
(
String
value
)
{
addCriterion
(
"refer_phone ="
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_phone <>"
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneGreaterThan
(
String
value
)
{
addCriterion
(
"refer_phone >"
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_phone >="
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneLessThan
(
String
value
)
{
addCriterion
(
"refer_phone <"
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_phone <="
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneLike
(
String
value
)
{
addCriterion
(
"refer_phone like"
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneNotLike
(
String
value
)
{
addCriterion
(
"refer_phone not like"
,
value
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_phone in"
,
values
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_phone not in"
,
values
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_phone between"
,
value1
,
value2
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferPhoneNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_phone not between"
,
value1
,
value2
,
"referPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackIsNull
()
{
addCriterion
(
"is_back is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackIsNotNull
()
{
addCriterion
(
"is_back is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackEqualTo
(
Integer
value
)
{
addCriterion
(
"is_back ="
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_back <>"
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_back >"
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_back >="
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackLessThan
(
Integer
value
)
{
addCriterion
(
"is_back <"
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_back <="
,
value
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_back in"
,
values
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_back not in"
,
values
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_back between"
,
value1
,
value2
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsBackNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_back not between"
,
value1
,
value2
,
"isBack"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeIsNull
()
{
addCriterion
(
"arrive_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeIsNotNull
()
{
addCriterion
(
"arrive_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeEqualTo
(
Date
value
)
{
addCriterion
(
"arrive_time ="
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"arrive_time <>"
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"arrive_time >"
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"arrive_time >="
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeLessThan
(
Date
value
)
{
addCriterion
(
"arrive_time <"
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"arrive_time <="
,
value
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"arrive_time in"
,
values
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"arrive_time not in"
,
values
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"arrive_time between"
,
value1
,
value2
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andArriveTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"arrive_time not between"
,
value1
,
value2
,
"arriveTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerIsNull
()
{
addCriterion
(
"have_dinner is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerIsNotNull
()
{
addCriterion
(
"have_dinner is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerEqualTo
(
Integer
value
)
{
addCriterion
(
"have_dinner ="
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerNotEqualTo
(
Integer
value
)
{
addCriterion
(
"have_dinner <>"
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerGreaterThan
(
Integer
value
)
{
addCriterion
(
"have_dinner >"
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"have_dinner >="
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerLessThan
(
Integer
value
)
{
addCriterion
(
"have_dinner <"
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"have_dinner <="
,
value
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"have_dinner in"
,
values
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"have_dinner not in"
,
values
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"have_dinner between"
,
value1
,
value2
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHaveDinnerNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"have_dinner not between"
,
value1
,
value2
,
"haveDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonIsNull
()
{
addCriterion
(
"dinner_person is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonIsNotNull
()
{
addCriterion
(
"dinner_person is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonEqualTo
(
Integer
value
)
{
addCriterion
(
"dinner_person ="
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonNotEqualTo
(
Integer
value
)
{
addCriterion
(
"dinner_person <>"
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonGreaterThan
(
Integer
value
)
{
addCriterion
(
"dinner_person >"
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"dinner_person >="
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonLessThan
(
Integer
value
)
{
addCriterion
(
"dinner_person <"
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"dinner_person <="
,
value
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"dinner_person in"
,
values
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"dinner_person not in"
,
values
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"dinner_person between"
,
value1
,
value2
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDinnerPersonNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"dinner_person not between"
,
value1
,
value2
,
"dinnerPerson"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchIsNull
()
{
addCriterion
(
"is_lunch is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchIsNotNull
()
{
addCriterion
(
"is_lunch is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchEqualTo
(
Integer
value
)
{
addCriterion
(
"is_lunch ="
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_lunch <>"
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_lunch >"
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_lunch >="
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchLessThan
(
Integer
value
)
{
addCriterion
(
"is_lunch <"
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_lunch <="
,
value
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_lunch in"
,
values
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_lunch not in"
,
values
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_lunch between"
,
value1
,
value2
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsLunchNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_lunch not between"
,
value1
,
value2
,
"isLunch"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerIsNull
()
{
addCriterion
(
"is_dinner is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerIsNotNull
()
{
addCriterion
(
"is_dinner is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerEqualTo
(
Integer
value
)
{
addCriterion
(
"is_dinner ="
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_dinner <>"
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_dinner >"
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_dinner >="
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerLessThan
(
Integer
value
)
{
addCriterion
(
"is_dinner <"
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_dinner <="
,
value
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_dinner in"
,
values
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_dinner not in"
,
values
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_dinner between"
,
value1
,
value2
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDinnerNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_dinner not between"
,
value1
,
value2
,
"isDinner"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameIsNull
()
{
addCriterion
(
"contact_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameIsNotNull
()
{
addCriterion
(
"contact_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameEqualTo
(
String
value
)
{
addCriterion
(
"contact_name ="
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameNotEqualTo
(
String
value
)
{
addCriterion
(
"contact_name <>"
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameGreaterThan
(
String
value
)
{
addCriterion
(
"contact_name >"
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_name >="
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameLessThan
(
String
value
)
{
addCriterion
(
"contact_name <"
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_name <="
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameLike
(
String
value
)
{
addCriterion
(
"contact_name like"
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameNotLike
(
String
value
)
{
addCriterion
(
"contact_name not like"
,
value
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_name in"
,
values
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_name not in"
,
values
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_name between"
,
value1
,
value2
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_name not between"
,
value1
,
value2
,
"contactName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneIsNull
()
{
addCriterion
(
"contact_phone is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneIsNotNull
()
{
addCriterion
(
"contact_phone is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneEqualTo
(
String
value
)
{
addCriterion
(
"contact_phone ="
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneNotEqualTo
(
String
value
)
{
addCriterion
(
"contact_phone <>"
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneGreaterThan
(
String
value
)
{
addCriterion
(
"contact_phone >"
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_phone >="
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneLessThan
(
String
value
)
{
addCriterion
(
"contact_phone <"
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_phone <="
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneLike
(
String
value
)
{
addCriterion
(
"contact_phone like"
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneNotLike
(
String
value
)
{
addCriterion
(
"contact_phone not like"
,
value
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_phone in"
,
values
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_phone not in"
,
values
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_phone between"
,
value1
,
value2
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactPhoneNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_phone not between"
,
value1
,
value2
,
"contactPhone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyIsNull
()
{
addCriterion
(
"contact_identify is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyIsNotNull
()
{
addCriterion
(
"contact_identify is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyEqualTo
(
String
value
)
{
addCriterion
(
"contact_identify ="
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyNotEqualTo
(
String
value
)
{
addCriterion
(
"contact_identify <>"
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyGreaterThan
(
String
value
)
{
addCriterion
(
"contact_identify >"
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_identify >="
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyLessThan
(
String
value
)
{
addCriterion
(
"contact_identify <"
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contact_identify <="
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyLike
(
String
value
)
{
addCriterion
(
"contact_identify like"
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyNotLike
(
String
value
)
{
addCriterion
(
"contact_identify not like"
,
value
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_identify in"
,
values
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"contact_identify not in"
,
values
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_identify between"
,
value1
,
value2
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactIdentifyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contact_identify not between"
,
value1
,
value2
,
"contactIdentify"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdIsNull
()
{
addCriterion
(
"refer_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdIsNotNull
()
{
addCriterion
(
"refer_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_id ="
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_id <>"
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"refer_id >"
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_id >="
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdLessThan
(
Integer
value
)
{
addCriterion
(
"refer_id <"
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_id <="
,
value
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"refer_id in"
,
values
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"refer_id not in"
,
values
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"refer_id between"
,
value1
,
value2
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"refer_id not between"
,
value1
,
value2
,
"referId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeIsNull
()
{
addCriterion
(
"refer_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeIsNotNull
()
{
addCriterion
(
"refer_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_type ="
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_type <>"
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"refer_type >"
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_type >="
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeLessThan
(
Integer
value
)
{
addCriterion
(
"refer_type <"
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"refer_type <="
,
value
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"refer_type in"
,
values
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"refer_type not in"
,
values
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"refer_type between"
,
value1
,
value2
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"refer_type not between"
,
value1
,
value2
,
"referType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIsNull
()
{
addCriterion
(
"end_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIsNotNull
()
{
addCriterion
(
"end_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeEqualTo
(
Date
value
)
{
addCriterion
(
"end_time ="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"end_time <>"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"end_time >"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_time >="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThan
(
Date
value
)
{
addCriterion
(
"end_time <"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_time <="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_time in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_time not in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_time between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_time not between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeIsNull
()
{
addCriterion
(
"begin_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeIsNotNull
()
{
addCriterion
(
"begin_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeEqualTo
(
Date
value
)
{
addCriterion
(
"begin_time ="
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"begin_time <>"
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"begin_time >"
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"begin_time >="
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeLessThan
(
Date
value
)
{
addCriterion
(
"begin_time <"
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"begin_time <="
,
value
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"begin_time in"
,
values
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"begin_time not in"
,
values
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"begin_time between"
,
value1
,
value2
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"begin_time not between"
,
value1
,
value2
,
"beginTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactIsNull
()
{
addCriterion
(
"is_contact is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactIsNotNull
()
{
addCriterion
(
"is_contact is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactEqualTo
(
Integer
value
)
{
addCriterion
(
"is_contact ="
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_contact <>"
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_contact >"
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_contact >="
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactLessThan
(
Integer
value
)
{
addCriterion
(
"is_contact <"
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_contact <="
,
value
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_contact in"
,
values
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_contact not in"
,
values
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_contact between"
,
value1
,
value2
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsContactNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_contact not between"
,
value1
,
value2
,
"isContact"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewIsNull
()
{
addCriterion
(
"is_view is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewIsNotNull
()
{
addCriterion
(
"is_view is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewEqualTo
(
Integer
value
)
{
addCriterion
(
"is_view ="
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_view <>"
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_view >"
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_view >="
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewLessThan
(
Integer
value
)
{
addCriterion
(
"is_view <"
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_view <="
,
value
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_view in"
,
values
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_view not in"
,
values
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_view between"
,
value1
,
value2
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsViewNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_view not between"
,
value1
,
value2
,
"isView"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNull
()
{
addCriterion
(
"updatetime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNotNull
()
{
addCriterion
(
"updatetime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime ="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <>"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"updatetime >"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime >="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThan
(
Date
value
)
{
addCriterion
(
"updatetime <"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime not in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime not between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdIsNull
()
{
addCriterion
(
"prepay_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdIsNotNull
()
{
addCriterion
(
"prepay_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdEqualTo
(
String
value
)
{
addCriterion
(
"prepay_id ="
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdNotEqualTo
(
String
value
)
{
addCriterion
(
"prepay_id <>"
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdGreaterThan
(
String
value
)
{
addCriterion
(
"prepay_id >"
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"prepay_id >="
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdLessThan
(
String
value
)
{
addCriterion
(
"prepay_id <"
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"prepay_id <="
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdLike
(
String
value
)
{
addCriterion
(
"prepay_id like"
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdNotLike
(
String
value
)
{
addCriterion
(
"prepay_id not like"
,
value
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"prepay_id in"
,
values
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"prepay_id not in"
,
values
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"prepay_id between"
,
value1
,
value2
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPrepayIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"prepay_id not between"
,
value1
,
value2
,
"prepayId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayIsNull
()
{
addCriterion
(
"third_pay is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayIsNotNull
()
{
addCriterion
(
"third_pay is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_pay ="
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_pay <>"
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"third_pay >"
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_pay >="
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayLessThan
(
BigDecimal
value
)
{
addCriterion
(
"third_pay <"
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_pay <="
,
value
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"third_pay in"
,
values
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"third_pay not in"
,
values
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"third_pay between"
,
value1
,
value2
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"third_pay not between"
,
value1
,
value2
,
"thirdPay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundIsNull
()
{
addCriterion
(
"third_refund is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundIsNotNull
()
{
addCriterion
(
"third_refund is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_refund ="
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_refund <>"
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"third_refund >"
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_refund >="
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundLessThan
(
BigDecimal
value
)
{
addCriterion
(
"third_refund <"
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"third_refund <="
,
value
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"third_refund in"
,
values
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"third_refund not in"
,
values
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"third_refund between"
,
value1
,
value2
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdRefundNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"third_refund not between"
,
value1
,
value2
,
"thirdRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberIsNull
()
{
addCriterion
(
"third_pay_number is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberIsNotNull
()
{
addCriterion
(
"third_pay_number is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberEqualTo
(
String
value
)
{
addCriterion
(
"third_pay_number ="
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberNotEqualTo
(
String
value
)
{
addCriterion
(
"third_pay_number <>"
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberGreaterThan
(
String
value
)
{
addCriterion
(
"third_pay_number >"
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"third_pay_number >="
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberLessThan
(
String
value
)
{
addCriterion
(
"third_pay_number <"
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"third_pay_number <="
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberLike
(
String
value
)
{
addCriterion
(
"third_pay_number like"
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberNotLike
(
String
value
)
{
addCriterion
(
"third_pay_number not like"
,
value
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberIn
(
List
<
String
>
values
)
{
addCriterion
(
"third_pay_number in"
,
values
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"third_pay_number not in"
,
values
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"third_pay_number between"
,
value1
,
value2
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdPayNumberNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"third_pay_number not between"
,
value1
,
value2
,
"thirdPayNumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayIsNull
()
{
addCriterion
(
"is_income_pay is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayIsNotNull
()
{
addCriterion
(
"is_income_pay is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayEqualTo
(
Byte
value
)
{
addCriterion
(
"is_income_pay ="
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayNotEqualTo
(
Byte
value
)
{
addCriterion
(
"is_income_pay <>"
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayGreaterThan
(
Byte
value
)
{
addCriterion
(
"is_income_pay >"
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"is_income_pay >="
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayLessThan
(
Byte
value
)
{
addCriterion
(
"is_income_pay <"
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"is_income_pay <="
,
value
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"is_income_pay in"
,
values
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"is_income_pay not in"
,
values
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"is_income_pay between"
,
value1
,
value2
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsIncomePayNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"is_income_pay not between"
,
value1
,
value2
,
"isIncomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayIsNull
()
{
addCriterion
(
"income_pay is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayIsNotNull
()
{
addCriterion
(
"income_pay is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_pay ="
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_pay <>"
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"income_pay >"
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_pay >="
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayLessThan
(
BigDecimal
value
)
{
addCriterion
(
"income_pay <"
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_pay <="
,
value
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"income_pay in"
,
values
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"income_pay not in"
,
values
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"income_pay between"
,
value1
,
value2
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomePayNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"income_pay not between"
,
value1
,
value2
,
"incomePay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundIsNull
()
{
addCriterion
(
"income_refund is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundIsNotNull
()
{
addCriterion
(
"income_refund is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_refund ="
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_refund <>"
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"income_refund >"
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_refund >="
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundLessThan
(
BigDecimal
value
)
{
addCriterion
(
"income_refund <"
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"income_refund <="
,
value
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"income_refund in"
,
values
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"income_refund not in"
,
values
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"income_refund between"
,
value1
,
value2
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIncomeRefundNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"income_refund not between"
,
value1
,
value2
,
"incomeRefund"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIsNull
()
{
addCriterion
(
"is_del is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIsNotNull
()
{
addCriterion
(
"is_del is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del ="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del <>"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_del >"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del >="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelLessThan
(
Integer
value
)
{
addCriterion
(
"is_del <"
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_del <="
,
value
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_del in"
,
values
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_del not in"
,
values
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_del between"
,
value1
,
value2
,
"isDel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsDelNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_del not between"
,
value1
,
value2
,
"isDel"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/dao/OshAppointmentDao.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
dao
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentVO
;
import
java.util.List
;
/**
* @Author xh
* @Date 2021/4/15
* description:
*/
public
interface
OshAppointmentDao
{
/**
* 分页查询预约申请
*
* @param queryAppointmentParam
* @return
*/
List
<
QueryAppointmentVO
>
selectExhibitListByOther
(
QueryAppointmentParam
queryAppointmentParam
);
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/pojo/InsertOshAppointmentParam.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
pojo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Author xh
* @Date 2021/4/19
* description:
*/
@Data
public
class
InsertOshAppointmentParam
implements
Serializable
{
@ApiModelProperty
(
value
=
"用户id"
)
private
Integer
userId
;
@ApiModelProperty
(
value
=
"关联寺庙Id"
)
private
Integer
referId
;
@ApiModelProperty
(
value
=
"人数"
)
private
Integer
person
;
@ApiModelProperty
(
value
=
"参观结束时间"
)
private
Date
endTime
;
@ApiModelProperty
(
value
=
"参观开始时间"
)
private
Date
beginTime
;
@ApiModelProperty
(
value
=
"是否用餐;0否;1是"
)
private
Integer
haveDinner
;
@ApiModelProperty
(
value
=
"用餐人数"
)
private
Integer
dinnerPerson
;
@ApiModelProperty
(
value
=
"联系人姓名"
)
private
String
contactName
;
@ApiModelProperty
(
value
=
"联系人电话"
)
private
String
contactPhone
;
@ApiModelProperty
(
value
=
"联系人身份证"
)
private
String
contactIdentify
;
@ApiModelProperty
(
value
=
"到达时间"
)
private
Date
arriveTime
;
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/pojo/QueryAppointmentParam.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
pojo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* @Author xh
* @Date 2021/4/20
* description:
*/
@Data
public
class
QueryAppointmentParam
implements
Serializable
{
@ApiModelProperty
(
value
=
"预约状态 0 未处理 1 已处理"
)
private
Integer
isContact
;
@ApiModelProperty
(
value
=
"关联类型;0代表参馆;1代表参加法会活动 默认要传0"
)
private
Integer
referType
;
@ApiModelProperty
(
value
=
"用户Id"
)
private
Integer
userId
;
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/pojo/QueryAppointmentVO.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
pojo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* @Author xh
* @Date 2021/4/20
* description:
*/
@Data
public
class
QueryAppointmentVO
implements
Serializable
{
@ApiModelProperty
(
value
=
"预约id"
)
private
Integer
appointmentId
;
@ApiModelProperty
(
value
=
"参馆名称"
)
private
String
templeName
;
@ApiModelProperty
(
value
=
"联系人"
)
private
String
contactName
;
@ApiModelProperty
(
value
=
"联系人电话"
)
private
String
contactPhone
;
@ApiModelProperty
(
value
=
"联系人身份证"
)
private
String
contactIdentify
;
@ApiModelProperty
(
value
=
"参馆结束时间"
)
private
String
endTime
;
@ApiModelProperty
(
value
=
"参观起始时间"
)
private
String
beginTime
;
@ApiModelProperty
(
value
=
"是否用餐"
)
private
Integer
haveDinner
;
@ApiModelProperty
(
value
=
"用餐人数"
)
private
Integer
dinnerPerson
;
@ApiModelProperty
(
value
=
"到达时间"
)
private
String
arriveTime
;
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/service/IOshAppointmentService.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
service
;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.InsertOshAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentVO
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
/**
* @Author xh
* @Date 2021/4/15
* description:
*/
public
interface
IOshAppointmentService
{
/**
* 插入预约申请
*
* @param insertOshAppointmentParam
* @return
*/
JsonResult
insertOshAppointmentParam
(
InsertOshAppointmentParam
insertOshAppointmentParam
);
/**
* 分页查询预约列表
*
* @param queryAppointmentParam
* @param page
* @return
*/
CommonPage
<
QueryAppointmentVO
>
selectExhibitListByOther
(
QueryAppointmentParam
queryAppointmentParam
,
Page
page
);
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/service/IOshExhibitService.java
View file @
de89b0fc
...
@@ -2,8 +2,10 @@ package com.atlgroupasia.servicecenter.operation.exhibit.service;
...
@@ -2,8 +2,10 @@ package com.atlgroupasia.servicecenter.operation.exhibit.service;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.InsertOshAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitVO
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitVO
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
/**
/**
* @Author xh
* @Author xh
...
@@ -14,10 +16,12 @@ public interface IOshExhibitService {
...
@@ -14,10 +16,12 @@ public interface IOshExhibitService {
/**
/**
* 分页查询 可展览机娘
* 分页查询 可展览机娘
*
* @param queryExhibitParam
* @param queryExhibitParam
* @param page
* @param page
* @return
* @return
*/
*/
CommonPage
<
QueryExhibitVO
>
selectExhibitListByOther
(
QueryExhibitParam
queryExhibitParam
,
Page
page
);
CommonPage
<
QueryExhibitVO
>
selectExhibitListByOther
(
QueryExhibitParam
queryExhibitParam
,
Page
page
);
}
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/service/impl/OshAppointmentServiceImpl.java
0 → 100644
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
service
.
impl
;
import
com.atlgroupasia.servicecenter.common.BeanUtils
;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.Constants
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentApplyMapper
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentMapper
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshExhibitMapper
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointment
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply
;
import
com.atlgroupasia.servicecenter.operation.exhibit.dao.OshAppointmentDao
;
import
com.atlgroupasia.servicecenter.operation.exhibit.dao.OshExhibitDao
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.*
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshAppointmentService
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshExhibitService
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.List
;
/**
* @Author xh
* @Date 2021/4/15
* description:
*/
@Service
public
class
OshAppointmentServiceImpl
implements
IOshAppointmentService
{
@Resource
private
OshAppointmentMapper
oshAppointmentMapper
;
@Resource
private
OshAppointmentDao
oshAppointmentDao
;
@Resource
private
OshAppointmentApplyMapper
oshAppointmentApplyMapper
;
/**
* 插入预约申请
*
* @param insertOshAppointmentParam
* @return
*/
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
JsonResult
insertOshAppointmentParam
(
InsertOshAppointmentParam
insertOshAppointmentParam
)
{
JsonResult
res
=
this
.
check
(
insertOshAppointmentParam
);
if
(
res
.
getStatus
().
equals
(
Constants
.
RESPONSE_STATUS_500
)){
return
res
;
}
//插入预约记录表
OshAppointment
oshAppointment
=
new
OshAppointment
();
BeanUtils
.
copyProperties
(
insertOshAppointmentParam
,
oshAppointment
);
this
.
oshAppointmentMapper
.
insertSelective
(
oshAppointment
);
return
JsonResult
.
success
(
"提交成功"
);
}
/**
* 分页查询预约列表
*
* @param queryAppointmentParam
* @param page
* @return
*/
@Override
public
CommonPage
<
QueryAppointmentVO
>
selectExhibitListByOther
(
QueryAppointmentParam
queryAppointmentParam
,
Page
page
){
if
(
page
!=
null
&&
page
.
getPageNum
()
!=
null
&&
page
.
getPageSize
()
!=
null
)
{
PageHelper
.
startPage
(
page
.
getPageNum
(),
page
.
getPageSize
());
}
List
<
QueryAppointmentVO
>
queryExhibitVOList
=
this
.
oshAppointmentDao
.
selectExhibitListByOther
(
queryAppointmentParam
);
//记录下 pagehelper第一次分页查询的 返回得总条数 等信息
PageInfo
<
QueryAppointmentVO
>
pageInfo
=
new
PageInfo
<>(
queryExhibitVOList
);
//因为进行了第二次查询 所以pageHelp得分页总数得到了变化 导致不准确 因此我们需要手动校准一下
CommonPage
<
QueryAppointmentVO
>
result
=
new
CommonPage
<
QueryAppointmentVO
>();
result
.
setTotalPage
(
pageInfo
.
getPages
());
result
.
setPageNum
(
pageInfo
.
getPageNum
());
result
.
setPageSize
(
pageInfo
.
getPageSize
());
result
.
setTotal
(
pageInfo
.
getTotal
());
result
.
setList
(
queryExhibitVOList
);
return
result
;
}
/**
* 校验插入对象
*
* @param insertOshAppointmentParam
* @return
*/
private
JsonResult
check
(
InsertOshAppointmentParam
insertOshAppointmentParam
)
{
if
(
insertOshAppointmentParam
.
getPerson
()
==
null
){
return
JsonResult
.
failed
(
"传入人数为空"
);
}
if
(
insertOshAppointmentParam
.
getReferId
()
==
null
){
return
JsonResult
.
failed
(
"传入关联id为空"
);
}
if
(
insertOshAppointmentParam
.
getEndTime
()
==
null
||
insertOshAppointmentParam
.
getBeginTime
()
==
null
){
return
JsonResult
.
failed
(
"传入时间段不能为空!"
);
}
if
(
insertOshAppointmentParam
.
getContactName
()
==
null
||
insertOshAppointmentParam
.
getContactName
().
isEmpty
()){
return
JsonResult
.
failed
(
"传入联系人不能为空!"
);
}
if
(
insertOshAppointmentParam
.
getContactPhone
()
==
null
||
insertOshAppointmentParam
.
getContactPhone
().
isEmpty
()){
return
JsonResult
.
failed
(
"传入联系电话不能为空!"
);
}
if
(
insertOshAppointmentParam
.
getUserId
()
==
null
){
return
JsonResult
.
failed
(
"传入用户Id不能为空!"
);
}
return
JsonResult
.
success
(
"校验通过"
);
}
}
src/main/java/com/atlgroupasia/servicecenter/operation/exhibit/service/impl/OshExhibitServiceImpl.java
View file @
de89b0fc
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
service
.
impl
;
package
com
.
atlgroupasia
.
servicecenter
.
operation
.
exhibit
.
service
.
impl
;
import
com.atlgroupasia.servicecenter.common.BeanUtils
;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.CommonPage
;
import
com.atlgroupasia.servicecenter.common.Constants
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.common.Page
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentMapper
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshExhibitMapper
;
import
com.atlgroupasia.servicecenter.mbg.mapper.OshExhibitMapper
;
import
com.atlgroupasia.servicecenter.mbg.po.OshAppointment
;
import
com.atlgroupasia.servicecenter.operation.exhibit.dao.OshExhibitDao
;
import
com.atlgroupasia.servicecenter.operation.exhibit.dao.OshExhibitDao
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.InsertOshAppointmentParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitParam
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitVO
;
import
com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryExhibitVO
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshExhibitService
;
import
com.atlgroupasia.servicecenter.operation.exhibit.service.IOshExhibitService
;
import
com.atlgroupasia.servicecenter.utils.JsonResult
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
/**
* @Author xh
* @Author xh
...
@@ -27,16 +33,18 @@ public class OshExhibitServiceImpl implements IOshExhibitService {
...
@@ -27,16 +33,18 @@ public class OshExhibitServiceImpl implements IOshExhibitService {
private
OshExhibitMapper
oshExhibitMapper
;
private
OshExhibitMapper
oshExhibitMapper
;
@Resource
@Resource
private
OshExhibitDao
oshExhibitDao
;
private
OshExhibitDao
oshExhibitDao
;
@Resource
private
OshAppointmentMapper
oshAppointmentMapper
;
/**
/**
* 分页查询 可展览机娘
* 分页查询 可展览机娘
*
* @param queryExhibitParam
* @param queryExhibitParam
* @param page
* @param page
* @return
* @return
*/
*/
@Override
@Override
public
CommonPage
<
QueryExhibitVO
>
selectExhibitListByOther
(
QueryExhibitParam
queryExhibitParam
,
Page
page
){
public
CommonPage
<
QueryExhibitVO
>
selectExhibitListByOther
(
QueryExhibitParam
queryExhibitParam
,
Page
page
)
{
if
(
page
!=
null
&&
page
.
getPageNum
()
!=
null
&&
page
.
getPageSize
()
!=
null
)
{
if
(
page
!=
null
&&
page
.
getPageNum
()
!=
null
&&
page
.
getPageSize
()
!=
null
)
{
PageHelper
.
startPage
(
page
.
getPageNum
(),
page
.
getPageSize
());
PageHelper
.
startPage
(
page
.
getPageNum
(),
page
.
getPageSize
());
}
}
...
...
src/main/resources/application.yml
View file @
de89b0fc
...
@@ -10,13 +10,13 @@ spring:
...
@@ -10,13 +10,13 @@ spring:
#���ݿ�����
#���ݿ�����
datasource
:
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
#
url: jdbc:mysql://lmerp001w.mysql.rds.aliyuncs.com/lmerp?characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://lmerp001w.mysql.rds.aliyuncs.com/lmerp?characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
#
username: test_erp
username
:
test_erp
#
password: Fzii591com
password
:
Fzii591com
url
:
jdbc:mysql://47.98.216.76:3306/atl-service-center?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#
url: jdbc:mysql://47.98.216.76:3306/atl-service-center?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
#
username: root
password
:
6just@2019
#
password: 6just@2019
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
...
@@ -33,13 +33,13 @@ spring:
...
@@ -33,13 +33,13 @@ spring:
# Redis数据库索引(默认为0)
# Redis数据库索引(默认为0)
database
:
0
database
:
0
# Redis服务器地址
# Redis服务器地址
host
:
47.98.96.174
#
host: 47.98.96.174
#
host: 127.0.0.1
host
:
127.0.0.1
# Redis服务器连接端口
# Redis服务器连接端口
port
:
6379
port
:
6379
# Redis服务器连接密码(默认为空)
# Redis服务器连接密码(默认为空)
password
:
"
root123!!"
#
password: "root123!!"
#
password: ""
password
:
"
"
#password: atl@redis_120726
#password: atl@redis_120726
jedis
:
jedis
:
pool
:
pool
:
...
@@ -55,14 +55,14 @@ spring:
...
@@ -55,14 +55,14 @@ spring:
timeout
:
5000
timeout
:
5000
server
:
server
:
port
:
8099
port
:
9091
#����myba
#����myba
#配置mybatis
#配置mybatis
mybatis
:
mybatis
:
mapper-locations
:
classpath:mapper/**/*.xml
mapper-locations
:
classpath:mapper/**/*.xml
#全局的映射,不用在xml文件写实体类的全路径
#全局的映射,不用在xml文件写实体类的全路径
type-aliases-package
:
com.atlgroupasia.servicecenter
type-aliases-package
:
com.atlgroupasia.servicecenter
.mbg.mapper
#开启驼峰映射
#开启驼峰映射
configuration
:
configuration
:
map-underscore-to-camel-case
:
true
map-underscore-to-camel-case
:
true
...
...
src/main/resources/mapper/mbg/OshAppointmentApplyMapper.xml
0 → 100644
View file @
de89b0fc
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentApplyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply"
>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"relation_id"
jdbcType=
"INTEGER"
property=
"relationId"
/>
<result
column=
"type"
jdbcType=
"TINYINT"
property=
"type"
/>
<result
column=
"user_id"
jdbcType=
"INTEGER"
property=
"userId"
/>
<result
column=
"appointment_id"
jdbcType=
"INTEGER"
property=
"appointmentId"
/>
<result
column=
"meeting_state"
jdbcType=
"INTEGER"
property=
"meetingState"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
<result
column=
"is_del"
jdbcType=
"INTEGER"
property=
"isDel"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, relation_id, type, user_id, appointment_id, meeting_state, create_time, updatetime,
is_del
</sql>
<select
id=
"selectByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApplyExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from osh_appointment_apply
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from osh_appointment_apply
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from osh_appointment_apply
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApplyExample"
>
delete from osh_appointment_apply
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into osh_appointment_apply (relation_id, type, user_id,
appointment_id, meeting_state, create_time,
updatetime, is_del)
values (#{relationId,jdbcType=INTEGER}, #{type,jdbcType=TINYINT}, #{userId,jdbcType=INTEGER},
#{appointmentId,jdbcType=INTEGER}, #{meetingState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into osh_appointment_apply
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"relationId != null"
>
relation_id,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"userId != null"
>
user_id,
</if>
<if
test=
"appointmentId != null"
>
appointment_id,
</if>
<if
test=
"meetingState != null"
>
meeting_state,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updatetime != null"
>
updatetime,
</if>
<if
test=
"isDel != null"
>
is_del,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"relationId != null"
>
#{relationId,jdbcType=INTEGER},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=TINYINT},
</if>
<if
test=
"userId != null"
>
#{userId,jdbcType=INTEGER},
</if>
<if
test=
"appointmentId != null"
>
#{appointmentId,jdbcType=INTEGER},
</if>
<if
test=
"meetingState != null"
>
#{meetingState,jdbcType=INTEGER},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
#{updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isDel != null"
>
#{isDel,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApplyExample"
resultType=
"java.lang.Long"
>
select count(*) from osh_appointment_apply
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update osh_appointment_apply
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.relationId != null"
>
relation_id = #{record.relationId,jdbcType=INTEGER},
</if>
<if
test=
"record.type != null"
>
type = #{record.type,jdbcType=TINYINT},
</if>
<if
test=
"record.userId != null"
>
user_id = #{record.userId,jdbcType=INTEGER},
</if>
<if
test=
"record.appointmentId != null"
>
appointment_id = #{record.appointmentId,jdbcType=INTEGER},
</if>
<if
test=
"record.meetingState != null"
>
meeting_state = #{record.meetingState,jdbcType=INTEGER},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updatetime != null"
>
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.isDel != null"
>
is_del = #{record.isDel,jdbcType=INTEGER},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update osh_appointment_apply
set id = #{record.id,jdbcType=INTEGER},
relation_id = #{record.relationId,jdbcType=INTEGER},
type = #{record.type,jdbcType=TINYINT},
user_id = #{record.userId,jdbcType=INTEGER},
appointment_id = #{record.appointmentId,jdbcType=INTEGER},
meeting_state = #{record.meetingState,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
is_del = #{record.isDel,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply"
>
update osh_appointment_apply
<set>
<if
test=
"relationId != null"
>
relation_id = #{relationId,jdbcType=INTEGER},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=TINYINT},
</if>
<if
test=
"userId != null"
>
user_id = #{userId,jdbcType=INTEGER},
</if>
<if
test=
"appointmentId != null"
>
appointment_id = #{appointmentId,jdbcType=INTEGER},
</if>
<if
test=
"meetingState != null"
>
meeting_state = #{meetingState,jdbcType=INTEGER},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
updatetime = #{updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentApply"
>
update osh_appointment_apply
set relation_id = #{relationId,jdbcType=INTEGER},
type = #{type,jdbcType=TINYINT},
user_id = #{userId,jdbcType=INTEGER},
appointment_id = #{appointmentId,jdbcType=INTEGER},
meeting_state = #{meetingState,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
is_del = #{isDel,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mapper/mbg/OshAppointmentMapper.xml
0 → 100644
View file @
de89b0fc
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"user_id"
jdbcType=
"INTEGER"
property=
"userId"
/>
<result
column=
"mode"
jdbcType=
"INTEGER"
property=
"mode"
/>
<result
column=
"price"
jdbcType=
"DECIMAL"
property=
"price"
/>
<result
column=
"person"
jdbcType=
"INTEGER"
property=
"person"
/>
<result
column=
"shuttle_id"
jdbcType=
"INTEGER"
property=
"shuttleId"
/>
<result
column=
"shuttle_address"
jdbcType=
"VARCHAR"
property=
"shuttleAddress"
/>
<result
column=
"shuttle_time"
jdbcType=
"TIMESTAMP"
property=
"shuttleTime"
/>
<result
column=
"refer_phone"
jdbcType=
"VARCHAR"
property=
"referPhone"
/>
<result
column=
"is_back"
jdbcType=
"INTEGER"
property=
"isBack"
/>
<result
column=
"arrive_time"
jdbcType=
"TIMESTAMP"
property=
"arriveTime"
/>
<result
column=
"have_dinner"
jdbcType=
"INTEGER"
property=
"haveDinner"
/>
<result
column=
"dinner_person"
jdbcType=
"INTEGER"
property=
"dinnerPerson"
/>
<result
column=
"is_lunch"
jdbcType=
"INTEGER"
property=
"isLunch"
/>
<result
column=
"is_dinner"
jdbcType=
"INTEGER"
property=
"isDinner"
/>
<result
column=
"contact_name"
jdbcType=
"VARCHAR"
property=
"contactName"
/>
<result
column=
"contact_phone"
jdbcType=
"VARCHAR"
property=
"contactPhone"
/>
<result
column=
"contact_identify"
jdbcType=
"VARCHAR"
property=
"contactIdentify"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"refer_id"
jdbcType=
"INTEGER"
property=
"referId"
/>
<result
column=
"refer_type"
jdbcType=
"INTEGER"
property=
"referType"
/>
<result
column=
"end_time"
jdbcType=
"TIMESTAMP"
property=
"endTime"
/>
<result
column=
"begin_time"
jdbcType=
"TIMESTAMP"
property=
"beginTime"
/>
<result
column=
"is_contact"
jdbcType=
"INTEGER"
property=
"isContact"
/>
<result
column=
"remark"
jdbcType=
"VARCHAR"
property=
"remark"
/>
<result
column=
"is_view"
jdbcType=
"INTEGER"
property=
"isView"
/>
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
<result
column=
"prepay_id"
jdbcType=
"VARCHAR"
property=
"prepayId"
/>
<result
column=
"third_pay"
jdbcType=
"DECIMAL"
property=
"thirdPay"
/>
<result
column=
"third_refund"
jdbcType=
"DECIMAL"
property=
"thirdRefund"
/>
<result
column=
"third_pay_number"
jdbcType=
"VARCHAR"
property=
"thirdPayNumber"
/>
<result
column=
"is_income_pay"
jdbcType=
"TINYINT"
property=
"isIncomePay"
/>
<result
column=
"income_pay"
jdbcType=
"DECIMAL"
property=
"incomePay"
/>
<result
column=
"income_refund"
jdbcType=
"DECIMAL"
property=
"incomeRefund"
/>
<result
column=
"is_del"
jdbcType=
"INTEGER"
property=
"isDel"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, user_id, mode, price, person, shuttle_id, shuttle_address, shuttle_time, refer_phone,
is_back, arrive_time, have_dinner, dinner_person, is_lunch, is_dinner, contact_name,
contact_phone, contact_identify, create_time, refer_id, refer_type, end_time, begin_time,
is_contact, remark, is_view, updatetime, prepay_id, third_pay, third_refund, third_pay_number,
is_income_pay, income_pay, income_refund, is_del
</sql>
<select
id=
"selectByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from osh_appointment
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from osh_appointment
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from osh_appointment
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentExample"
>
delete from osh_appointment
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into osh_appointment (user_id, mode, price,
person, shuttle_id, shuttle_address,
shuttle_time, refer_phone, is_back,
arrive_time, have_dinner, dinner_person,
is_lunch, is_dinner, contact_name,
contact_phone, contact_identify, create_time,
refer_id, refer_type, end_time,
begin_time, is_contact, remark,
is_view, updatetime, prepay_id,
third_pay, third_refund, third_pay_number,
is_income_pay, income_pay, income_refund,
is_del)
values (#{userId,jdbcType=INTEGER}, #{mode,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL},
#{person,jdbcType=INTEGER}, #{shuttleId,jdbcType=INTEGER}, #{shuttleAddress,jdbcType=VARCHAR},
#{shuttleTime,jdbcType=TIMESTAMP}, #{referPhone,jdbcType=VARCHAR}, #{isBack,jdbcType=INTEGER},
#{arriveTime,jdbcType=TIMESTAMP}, #{haveDinner,jdbcType=INTEGER}, #{dinnerPerson,jdbcType=INTEGER},
#{isLunch,jdbcType=INTEGER}, #{isDinner,jdbcType=INTEGER}, #{contactName,jdbcType=VARCHAR},
#{contactPhone,jdbcType=VARCHAR}, #{contactIdentify,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{referId,jdbcType=INTEGER}, #{referType,jdbcType=INTEGER}, #{endTime,jdbcType=TIMESTAMP},
#{beginTime,jdbcType=TIMESTAMP}, #{isContact,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR},
#{isView,jdbcType=INTEGER}, #{updatetime,jdbcType=TIMESTAMP}, #{prepayId,jdbcType=VARCHAR},
#{thirdPay,jdbcType=DECIMAL}, #{thirdRefund,jdbcType=DECIMAL}, #{thirdPayNumber,jdbcType=VARCHAR},
#{isIncomePay,jdbcType=TINYINT}, #{incomePay,jdbcType=DECIMAL}, #{incomeRefund,jdbcType=DECIMAL},
#{isDel,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into osh_appointment
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
user_id,
</if>
<if
test=
"mode != null"
>
mode,
</if>
<if
test=
"price != null"
>
price,
</if>
<if
test=
"person != null"
>
person,
</if>
<if
test=
"shuttleId != null"
>
shuttle_id,
</if>
<if
test=
"shuttleAddress != null"
>
shuttle_address,
</if>
<if
test=
"shuttleTime != null"
>
shuttle_time,
</if>
<if
test=
"referPhone != null"
>
refer_phone,
</if>
<if
test=
"isBack != null"
>
is_back,
</if>
<if
test=
"arriveTime != null"
>
arrive_time,
</if>
<if
test=
"haveDinner != null"
>
have_dinner,
</if>
<if
test=
"dinnerPerson != null"
>
dinner_person,
</if>
<if
test=
"isLunch != null"
>
is_lunch,
</if>
<if
test=
"isDinner != null"
>
is_dinner,
</if>
<if
test=
"contactName != null"
>
contact_name,
</if>
<if
test=
"contactPhone != null"
>
contact_phone,
</if>
<if
test=
"contactIdentify != null"
>
contact_identify,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"referId != null"
>
refer_id,
</if>
<if
test=
"referType != null"
>
refer_type,
</if>
<if
test=
"endTime != null"
>
end_time,
</if>
<if
test=
"beginTime != null"
>
begin_time,
</if>
<if
test=
"isContact != null"
>
is_contact,
</if>
<if
test=
"remark != null"
>
remark,
</if>
<if
test=
"isView != null"
>
is_view,
</if>
<if
test=
"updatetime != null"
>
updatetime,
</if>
<if
test=
"prepayId != null"
>
prepay_id,
</if>
<if
test=
"thirdPay != null"
>
third_pay,
</if>
<if
test=
"thirdRefund != null"
>
third_refund,
</if>
<if
test=
"thirdPayNumber != null"
>
third_pay_number,
</if>
<if
test=
"isIncomePay != null"
>
is_income_pay,
</if>
<if
test=
"incomePay != null"
>
income_pay,
</if>
<if
test=
"incomeRefund != null"
>
income_refund,
</if>
<if
test=
"isDel != null"
>
is_del,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
#{userId,jdbcType=INTEGER},
</if>
<if
test=
"mode != null"
>
#{mode,jdbcType=INTEGER},
</if>
<if
test=
"price != null"
>
#{price,jdbcType=DECIMAL},
</if>
<if
test=
"person != null"
>
#{person,jdbcType=INTEGER},
</if>
<if
test=
"shuttleId != null"
>
#{shuttleId,jdbcType=INTEGER},
</if>
<if
test=
"shuttleAddress != null"
>
#{shuttleAddress,jdbcType=VARCHAR},
</if>
<if
test=
"shuttleTime != null"
>
#{shuttleTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"referPhone != null"
>
#{referPhone,jdbcType=VARCHAR},
</if>
<if
test=
"isBack != null"
>
#{isBack,jdbcType=INTEGER},
</if>
<if
test=
"arriveTime != null"
>
#{arriveTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"haveDinner != null"
>
#{haveDinner,jdbcType=INTEGER},
</if>
<if
test=
"dinnerPerson != null"
>
#{dinnerPerson,jdbcType=INTEGER},
</if>
<if
test=
"isLunch != null"
>
#{isLunch,jdbcType=INTEGER},
</if>
<if
test=
"isDinner != null"
>
#{isDinner,jdbcType=INTEGER},
</if>
<if
test=
"contactName != null"
>
#{contactName,jdbcType=VARCHAR},
</if>
<if
test=
"contactPhone != null"
>
#{contactPhone,jdbcType=VARCHAR},
</if>
<if
test=
"contactIdentify != null"
>
#{contactIdentify,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"referId != null"
>
#{referId,jdbcType=INTEGER},
</if>
<if
test=
"referType != null"
>
#{referType,jdbcType=INTEGER},
</if>
<if
test=
"endTime != null"
>
#{endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"beginTime != null"
>
#{beginTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isContact != null"
>
#{isContact,jdbcType=INTEGER},
</if>
<if
test=
"remark != null"
>
#{remark,jdbcType=VARCHAR},
</if>
<if
test=
"isView != null"
>
#{isView,jdbcType=INTEGER},
</if>
<if
test=
"updatetime != null"
>
#{updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"prepayId != null"
>
#{prepayId,jdbcType=VARCHAR},
</if>
<if
test=
"thirdPay != null"
>
#{thirdPay,jdbcType=DECIMAL},
</if>
<if
test=
"thirdRefund != null"
>
#{thirdRefund,jdbcType=DECIMAL},
</if>
<if
test=
"thirdPayNumber != null"
>
#{thirdPayNumber,jdbcType=VARCHAR},
</if>
<if
test=
"isIncomePay != null"
>
#{isIncomePay,jdbcType=TINYINT},
</if>
<if
test=
"incomePay != null"
>
#{incomePay,jdbcType=DECIMAL},
</if>
<if
test=
"incomeRefund != null"
>
#{incomeRefund,jdbcType=DECIMAL},
</if>
<if
test=
"isDel != null"
>
#{isDel,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointmentExample"
resultType=
"java.lang.Long"
>
select count(*) from osh_appointment
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update osh_appointment
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.userId != null"
>
user_id = #{record.userId,jdbcType=INTEGER},
</if>
<if
test=
"record.mode != null"
>
mode = #{record.mode,jdbcType=INTEGER},
</if>
<if
test=
"record.price != null"
>
price = #{record.price,jdbcType=DECIMAL},
</if>
<if
test=
"record.person != null"
>
person = #{record.person,jdbcType=INTEGER},
</if>
<if
test=
"record.shuttleId != null"
>
shuttle_id = #{record.shuttleId,jdbcType=INTEGER},
</if>
<if
test=
"record.shuttleAddress != null"
>
shuttle_address = #{record.shuttleAddress,jdbcType=VARCHAR},
</if>
<if
test=
"record.shuttleTime != null"
>
shuttle_time = #{record.shuttleTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.referPhone != null"
>
refer_phone = #{record.referPhone,jdbcType=VARCHAR},
</if>
<if
test=
"record.isBack != null"
>
is_back = #{record.isBack,jdbcType=INTEGER},
</if>
<if
test=
"record.arriveTime != null"
>
arrive_time = #{record.arriveTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.haveDinner != null"
>
have_dinner = #{record.haveDinner,jdbcType=INTEGER},
</if>
<if
test=
"record.dinnerPerson != null"
>
dinner_person = #{record.dinnerPerson,jdbcType=INTEGER},
</if>
<if
test=
"record.isLunch != null"
>
is_lunch = #{record.isLunch,jdbcType=INTEGER},
</if>
<if
test=
"record.isDinner != null"
>
is_dinner = #{record.isDinner,jdbcType=INTEGER},
</if>
<if
test=
"record.contactName != null"
>
contact_name = #{record.contactName,jdbcType=VARCHAR},
</if>
<if
test=
"record.contactPhone != null"
>
contact_phone = #{record.contactPhone,jdbcType=VARCHAR},
</if>
<if
test=
"record.contactIdentify != null"
>
contact_identify = #{record.contactIdentify,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.referId != null"
>
refer_id = #{record.referId,jdbcType=INTEGER},
</if>
<if
test=
"record.referType != null"
>
refer_type = #{record.referType,jdbcType=INTEGER},
</if>
<if
test=
"record.endTime != null"
>
end_time = #{record.endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.beginTime != null"
>
begin_time = #{record.beginTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.isContact != null"
>
is_contact = #{record.isContact,jdbcType=INTEGER},
</if>
<if
test=
"record.remark != null"
>
remark = #{record.remark,jdbcType=VARCHAR},
</if>
<if
test=
"record.isView != null"
>
is_view = #{record.isView,jdbcType=INTEGER},
</if>
<if
test=
"record.updatetime != null"
>
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.prepayId != null"
>
prepay_id = #{record.prepayId,jdbcType=VARCHAR},
</if>
<if
test=
"record.thirdPay != null"
>
third_pay = #{record.thirdPay,jdbcType=DECIMAL},
</if>
<if
test=
"record.thirdRefund != null"
>
third_refund = #{record.thirdRefund,jdbcType=DECIMAL},
</if>
<if
test=
"record.thirdPayNumber != null"
>
third_pay_number = #{record.thirdPayNumber,jdbcType=VARCHAR},
</if>
<if
test=
"record.isIncomePay != null"
>
is_income_pay = #{record.isIncomePay,jdbcType=TINYINT},
</if>
<if
test=
"record.incomePay != null"
>
income_pay = #{record.incomePay,jdbcType=DECIMAL},
</if>
<if
test=
"record.incomeRefund != null"
>
income_refund = #{record.incomeRefund,jdbcType=DECIMAL},
</if>
<if
test=
"record.isDel != null"
>
is_del = #{record.isDel,jdbcType=INTEGER},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update osh_appointment
set id = #{record.id,jdbcType=INTEGER},
user_id = #{record.userId,jdbcType=INTEGER},
mode = #{record.mode,jdbcType=INTEGER},
price = #{record.price,jdbcType=DECIMAL},
person = #{record.person,jdbcType=INTEGER},
shuttle_id = #{record.shuttleId,jdbcType=INTEGER},
shuttle_address = #{record.shuttleAddress,jdbcType=VARCHAR},
shuttle_time = #{record.shuttleTime,jdbcType=TIMESTAMP},
refer_phone = #{record.referPhone,jdbcType=VARCHAR},
is_back = #{record.isBack,jdbcType=INTEGER},
arrive_time = #{record.arriveTime,jdbcType=TIMESTAMP},
have_dinner = #{record.haveDinner,jdbcType=INTEGER},
dinner_person = #{record.dinnerPerson,jdbcType=INTEGER},
is_lunch = #{record.isLunch,jdbcType=INTEGER},
is_dinner = #{record.isDinner,jdbcType=INTEGER},
contact_name = #{record.contactName,jdbcType=VARCHAR},
contact_phone = #{record.contactPhone,jdbcType=VARCHAR},
contact_identify = #{record.contactIdentify,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
refer_id = #{record.referId,jdbcType=INTEGER},
refer_type = #{record.referType,jdbcType=INTEGER},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
begin_time = #{record.beginTime,jdbcType=TIMESTAMP},
is_contact = #{record.isContact,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
is_view = #{record.isView,jdbcType=INTEGER},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
prepay_id = #{record.prepayId,jdbcType=VARCHAR},
third_pay = #{record.thirdPay,jdbcType=DECIMAL},
third_refund = #{record.thirdRefund,jdbcType=DECIMAL},
third_pay_number = #{record.thirdPayNumber,jdbcType=VARCHAR},
is_income_pay = #{record.isIncomePay,jdbcType=TINYINT},
income_pay = #{record.incomePay,jdbcType=DECIMAL},
income_refund = #{record.incomeRefund,jdbcType=DECIMAL},
is_del = #{record.isDel,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
>
update osh_appointment
<set>
<if
test=
"userId != null"
>
user_id = #{userId,jdbcType=INTEGER},
</if>
<if
test=
"mode != null"
>
mode = #{mode,jdbcType=INTEGER},
</if>
<if
test=
"price != null"
>
price = #{price,jdbcType=DECIMAL},
</if>
<if
test=
"person != null"
>
person = #{person,jdbcType=INTEGER},
</if>
<if
test=
"shuttleId != null"
>
shuttle_id = #{shuttleId,jdbcType=INTEGER},
</if>
<if
test=
"shuttleAddress != null"
>
shuttle_address = #{shuttleAddress,jdbcType=VARCHAR},
</if>
<if
test=
"shuttleTime != null"
>
shuttle_time = #{shuttleTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"referPhone != null"
>
refer_phone = #{referPhone,jdbcType=VARCHAR},
</if>
<if
test=
"isBack != null"
>
is_back = #{isBack,jdbcType=INTEGER},
</if>
<if
test=
"arriveTime != null"
>
arrive_time = #{arriveTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"haveDinner != null"
>
have_dinner = #{haveDinner,jdbcType=INTEGER},
</if>
<if
test=
"dinnerPerson != null"
>
dinner_person = #{dinnerPerson,jdbcType=INTEGER},
</if>
<if
test=
"isLunch != null"
>
is_lunch = #{isLunch,jdbcType=INTEGER},
</if>
<if
test=
"isDinner != null"
>
is_dinner = #{isDinner,jdbcType=INTEGER},
</if>
<if
test=
"contactName != null"
>
contact_name = #{contactName,jdbcType=VARCHAR},
</if>
<if
test=
"contactPhone != null"
>
contact_phone = #{contactPhone,jdbcType=VARCHAR},
</if>
<if
test=
"contactIdentify != null"
>
contact_identify = #{contactIdentify,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"referId != null"
>
refer_id = #{referId,jdbcType=INTEGER},
</if>
<if
test=
"referType != null"
>
refer_type = #{referType,jdbcType=INTEGER},
</if>
<if
test=
"endTime != null"
>
end_time = #{endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"beginTime != null"
>
begin_time = #{beginTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isContact != null"
>
is_contact = #{isContact,jdbcType=INTEGER},
</if>
<if
test=
"remark != null"
>
remark = #{remark,jdbcType=VARCHAR},
</if>
<if
test=
"isView != null"
>
is_view = #{isView,jdbcType=INTEGER},
</if>
<if
test=
"updatetime != null"
>
updatetime = #{updatetime,jdbcType=TIMESTAMP},
</if>
<if
test=
"prepayId != null"
>
prepay_id = #{prepayId,jdbcType=VARCHAR},
</if>
<if
test=
"thirdPay != null"
>
third_pay = #{thirdPay,jdbcType=DECIMAL},
</if>
<if
test=
"thirdRefund != null"
>
third_refund = #{thirdRefund,jdbcType=DECIMAL},
</if>
<if
test=
"thirdPayNumber != null"
>
third_pay_number = #{thirdPayNumber,jdbcType=VARCHAR},
</if>
<if
test=
"isIncomePay != null"
>
is_income_pay = #{isIncomePay,jdbcType=TINYINT},
</if>
<if
test=
"incomePay != null"
>
income_pay = #{incomePay,jdbcType=DECIMAL},
</if>
<if
test=
"incomeRefund != null"
>
income_refund = #{incomeRefund,jdbcType=DECIMAL},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
>
update osh_appointment
set user_id = #{userId,jdbcType=INTEGER},
mode = #{mode,jdbcType=INTEGER},
price = #{price,jdbcType=DECIMAL},
person = #{person,jdbcType=INTEGER},
shuttle_id = #{shuttleId,jdbcType=INTEGER},
shuttle_address = #{shuttleAddress,jdbcType=VARCHAR},
shuttle_time = #{shuttleTime,jdbcType=TIMESTAMP},
refer_phone = #{referPhone,jdbcType=VARCHAR},
is_back = #{isBack,jdbcType=INTEGER},
arrive_time = #{arriveTime,jdbcType=TIMESTAMP},
have_dinner = #{haveDinner,jdbcType=INTEGER},
dinner_person = #{dinnerPerson,jdbcType=INTEGER},
is_lunch = #{isLunch,jdbcType=INTEGER},
is_dinner = #{isDinner,jdbcType=INTEGER},
contact_name = #{contactName,jdbcType=VARCHAR},
contact_phone = #{contactPhone,jdbcType=VARCHAR},
contact_identify = #{contactIdentify,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
refer_id = #{referId,jdbcType=INTEGER},
refer_type = #{referType,jdbcType=INTEGER},
end_time = #{endTime,jdbcType=TIMESTAMP},
begin_time = #{beginTime,jdbcType=TIMESTAMP},
is_contact = #{isContact,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
is_view = #{isView,jdbcType=INTEGER},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
prepay_id = #{prepayId,jdbcType=VARCHAR},
third_pay = #{thirdPay,jdbcType=DECIMAL},
third_refund = #{thirdRefund,jdbcType=DECIMAL},
third_pay_number = #{thirdPayNumber,jdbcType=VARCHAR},
is_income_pay = #{isIncomePay,jdbcType=TINYINT},
income_pay = #{incomePay,jdbcType=DECIMAL},
income_refund = #{incomeRefund,jdbcType=DECIMAL},
is_del = #{isDel,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mapper/operation/exhibit/OshAppointmentDao.xml
0 → 100644
View file @
de89b0fc
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.atlgroupasia.servicecenter.operation.exhibit.dao.OshAppointmentDao"
>
<resultMap
id=
"baseResultMap"
type=
"com.atlgroupasia.servicecenter.mbg.po.OshAppointment"
extends=
"com.atlgroupasia.servicecenter.mbg.mapper.OshAppointmentMapper.BaseResultMap"
>
</resultMap>
<select
id=
"selectExhibitListByOther"
parameterType=
"com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentParam"
resultType=
"com.atlgroupasia.servicecenter.operation.exhibit.pojo.QueryAppointmentVO"
>
select
a.id appointmentId,a.contact_name contactName,a.contact_phone contactPhone,a.contact_identify contactIdentify,
a.end_time endTime,a.begin_time beginTime,a.have_dinner haveDinner,a.dinner_person dinnerPerson,a.arrive_time arriveTime,
b.name templeName
from osh_appointment a
left join mis_temple b ON a.refer_id = b.id
where a.is_del = 0
<if
test=
"userId != null"
>
and a.user_id =#{userId}
</if>
<if
test=
"referType != null"
>
and a.refer_type =#{referType}
</if>
<if
test=
"isContact != null"
>
and a.is_contact = #{isContact}
</if>
</select>
</mapper>
\ No newline at end of file
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