Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
48da48d4
Commit
48da48d4
authored
Dec 01, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/MVP1.0' into feature/MVP1.0
parents
476a9b70
27180f57
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
4 deletions
+28
-4
TSettleDomainController.java
.../v1/yifu/archives/controller/TSettleDomainController.java
+2
-2
TSettleDomainMapper.java
...oud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
+2
-0
TSettleDomainService.java
...d/plus/v1/yifu/archives/service/TSettleDomainService.java
+17
-0
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+5
-0
TSettleDomainMapper.xml
...ves-biz/src/main/resources/mapper/TSettleDomainMapper.xml
+2
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TSettleDomainController.java
View file @
48da48d4
...
@@ -72,7 +72,7 @@ public class TSettleDomainController {
...
@@ -72,7 +72,7 @@ public class TSettleDomainController {
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSettleDomain
>>
getTSettleDomainPage
(
Page
<
TSettleDomain
>
page
,
TSettleDomain
tSettleDomain
)
{
public
R
<
IPage
<
TSettleDomain
>>
getTSettleDomainPage
(
Page
<
TSettleDomain
>
page
,
TSettleDomain
tSettleDomain
)
{
return
R
.
ok
(
tSettleDomainService
.
page
(
page
,
Wrappers
.
query
(
tSettleDomain
)
));
return
R
.
ok
(
tSettleDomainService
.
getPage
(
page
,
tSettleDomain
));
}
}
/**
/**
...
@@ -84,7 +84,7 @@ public class TSettleDomainController {
...
@@ -84,7 +84,7 @@ public class TSettleDomainController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@GetMapping
(
"/noPage"
)
@GetMapping
(
"/noPage"
)
public
R
<
List
<
TSettleDomain
>>
getTSettleDomainNoPage
(
TSettleDomain
tSettleDomain
)
{
public
R
<
List
<
TSettleDomain
>>
getTSettleDomainNoPage
(
TSettleDomain
tSettleDomain
)
{
return
R
.
ok
(
tSettleDomainService
.
list
(
Wrappers
.
query
(
tSettleDomain
)
));
return
R
.
ok
(
tSettleDomainService
.
getList
(
tSettleDomain
));
}
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
View file @
48da48d4
...
@@ -40,6 +40,8 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
...
@@ -40,6 +40,8 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
IPage
<
TSettleDomain
>
getPage
(
Page
<
TSettleDomain
>
page
,
@Param
(
"tSettleDomain"
)
TSettleDomain
tSettleDomain
);
IPage
<
TSettleDomain
>
getPage
(
Page
<
TSettleDomain
>
page
,
@Param
(
"tSettleDomain"
)
TSettleDomain
tSettleDomain
);
List
<
TSettleDomain
>
getPage
(
@Param
(
"tSettleDomain"
)
TSettleDomain
tSettleDomain
);
IPage
<
IdNameNoVo
>
getUnitPage
(
Page
<
IdNameNoVo
>
page
,
@Param
(
"idNameNoVo"
)
IdNameNoVo
idNameNoVo
);
IPage
<
IdNameNoVo
>
getUnitPage
(
Page
<
IdNameNoVo
>
page
,
@Param
(
"idNameNoVo"
)
IdNameNoVo
idNameNoVo
);
/**
/**
* @param departNo
* @param departNo
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TSettleDomainService.java
View file @
48da48d4
...
@@ -38,8 +38,25 @@ import java.util.List;
...
@@ -38,8 +38,25 @@ import java.util.List;
*/
*/
public
interface
TSettleDomainService
extends
IService
<
TSettleDomain
>
{
public
interface
TSettleDomainService
extends
IService
<
TSettleDomain
>
{
/**
* @param page
* @param tSettleDomain
* @Description: 分页列表
* @Author: hgw
* @Date: 2022/12/1 14:22
* @return: com.baomidou.mybatisplus.core.metadata.IPage<com.yifu.cloud.plus.v1.yifu.archives.entity.TSettleDomain>
**/
IPage
<
TSettleDomain
>
getPage
(
Page
<
TSettleDomain
>
page
,
TSettleDomain
tSettleDomain
);
IPage
<
TSettleDomain
>
getPage
(
Page
<
TSettleDomain
>
page
,
TSettleDomain
tSettleDomain
);
/**
* @param tSettleDomain
* @Description: 全部list
* @Author: hgw
* @Date: 2022/12/1 14:22
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TSettleDomain>
**/
List
<
TSettleDomain
>
getList
(
TSettleDomain
tSettleDomain
);
/**
/**
* @param page
* @param page
* @param idNameNoVo
* @param idNameNoVo
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
48da48d4
...
@@ -72,6 +72,11 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
...
@@ -72,6 +72,11 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
return
baseMapper
.
getPage
(
page
,
tSettleDomain
);
return
baseMapper
.
getPage
(
page
,
tSettleDomain
);
}
}
@Override
public
List
<
TSettleDomain
>
getList
(
TSettleDomain
tSettleDomain
)
{
return
baseMapper
.
getPage
(
tSettleDomain
);
}
@Override
@Override
public
IPage
<
IdNameNoVo
>
getUnitPage
(
Page
<
IdNameNoVo
>
page
,
IdNameNoVo
idNameNoVo
)
{
public
IPage
<
IdNameNoVo
>
getUnitPage
(
Page
<
IdNameNoVo
>
page
,
IdNameNoVo
idNameNoVo
)
{
return
baseMapper
.
getUnitPage
(
page
,
idNameNoVo
);
return
baseMapper
.
getUnitPage
(
page
,
idNameNoVo
);
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TSettleDomainMapper.xml
View file @
48da48d4
...
@@ -215,6 +215,7 @@
...
@@ -215,6 +215,7 @@
and a.STOP_FLAG = #{tSettleDomain.stopFlag}
and a.STOP_FLAG = #{tSettleDomain.stopFlag}
</if>
</if>
</if>
</if>
order by CREATE_TIME desc
</select>
</select>
<select
id=
"getUnitPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.vo.IdNameNoVo"
>
<select
id=
"getUnitPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.vo.IdNameNoVo"
>
...
@@ -287,8 +288,7 @@
...
@@ -287,8 +288,7 @@
a.INVOICE_TITLE_INSURANCE,
a.INVOICE_TITLE_INSURANCE,
a.BPO_FLAG
a.BPO_FLAG
FROM t_settle_domain a
FROM t_settle_domain a
where 1=1
where a.DELETE_FLAG = '0'
and a.DELETE_FLAG = '0'
<if
test=
"codes != null and codes.size() > 0"
>
<if
test=
"codes != null and codes.size() > 0"
>
and a.DEPART_NO in
and a.DEPART_NO in
<foreach
collection=
"codes"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"codes"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
...
...
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