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
1e402bed
Commit
1e402bed
authored
Jul 24, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同列表添加筛选条件
parent
8a4ce22b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
HouseholdContractPageDto.java
...os/boot/module/hygf/api/dto/HouseholdContractPageDto.java
+1
-0
HouseholdContractMapper.xml
...c/main/resources/mapper/mysql/HouseholdContractMapper.xml
+3
-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 @
1e402bed
...
...
@@ -47,4 +47,5 @@ public class HouseholdContractPageDto extends Page<HouseholdContract> {
private
String
userId
;
private
String
contractNumber
;
private
String
regionalCompaniesName
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HouseholdContractMapper.xml
View file @
1e402bed
...
...
@@ -42,6 +42,9 @@
<if
test=
"dto.partyA != null and dto.partyA !=''"
>
and hygf_household_contract.party_a like concat('%',#{dto.partyA},'%')
</if>
<if
test=
"dto.regionalCompaniesName != null and dto.regionalCompaniesName !=''"
>
and hygf_household_contract.regional_companies_name like concat('%',#{dto.regionalCompaniesName},'%')
</if>
</where>
<if
test=
"dto.orderBy == null "
>
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