Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
server
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
vanke
server
Commits
4e690c31
Commit
4e690c31
authored
Jun 30, 2020
by
XiaHou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
万科接口修复
parent
2365657c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
734 additions
and
0 deletions
+734
-0
VankeConfigMapper.java
...rc/main/java/com/macro/mall/mapper/VankeConfigMapper.java
+31
-0
VankeVvUserMapper.java
...rc/main/java/com/macro/mall/mapper/VankeVvUserMapper.java
+31
-0
VankeConfig.java
mall-mbg/src/main/java/com/macro/mall/model/VankeConfig.java
+113
-0
VankeConfigExample.java
...rc/main/java/com/macro/mall/model/VankeConfigExample.java
+0
-0
VankeVvUser.java
mall-mbg/src/main/java/com/macro/mall/model/VankeVvUser.java
+315
-0
VankeVvUserExample.java
...rc/main/java/com/macro/mall/model/VankeVvUserExample.java
+0
-0
VankeConfigMapper.xml
...ain/resources/com/macro/mall/mapper/VankeConfigMapper.xml
+244
-0
VankeVvUserMapper.xml
...ain/resources/com/macro/mall/mapper/VankeVvUserMapper.xml
+0
-0
No files found.
mall-mbg/src/main/java/com/macro/mall/mapper/VankeConfigMapper.java
0 → 100644
View file @
4e690c31
package
com
.
macro
.
mall
.
mapper
;
import
com.macro.mall.model.VankeConfig
;
import
com.macro.mall.model.VankeConfigExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
VankeConfigMapper
{
long
countByExample
(
VankeConfigExample
example
);
int
deleteByExample
(
VankeConfigExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
VankeConfig
record
);
int
insertSelective
(
VankeConfig
record
);
List
<
VankeConfig
>
selectByExample
(
VankeConfigExample
example
);
VankeConfig
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
VankeConfig
record
,
@Param
(
"example"
)
VankeConfigExample
example
);
int
updateByExample
(
@Param
(
"record"
)
VankeConfig
record
,
@Param
(
"example"
)
VankeConfigExample
example
);
int
updateByPrimaryKeySelective
(
VankeConfig
record
);
int
updateByPrimaryKey
(
VankeConfig
record
);
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/mapper/VankeVvUserMapper.java
0 → 100644
View file @
4e690c31
package
com
.
macro
.
mall
.
mapper
;
import
com.macro.mall.model.VankeVvUser
;
import
com.macro.mall.model.VankeVvUserExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
VankeVvUserMapper
{
long
countByExample
(
VankeVvUserExample
example
);
int
deleteByExample
(
VankeVvUserExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
VankeVvUser
record
);
int
insertSelective
(
VankeVvUser
record
);
List
<
VankeVvUser
>
selectByExample
(
VankeVvUserExample
example
);
VankeVvUser
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
VankeVvUser
record
,
@Param
(
"example"
)
VankeVvUserExample
example
);
int
updateByExample
(
@Param
(
"record"
)
VankeVvUser
record
,
@Param
(
"example"
)
VankeVvUserExample
example
);
int
updateByPrimaryKeySelective
(
VankeVvUser
record
);
int
updateByPrimaryKey
(
VankeVvUser
record
);
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/VankeConfig.java
0 → 100644
View file @
4e690c31
package
com
.
macro
.
mall
.
model
;
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
VankeConfig
implements
Serializable
{
@ApiModelProperty
(
value
=
"id"
)
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@ApiModelProperty
(
value
=
"库存预警"
)
private
Integer
stockWarning
;
@ApiModelProperty
(
value
=
"领取时间间隔"
)
private
BigDecimal
receiveInterval
;
@ApiModelProperty
(
value
=
"创建人"
)
private
Long
createBy
;
@ApiModelProperty
(
value
=
"修改人"
)
private
Long
updateBy
;
@ApiModelProperty
(
value
=
"创建时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createtime
;
@ApiModelProperty
(
value
=
"更新时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updatetime
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Integer
getStockWarning
()
{
return
stockWarning
;
}
public
void
setStockWarning
(
Integer
stockWarning
)
{
this
.
stockWarning
=
stockWarning
;
}
public
BigDecimal
getReceiveInterval
()
{
return
receiveInterval
;
}
public
void
setReceiveInterval
(
BigDecimal
receiveInterval
)
{
this
.
receiveInterval
=
receiveInterval
;
}
public
Long
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
Long
createBy
)
{
this
.
createBy
=
createBy
;
}
public
Long
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
Long
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
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
;
}
@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
(
", stockWarning="
).
append
(
stockWarning
);
sb
.
append
(
", receiveInterval="
).
append
(
receiveInterval
);
sb
.
append
(
", createBy="
).
append
(
createBy
);
sb
.
append
(
", updateBy="
).
append
(
updateBy
);
sb
.
append
(
", createtime="
).
append
(
createtime
);
sb
.
append
(
", updatetime="
).
append
(
updatetime
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/VankeConfigExample.java
0 → 100644
View file @
4e690c31
This diff is collapsed.
Click to expand it.
mall-mbg/src/main/java/com/macro/mall/model/VankeVvUser.java
0 → 100644
View file @
4e690c31
package
com
.
macro
.
mall
.
model
;
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
VankeVvUser
implements
Serializable
{
@ApiModelProperty
(
value
=
"id"
)
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@ApiModelProperty
(
value
=
"账号"
)
private
String
account
;
@ApiModelProperty
(
value
=
"轻应用id"
)
private
String
appid
;
@ApiModelProperty
(
value
=
"部门长名称"
)
private
String
departOrgName
;
@ApiModelProperty
(
value
=
"部门名称"
)
private
String
department
;
@ApiModelProperty
(
value
=
"工作圈ID"
)
private
String
eid
;
@ApiModelProperty
(
value
=
"邮箱"
)
private
String
email
;
@ApiModelProperty
(
value
=
"员工编号"
)
private
String
jobNo
;
@ApiModelProperty
(
value
=
"组织长名称"
)
private
String
longName
;
@ApiModelProperty
(
value
=
"手机号"
)
private
String
mobile
;
@ApiModelProperty
(
value
=
"团队id,仅供金蝶内部使用"
)
private
String
xtid
;
@ApiModelProperty
(
value
=
"团队用户id,仅供金蝶内部使用"
)
private
String
oid
;
@ApiModelProperty
(
value
=
"团队用户id"
)
private
String
openid
;
@ApiModelProperty
(
value
=
"组织ID"
)
private
String
orgid
;
@ApiModelProperty
(
value
=
"头像"
)
private
String
photourl
;
@ApiModelProperty
(
value
=
"用户姓名"
)
private
String
username
;
@ApiModelProperty
(
value
=
"微v用户id"
)
private
String
userid
;
@ApiModelProperty
(
value
=
"云平台用户id,仅供金蝶内部使用"
)
private
String
uid
;
@ApiModelProperty
(
value
=
"云平台工作圈id"
)
private
String
tid
;
@ApiModelProperty
(
value
=
"是否是圈管路员"
)
private
String
isAdmin
;
@ApiModelProperty
(
value
=
"工作圈id"
)
private
String
networkid
;
@ApiModelProperty
(
value
=
"设备id"
)
private
String
deviceId
;
@ApiModelProperty
(
value
=
"1未删除 0已删除"
)
private
Integer
deleteStatus
;
@ApiModelProperty
(
value
=
"创建时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createtime
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getAccount
()
{
return
account
;
}
public
void
setAccount
(
String
account
)
{
this
.
account
=
account
;
}
public
String
getAppid
()
{
return
appid
;
}
public
void
setAppid
(
String
appid
)
{
this
.
appid
=
appid
;
}
public
String
getDepartOrgName
()
{
return
departOrgName
;
}
public
void
setDepartOrgName
(
String
departOrgName
)
{
this
.
departOrgName
=
departOrgName
;
}
public
String
getDepartment
()
{
return
department
;
}
public
void
setDepartment
(
String
department
)
{
this
.
department
=
department
;
}
public
String
getEid
()
{
return
eid
;
}
public
void
setEid
(
String
eid
)
{
this
.
eid
=
eid
;
}
public
String
getEmail
()
{
return
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
;
}
public
String
getJobNo
()
{
return
jobNo
;
}
public
void
setJobNo
(
String
jobNo
)
{
this
.
jobNo
=
jobNo
;
}
public
String
getLongName
()
{
return
longName
;
}
public
void
setLongName
(
String
longName
)
{
this
.
longName
=
longName
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
void
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
}
public
String
getXtid
()
{
return
xtid
;
}
public
void
setXtid
(
String
xtid
)
{
this
.
xtid
=
xtid
;
}
public
String
getOid
()
{
return
oid
;
}
public
void
setOid
(
String
oid
)
{
this
.
oid
=
oid
;
}
public
String
getOpenid
()
{
return
openid
;
}
public
void
setOpenid
(
String
openid
)
{
this
.
openid
=
openid
;
}
public
String
getOrgid
()
{
return
orgid
;
}
public
void
setOrgid
(
String
orgid
)
{
this
.
orgid
=
orgid
;
}
public
String
getPhotourl
()
{
return
photourl
;
}
public
void
setPhotourl
(
String
photourl
)
{
this
.
photourl
=
photourl
;
}
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
}
public
String
getUserid
()
{
return
userid
;
}
public
void
setUserid
(
String
userid
)
{
this
.
userid
=
userid
;
}
public
String
getUid
()
{
return
uid
;
}
public
void
setUid
(
String
uid
)
{
this
.
uid
=
uid
;
}
public
String
getTid
()
{
return
tid
;
}
public
void
setTid
(
String
tid
)
{
this
.
tid
=
tid
;
}
public
String
getIsAdmin
()
{
return
isAdmin
;
}
public
void
setIsAdmin
(
String
isAdmin
)
{
this
.
isAdmin
=
isAdmin
;
}
public
String
getNetworkid
()
{
return
networkid
;
}
public
void
setNetworkid
(
String
networkid
)
{
this
.
networkid
=
networkid
;
}
public
String
getDeviceId
()
{
return
deviceId
;
}
public
void
setDeviceId
(
String
deviceId
)
{
this
.
deviceId
=
deviceId
;
}
public
Integer
getDeleteStatus
()
{
return
deleteStatus
;
}
public
void
setDeleteStatus
(
Integer
deleteStatus
)
{
this
.
deleteStatus
=
deleteStatus
;
}
public
Date
getCreatetime
()
{
return
createtime
;
}
public
void
setCreatetime
(
Date
createtime
)
{
this
.
createtime
=
createtime
;
}
@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
(
", account="
).
append
(
account
);
sb
.
append
(
", appid="
).
append
(
appid
);
sb
.
append
(
", departOrgName="
).
append
(
departOrgName
);
sb
.
append
(
", department="
).
append
(
department
);
sb
.
append
(
", eid="
).
append
(
eid
);
sb
.
append
(
", email="
).
append
(
email
);
sb
.
append
(
", jobNo="
).
append
(
jobNo
);
sb
.
append
(
", longName="
).
append
(
longName
);
sb
.
append
(
", mobile="
).
append
(
mobile
);
sb
.
append
(
", xtid="
).
append
(
xtid
);
sb
.
append
(
", oid="
).
append
(
oid
);
sb
.
append
(
", openid="
).
append
(
openid
);
sb
.
append
(
", orgid="
).
append
(
orgid
);
sb
.
append
(
", photourl="
).
append
(
photourl
);
sb
.
append
(
", username="
).
append
(
username
);
sb
.
append
(
", userid="
).
append
(
userid
);
sb
.
append
(
", uid="
).
append
(
uid
);
sb
.
append
(
", tid="
).
append
(
tid
);
sb
.
append
(
", isAdmin="
).
append
(
isAdmin
);
sb
.
append
(
", networkid="
).
append
(
networkid
);
sb
.
append
(
", deviceId="
).
append
(
deviceId
);
sb
.
append
(
", deleteStatus="
).
append
(
deleteStatus
);
sb
.
append
(
", createtime="
).
append
(
createtime
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/VankeVvUserExample.java
0 → 100644
View file @
4e690c31
This diff is collapsed.
Click to expand it.
mall-mbg/src/main/resources/com/macro/mall/mapper/VankeConfigMapper.xml
0 → 100644
View file @
4e690c31
<?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.macro.mall.mapper.VankeConfigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.macro.mall.model.VankeConfig"
>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"stock_warning"
jdbcType=
"INTEGER"
property=
"stockWarning"
/>
<result
column=
"receive_interval"
jdbcType=
"DECIMAL"
property=
"receiveInterval"
/>
<result
column=
"create_by"
jdbcType=
"BIGINT"
property=
"createBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"createtime"
jdbcType=
"TIMESTAMP"
property=
"createtime"
/>
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
</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, stock_warning, receive_interval, create_by, update_by, createtime, updatetime
</sql>
<select
id=
"selectByExample"
parameterType=
"com.macro.mall.model.VankeConfigExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from vanke_config
<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.Long"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from vanke_config
where id = #{id,jdbcType=BIGINT}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from vanke_config
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.macro.mall.model.VankeConfigExample"
>
delete from vanke_config
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.macro.mall.model.VankeConfig"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_config (stock_warning, receive_interval, create_by,
update_by, createtime, updatetime
)
values (#{stockWarning,jdbcType=INTEGER}, #{receiveInterval,jdbcType=DECIMAL}, #{createBy,jdbcType=BIGINT},
#{updateBy,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.macro.mall.model.VankeConfig"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_config
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"stockWarning != null"
>
stock_warning,
</if>
<if
test=
"receiveInterval != null"
>
receive_interval,
</if>
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"createtime != null"
>
createtime,
</if>
<if
test=
"updatetime != null"
>
updatetime,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"stockWarning != null"
>
#{stockWarning,jdbcType=INTEGER},
</if>
<if
test=
"receiveInterval != null"
>
#{receiveInterval,jdbcType=DECIMAL},
</if>
<if
test=
"createBy != null"
>
#{createBy,jdbcType=BIGINT},
</if>
<if
test=
"updateBy != null"
>
#{updateBy,jdbcType=BIGINT},
</if>
<if
test=
"createtime != null"
>
#{createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
#{updatetime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.VankeConfigExample"
resultType=
"java.lang.Long"
>
select count(*) from vanke_config
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update vanke_config
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=BIGINT},
</if>
<if
test=
"record.stockWarning != null"
>
stock_warning = #{record.stockWarning,jdbcType=INTEGER},
</if>
<if
test=
"record.receiveInterval != null"
>
receive_interval = #{record.receiveInterval,jdbcType=DECIMAL},
</if>
<if
test=
"record.createBy != null"
>
create_by = #{record.createBy,jdbcType=BIGINT},
</if>
<if
test=
"record.updateBy != null"
>
update_by = #{record.updateBy,jdbcType=BIGINT},
</if>
<if
test=
"record.createtime != null"
>
createtime = #{record.createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updatetime != null"
>
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update vanke_config
set id = #{record.id,jdbcType=BIGINT},
stock_warning = #{record.stockWarning,jdbcType=INTEGER},
receive_interval = #{record.receiveInterval,jdbcType=DECIMAL},
create_by = #{record.createBy,jdbcType=BIGINT},
update_by = #{record.updateBy,jdbcType=BIGINT},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.macro.mall.model.VankeConfig"
>
update vanke_config
<set>
<if
test=
"stockWarning != null"
>
stock_warning = #{stockWarning,jdbcType=INTEGER},
</if>
<if
test=
"receiveInterval != null"
>
receive_interval = #{receiveInterval,jdbcType=DECIMAL},
</if>
<if
test=
"createBy != null"
>
create_by = #{createBy,jdbcType=BIGINT},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy,jdbcType=BIGINT},
</if>
<if
test=
"createtime != null"
>
createtime = #{createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
updatetime = #{updatetime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.macro.mall.model.VankeConfig"
>
update vanke_config
set stock_warning = #{stockWarning,jdbcType=INTEGER},
receive_interval = #{receiveInterval,jdbcType=DECIMAL},
create_by = #{createBy,jdbcType=BIGINT},
update_by = #{updateBy,jdbcType=BIGINT},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
mall-mbg/src/main/resources/com/macro/mall/mapper/VankeVvUserMapper.xml
0 → 100644
View file @
4e690c31
This diff is collapsed.
Click to expand it.
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