Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
yohoufo-fore
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Lixiaodi
6 years ago
Commit
be08e160a3a01aa9a8e14cfa19a52c07d4ef9abd
1 parent
5b7cf2b0
提交商家充值mapper
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
692 additions
and
0 deletions
dal/src/main/java/com/yohoufo/dal/order/EntrySellerRechargeOrderMapper.java
dal/src/main/java/com/yohoufo/dal/order/SellerWalletDetailMapper.java
dal/src/main/java/com/yohoufo/dal/order/SellerWalletMapper.java
dal/src/main/java/com/yohoufo/dal/order/model/EntrySellerRechargeOrder.java
dal/src/main/java/com/yohoufo/dal/order/model/SellerWallet.java
dal/src/main/java/com/yohoufo/dal/order/model/SellerWalletDetail.java
dal/src/main/resources/META-INF/mybatis/order/EntrySellerRechargeOrderMapper.xml
dal/src/main/resources/META-INF/mybatis/order/SellerWalletDetailMapper.xml
dal/src/main/resources/META-INF/mybatis/order/SellerWalletMapper.xml
dal/src/main/java/com/yohoufo/dal/order/EntrySellerRechargeOrderMapper.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
;
import
com.yohoufo.dal.order.model.EntrySellerRechargeOrder
;
public
interface
EntrySellerRechargeOrderMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
EntrySellerRechargeOrder
record
);
int
insertSelective
(
EntrySellerRechargeOrder
record
);
EntrySellerRechargeOrder
selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
EntrySellerRechargeOrder
record
);
int
updateByPrimaryKey
(
EntrySellerRechargeOrder
record
);
}
\ No newline at end of file
...
...
dal/src/main/java/com/yohoufo/dal/order/SellerWalletDetailMapper.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
;
import
com.yohoufo.dal.order.model.SellerWalletDetail
;
public
interface
SellerWalletDetailMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
SellerWalletDetail
record
);
int
insertSelective
(
SellerWalletDetail
record
);
SellerWalletDetail
selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
SellerWalletDetail
record
);
int
updateByPrimaryKey
(
SellerWalletDetail
record
);
}
\ No newline at end of file
...
...
dal/src/main/java/com/yohoufo/dal/order/SellerWalletMapper.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
;
import
com.yohoufo.dal.order.model.SellerWallet
;
public
interface
SellerWalletMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
SellerWallet
record
);
int
insertSelective
(
SellerWallet
record
);
SellerWallet
selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
SellerWallet
record
);
int
updateByPrimaryKey
(
SellerWallet
record
);
}
\ No newline at end of file
...
...
dal/src/main/java/com/yohoufo/dal/order/model/EntrySellerRechargeOrder.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
.
model
;
import
java.math.BigDecimal
;
public
class
EntrySellerRechargeOrder
{
private
Integer
id
;
private
Integer
uid
;
private
Long
orderCode
;
private
Integer
payment
;
private
Integer
status
;
private
BigDecimal
amount
;
private
Integer
type
;
private
Integer
createTime
;
private
Integer
updateTime
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getUid
()
{
return
uid
;
}
public
void
setUid
(
Integer
uid
)
{
this
.
uid
=
uid
;
}
public
Long
getOrderCode
()
{
return
orderCode
;
}
public
void
setOrderCode
(
Long
orderCode
)
{
this
.
orderCode
=
orderCode
;
}
public
Integer
getPayment
()
{
return
payment
;
}
public
void
setPayment
(
Integer
payment
)
{
this
.
payment
=
payment
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
BigDecimal
getAmount
()
{
return
amount
;
}
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
}
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
public
Integer
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Integer
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Integer
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Integer
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
\ No newline at end of file
...
...
dal/src/main/java/com/yohoufo/dal/order/model/SellerWallet.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
.
model
;
import
java.math.BigDecimal
;
public
class
SellerWallet
{
private
Integer
id
;
private
Integer
uid
;
private
BigDecimal
amount
;
private
Byte
status
;
private
Byte
type
;
private
Integer
createTime
;
private
Integer
updateTime
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getUid
()
{
return
uid
;
}
public
void
setUid
(
Integer
uid
)
{
this
.
uid
=
uid
;
}
public
BigDecimal
getAmount
()
{
return
amount
;
}
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
}
public
Byte
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
public
Byte
getType
()
{
return
type
;
}
public
void
setType
(
Byte
type
)
{
this
.
type
=
type
;
}
public
Integer
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Integer
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Integer
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Integer
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
\ No newline at end of file
...
...
dal/src/main/java/com/yohoufo/dal/order/model/SellerWalletDetail.java
0 → 100644
View file @
be08e16
package
com
.
yohoufo
.
dal
.
order
.
model
;
import
java.math.BigDecimal
;
public
class
SellerWalletDetail
{
private
Integer
id
;
private
Integer
walletId
;
private
Integer
uid
;
private
Long
orderCode
;
private
BigDecimal
amount
;
private
Byte
type
;
private
Integer
createTime
;
private
Integer
updateTime
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getWalletId
()
{
return
walletId
;
}
public
void
setWalletId
(
Integer
walletId
)
{
this
.
walletId
=
walletId
;
}
public
Integer
getUid
()
{
return
uid
;
}
public
void
setUid
(
Integer
uid
)
{
this
.
uid
=
uid
;
}
public
Long
getOrderCode
()
{
return
orderCode
;
}
public
void
setOrderCode
(
Long
orderCode
)
{
this
.
orderCode
=
orderCode
;
}
public
BigDecimal
getAmount
()
{
return
amount
;
}
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
}
public
Byte
getType
()
{
return
type
;
}
public
void
setType
(
Byte
type
)
{
this
.
type
=
type
;
}
public
Integer
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Integer
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Integer
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Integer
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
\ No newline at end of file
...
...
dal/src/main/resources/META-INF/mybatis/order/EntrySellerRechargeOrderMapper.xml
0 → 100644
View file @
be08e16
<?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.yohoufo.dal.order.EntrySellerRechargeOrderMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yohoufo.dal.order.model.EntrySellerRechargeOrder"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"uid"
property=
"uid"
jdbcType=
"INTEGER"
/>
<result
column=
"order_code"
property=
"orderCode"
jdbcType=
"BIGINT"
/>
<result
column=
"payment"
property=
"payment"
jdbcType=
"TINYINT"
/>
<result
column=
"status"
property=
"status"
jdbcType=
"TINYINT"
/>
<result
column=
"amount"
property=
"amount"
jdbcType=
"DECIMAL"
/>
<result
column=
"type"
property=
"type"
jdbcType=
"TINYINT"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"INTEGER"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, uid, order_code, payment, status, amount, type, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
from entry_seller_recharge_order
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from entry_seller_recharge_order
where id = #{id,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.yohoufo.dal.order.model.EntrySellerRechargeOrder"
>
insert into entry_seller_recharge_order (id, uid, order_code,
payment, status, amount,
type, create_time, update_time
)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{orderCode,jdbcType=BIGINT},
#{payment,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{amount,jdbcType=DECIMAL},
#{type,jdbcType=TINYINT}, #{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.yohoufo.dal.order.model.EntrySellerRechargeOrder"
>
insert into entry_seller_recharge_order
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"uid != null"
>
uid,
</if>
<if
test=
"orderCode != null"
>
order_code,
</if>
<if
test=
"payment != null"
>
payment,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"amount != null"
>
amount,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"uid != null"
>
#{uid,jdbcType=INTEGER},
</if>
<if
test=
"orderCode != null"
>
#{orderCode,jdbcType=BIGINT},
</if>
<if
test=
"payment != null"
>
#{payment,jdbcType=TINYINT},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"amount != null"
>
#{amount,jdbcType=DECIMAL},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yohoufo.dal.order.model.EntrySellerRechargeOrder"
>
update entry_seller_recharge_order
<set
>
<if
test=
"uid != null"
>
uid = #{uid,jdbcType=INTEGER},
</if>
<if
test=
"orderCode != null"
>
order_code = #{orderCode,jdbcType=BIGINT},
</if>
<if
test=
"payment != null"
>
payment = #{payment,jdbcType=TINYINT},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=TINYINT},
</if>
<if
test=
"amount != null"
>
amount = #{amount,jdbcType=DECIMAL},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.yohoufo.dal.order.model.EntrySellerRechargeOrder"
>
update entry_seller_recharge_order
set uid = #{uid,jdbcType=INTEGER},
order_code = #{orderCode,jdbcType=BIGINT},
payment = #{payment,jdbcType=TINYINT},
status = #{status,jdbcType=TINYINT},
amount = #{amount,jdbcType=DECIMAL},
type = #{type,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
...
...
dal/src/main/resources/META-INF/mybatis/order/SellerWalletDetailMapper.xml
0 → 100644
View file @
be08e16
<?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.yohoufo.dal.order.SellerWalletDetailMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yohoufo.dal.order.model.SellerWalletDetail"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"wallet_id"
property=
"walletId"
jdbcType=
"INTEGER"
/>
<result
column=
"uid"
property=
"uid"
jdbcType=
"INTEGER"
/>
<result
column=
"order_code"
property=
"orderCode"
jdbcType=
"BIGINT"
/>
<result
column=
"amount"
property=
"amount"
jdbcType=
"DECIMAL"
/>
<result
column=
"type"
property=
"type"
jdbcType=
"TINYINT"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"INTEGER"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, wallet_id, uid, order_code, amount, type, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
from seller_wallet_detail
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from seller_wallet_detail
where id = #{id,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.yohoufo.dal.order.model.SellerWalletDetail"
>
insert into seller_wallet_detail (id, wallet_id, uid,
order_code, amount, type,
create_time, update_time)
values (#{id,jdbcType=INTEGER}, #{walletId,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER},
#{orderCode,jdbcType=BIGINT}, #{amount,jdbcType=DECIMAL}, #{type,jdbcType=TINYINT},
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.yohoufo.dal.order.model.SellerWalletDetail"
>
insert into seller_wallet_detail
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"walletId != null"
>
wallet_id,
</if>
<if
test=
"uid != null"
>
uid,
</if>
<if
test=
"orderCode != null"
>
order_code,
</if>
<if
test=
"amount != null"
>
amount,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"walletId != null"
>
#{walletId,jdbcType=INTEGER},
</if>
<if
test=
"uid != null"
>
#{uid,jdbcType=INTEGER},
</if>
<if
test=
"orderCode != null"
>
#{orderCode,jdbcType=BIGINT},
</if>
<if
test=
"amount != null"
>
#{amount,jdbcType=DECIMAL},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yohoufo.dal.order.model.SellerWalletDetail"
>
update seller_wallet_detail
<set
>
<if
test=
"walletId != null"
>
wallet_id = #{walletId,jdbcType=INTEGER},
</if>
<if
test=
"uid != null"
>
uid = #{uid,jdbcType=INTEGER},
</if>
<if
test=
"orderCode != null"
>
order_code = #{orderCode,jdbcType=BIGINT},
</if>
<if
test=
"amount != null"
>
amount = #{amount,jdbcType=DECIMAL},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.yohoufo.dal.order.model.SellerWalletDetail"
>
update seller_wallet_detail
set wallet_id = #{walletId,jdbcType=INTEGER},
uid = #{uid,jdbcType=INTEGER},
order_code = #{orderCode,jdbcType=BIGINT},
amount = #{amount,jdbcType=DECIMAL},
type = #{type,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
...
...
dal/src/main/resources/META-INF/mybatis/order/SellerWalletMapper.xml
0 → 100644
View file @
be08e16
<?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.yohoufo.dal.order.SellerWalletMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yohoufo.dal.order.model.SellerWallet"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"uid"
property=
"uid"
jdbcType=
"INTEGER"
/>
<result
column=
"amount"
property=
"amount"
jdbcType=
"DECIMAL"
/>
<result
column=
"status"
property=
"status"
jdbcType=
"TINYINT"
/>
<result
column=
"type"
property=
"type"
jdbcType=
"TINYINT"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"INTEGER"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, uid, amount, status, type, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
from seller_wallet
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from seller_wallet
where id = #{id,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.yohoufo.dal.order.model.SellerWallet"
>
insert into seller_wallet (id, uid, amount,
status, type, create_time,
update_time)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL},
#{status,jdbcType=TINYINT}, #{type,jdbcType=TINYINT}, #{createTime,jdbcType=INTEGER},
#{updateTime,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.yohoufo.dal.order.model.SellerWallet"
>
insert into seller_wallet
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"uid != null"
>
uid,
</if>
<if
test=
"amount != null"
>
amount,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"uid != null"
>
#{uid,jdbcType=INTEGER},
</if>
<if
test=
"amount != null"
>
#{amount,jdbcType=DECIMAL},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=INTEGER},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yohoufo.dal.order.model.SellerWallet"
>
update seller_wallet
<set
>
<if
test=
"uid != null"
>
uid = #{uid,jdbcType=INTEGER},
</if>
<if
test=
"amount != null"
>
amount = #{amount,jdbcType=DECIMAL},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=TINYINT},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=TINYINT},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=INTEGER},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.yohoufo.dal.order.model.SellerWallet"
>
update seller_wallet
set uid = #{uid,jdbcType=INTEGER},
amount = #{amount,jdbcType=DECIMAL},
status = #{status,jdbcType=TINYINT},
type = #{type,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment