Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
ba97f026
Commit
ba97f026
authored
Dec 03, 2020
by
machengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
998382ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
0 deletions
+108
-0
FinanceCustomerAssetsDto.java
...uls/controller/finance/bean/FinanceCustomerAssetsDto.java
+88
-0
FinanceTradeFlowDao.xml
...all/src/main/resources/mapperconf/FinanceTradeFlowDao.xml
+20
-0
No files found.
jz-dm-mall/src/main/java/com/jz/dm/mall/moduls/controller/finance/bean/FinanceCustomerAssetsDto.java
0 → 100644
View file @
ba97f026
package
com
.
jz
.
dm
.
mall
.
moduls
.
controller
.
finance
.
bean
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 商城企业客户资产(TFinanceCustomerAssets)实体类
*
* @author Bellamy
* @since 2020-12-01 10:41:38
*/
@ApiModel
public
class
FinanceCustomerAssetsDto
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
86484762300825431L
;
/**
* 资产id
*/
@TableId
(
value
=
"assets_id"
,
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"资产id"
)
private
Long
assetsId
;
/**
* 企业id
*/
@ApiModelProperty
(
value
=
"企业id"
)
private
Long
departmentId
;
/**
* 可用金额
*/
@ApiModelProperty
(
value
=
"可用金额"
)
private
BigDecimal
useMoney
;
/**
* 冻结金额
*/
@ApiModelProperty
(
value
=
"冻结金额"
)
private
BigDecimal
frozenMoney
;
/**
* 总金额
*/
@ApiModelProperty
(
value
=
"总金额"
)
private
BigDecimal
totalMoney
;
public
Long
getAssetsId
()
{
return
assetsId
;
}
public
void
setAssetsId
(
Long
assetsId
)
{
this
.
assetsId
=
assetsId
;
}
public
Long
getDepartmentId
()
{
return
departmentId
;
}
public
void
setDepartmentId
(
Long
departmentId
)
{
this
.
departmentId
=
departmentId
;
}
public
BigDecimal
getUseMoney
()
{
return
useMoney
;
}
public
void
setUseMoney
(
BigDecimal
useMoney
)
{
this
.
useMoney
=
useMoney
;
}
public
BigDecimal
getFrozenMoney
()
{
return
frozenMoney
;
}
public
void
setFrozenMoney
(
BigDecimal
frozenMoney
)
{
this
.
frozenMoney
=
frozenMoney
;
}
public
BigDecimal
getTotalMoney
()
{
return
totalMoney
;
}
public
void
setTotalMoney
(
BigDecimal
totalMoney
)
{
this
.
totalMoney
=
totalMoney
;
}
}
\ No newline at end of file
jz-dm-mall/src/main/resources/mapperconf/FinanceTradeFlowDao.xml
0 → 100644
View file @
ba97f026
<?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.jz.dm.mall.moduls.mapper.FinanceTradeFlowDao"
>
<!--商城 充值 只有已审核(认证)企业-->
<select
id=
"queryAccountMoneyByMap"
resultType=
"com.jz.dm.mall.moduls.controller.finance.bean.FinanceCustomerAssetsDto"
parameterType=
"map"
>
select
assets_id as assetsId,
department_id as departmentId,
use_money as useMoney,
frozen_money as frozenMoney,
total_money as totalMoney
from t_finance_customer_assets t
left join t_department t1 on t.department_id=t1.department_id and t1.audit_status='02'
where 1=1
<if
test=
"assetsId != null"
>
and assets_id = #{assetsId}
</if>
<if
test=
"departmentId != null"
>
and department_id = #{departmentId}
</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