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
8ce5a5e7
Commit
8ce5a5e7
authored
Nov 11, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同列表添加状态搜索
parent
82de31a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
HouseholdContractPageDto.java
...os/boot/module/hygf/api/dto/HouseholdContractPageDto.java
+5
-0
HouseholdContractMapper.xml
...c/main/resources/mapper/mysql/HouseholdContractMapper.xml
+4
-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 @
8ce5a5e7
...
@@ -23,6 +23,11 @@ public class HouseholdContractPageDto extends Page<HouseholdContract> {
...
@@ -23,6 +23,11 @@ public class HouseholdContractPageDto extends Page<HouseholdContract> {
private
String
initiateStatus
;
private
String
initiateStatus
;
/**
/**
* 签署状态
*/
private
String
status
;
/**
* 农户id
* 农户id
*/
*/
private
Long
peasantHouseholdId
;
private
Long
peasantHouseholdId
;
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HouseholdContractMapper.xml
View file @
8ce5a5e7
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
from hygf_household_contract
from hygf_household_contract
LEFT JOIN hygf_peasant_household php ON php.sequence_nbr = hygf_household_contract.peasant_household_id
LEFT JOIN hygf_peasant_household php ON php.sequence_nbr = hygf_household_contract.peasant_household_id
<where>
<where>
<if
test=
"dto.status != null and dto.status !=''"
>
and hygf_household_contract.status = #{dto.status}
</if>
<if
test=
"dto.name != null and dto.name !='' "
>
<if
test=
"dto.name != null and dto.name !='' "
>
and hygf_household_contract.name like concat('%',#{dto.name},'%')
and hygf_household_contract.name like concat('%',#{dto.name},'%')
</if>
</if>
...
@@ -48,6 +51,7 @@
...
@@ -48,6 +51,7 @@
<if
test=
"dto.province != null and dto.province !=''"
>
<if
test=
"dto.province != null and dto.province !=''"
>
and php.project_address like concat ('%',#{dto.province},'%')
and php.project_address like concat ('%',#{dto.province},'%')
</if>
</if>
</where>
</where>
<if
test=
"dto.orderBy == null "
>
<if
test=
"dto.orderBy == null "
>
ORDER BY hygf_household_contract.rec_date DESC
ORDER BY hygf_household_contract.rec_date DESC
...
...
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