Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
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
base_platform_enterprise
gic-platform-finance
Commits
23e2bc95
Commit
23e2bc95
authored
Aug 29, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打款账户接口
parent
f3a9b750
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
228 additions
and
0 deletions
+228
-0
PayAccountDTO.java
...-api/src/main/java/com/gic/finance/dto/PayAccountDTO.java
+145
-0
PayAccountApiService.java
...in/java/com/gic/finance/service/PayAccountApiService.java
+83
-0
No files found.
gic-platform-finance-api/src/main/java/com/gic/finance/dto/PayAccountDTO.java
0 → 100644
View file @
23e2bc95
package
com
.
gic
.
finance
.
dto
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 打款户信息
* @ClassName: PayAccountDTO
* @Description:
* @author guojuxing
* @date 2019/8/29 2:20 PM
*/
public
class
PayAccountDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
5695680475810544460L
;
public
interface
SavePayAccount
{
}
public
interface
EditPayAccount
{
}
/**
*
*/
@NotNull
(
message
=
"主键不能为空"
,
groups
=
{
EditPayAccount
.
class
})
private
Integer
payAccountId
;
/**
* 开户名称
*/
@NotBlank
(
message
=
"开户名称不能为空"
,
groups
=
{
SavePayAccount
.
class
})
private
String
accountName
;
/**
* 开户银行
*/
@NotBlank
(
message
=
"开户银行不能为空"
,
groups
=
{
SavePayAccount
.
class
})
private
String
bank
;
/**
* 支行名称
*/
@NotBlank
(
message
=
"支行名称不能为空"
,
groups
=
{
SavePayAccount
.
class
})
private
String
branchName
;
/**
* 开户账号
*/
@NotBlank
(
message
=
"开户账号不能为空"
,
groups
=
{
SavePayAccount
.
class
})
private
String
bankAccount
;
/**
* 状态 0 :删除 1:启用 2:停用
*/
private
Integer
status
;
/**
* 排序
*/
private
Integer
sort
;
/**
*
*/
private
Date
createTime
;
/**
*
*/
private
Date
updateTime
;
public
Integer
getPayAccountId
()
{
return
payAccountId
;
}
public
void
setPayAccountId
(
Integer
payAccountId
)
{
this
.
payAccountId
=
payAccountId
;
}
public
String
getAccountName
()
{
return
accountName
;
}
public
void
setAccountName
(
String
accountName
)
{
this
.
accountName
=
accountName
;
}
public
String
getBank
()
{
return
bank
;
}
public
void
setBank
(
String
bank
)
{
this
.
bank
=
bank
;
}
public
String
getBranchName
()
{
return
branchName
;
}
public
void
setBranchName
(
String
branchName
)
{
this
.
branchName
=
branchName
;
}
public
String
getBankAccount
()
{
return
bankAccount
;
}
public
void
setBankAccount
(
String
bankAccount
)
{
this
.
bankAccount
=
bankAccount
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
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
;
}
}
gic-platform-finance-api/src/main/java/com/gic/finance/service/PayAccountApiService.java
0 → 100644
View file @
23e2bc95
package
com
.
gic
.
finance
.
service
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.finance.dto.PayAccountDTO
;
import
java.util.List
;
/**
* 打款户接口
* @ClassName: PayAccountApiService
* @Description:
* @author guojuxing
* @date 2019/8/29 2:22 PM
*/
public
interface
PayAccountApiService
{
/**
* 新增打款户信息
* @Title: save
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
save
(
PayAccountDTO
dto
);
/**
* 编辑保存
* @Title: update
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
update
(
PayAccountDTO
dto
);
/**
* 删除
* @Title: delete
* @Description:
* @author guojuxing
* @param id
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
delete
(
Integer
id
);
/**
* 上移排序
* @Title: upSort
* @Description:
* @author guojuxing
* @param id
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
upSort
(
Integer
id
);
/**
* 下移排序
* @Title: downSort
* @Description:
* @author guojuxing
* @param id
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
downSort
(
Integer
id
);
/**
* 根据主键查询数据
* @Title: getById
* @Description:
* @author guojuxing
* @param id
* @return com.gic.api.base.commons.ServiceResponse<com.gic.finance.dto.PayAccountDTO>
*/
ServiceResponse
<
PayAccountDTO
>
getById
(
Integer
id
);
/**
* 列表查询
* @Title: listPayAccount
* @Description:
* @author guojuxing
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.finance.dto.PayAccountDTO>>
*/
ServiceResponse
<
List
<
PayAccountDTO
>>
listPayAccount
();
}
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