Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
26e5bf24
Commit
26e5bf24
authored
Nov 14, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同列表接口修改, 添加时间筛选
parent
aab46b19
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
HouseholdContractPageDto.java
...os/boot/module/hygf/api/dto/HouseholdContractPageDto.java
+2
-0
HouseholdContractMapper.xml
...c/main/resources/mapper/mysql/HouseholdContractMapper.xml
+6
-0
HouseholdContractServiceImpl.java
...e/hygf/biz/service/impl/HouseholdContractServiceImpl.java
+1
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/HouseholdContractPageDto.java
View file @
26e5bf24
...
...
@@ -58,4 +58,6 @@ public class HouseholdContractPageDto{
private
String
regionalCompaniesName
;
//省份
private
String
province
;
private
String
startTime
;
private
String
endTime
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HouseholdContractMapper.xml
View file @
26e5bf24
...
...
@@ -18,6 +18,12 @@
<if
test=
"dto.status != null and dto.status !=''"
>
and hygf_household_contract.status = #{dto.status}
</if>
<if
test=
"dto.startTime != null and dto.startTime !=''"
>
and hygf_household_contract.dzhtqy_create_time
>
= #{dto.startTime}
</if>
<if
test=
"dto.endTime != null and dto.endTime !=''"
>
and hygf_household_contract.dzhtqy_create_time
<
= #{dto.endTime}
</if>
<if
test=
"dto.projectAddress != null and dto.projectAddress != '' and dto.projectAddress.contains('/'.toString())"
>
AND hygf_household_contract.project_address_name LIKE CONCAT('%', #{dto.projectAddress}, '%')
</if>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/HouseholdContractServiceImpl.java
View file @
26e5bf24
...
...
@@ -93,6 +93,7 @@ public class HouseholdContractServiceImpl extends BaseService<HouseholdContractD
// }else{
// qw.orderBy(Boolean.TRUE, Boolean.FALSE, "rec_date");
// }
PageHelper
.
startPage
(
dto
.
getCurrent
(),
dto
.
getSize
());
List
<
HouseholdContract
>
list
=
householdContractMapper
.
selectPage
(
dto
);
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
...
...
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