Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
2dbacea1
Commit
2dbacea1
authored
Mar 22, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
071105cd
8aff22b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
HouseholdContractMapper.xml
...c/main/resources/mapper/mysql/HouseholdContractMapper.xml
+16
-16
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HouseholdContractMapper.xml
View file @
2dbacea1
...
@@ -8,32 +8,32 @@
...
@@ -8,32 +8,32 @@
*
*
from hygf_household_contract
from hygf_household_contract
LEFT JOIN hygf_peasant_household php ON php.sequence_nbr = hygf_household_contract.peasant_household_id
<where>
LEFT JOIN hygf_peasant_household php ON php.sequence_nbr = hygf_household_contract.peasant_household_id
<where>
<if
test=
"dto.name != null "
>
<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>
<if
test=
"dto.contractNumber != null "
>
<if
test=
"dto.contractNumber != null
and dto.contractNumber !=''
"
>
and hygf_household_contract.contract
N
umber like concat('%',#{dto.contractNumber},'%')
and hygf_household_contract.contract
_n
umber like concat('%',#{dto.contractNumber},'%')
</if>
</if>
<if
test=
"dto.initiateStatus != null "
>
<if
test=
"dto.initiateStatus != null
and dto.initiateStatus !=''
"
>
and hygf_household_contract.initiate
S
tatus = #{dto.initiateStatus}
and hygf_household_contract.initiate
_s
tatus = #{dto.initiateStatus}
</if>
</if>
<if
test=
"dto.peasantHouseholdId != null "
>
<if
test=
"dto.peasantHouseholdId != null
and dto.peasantHouseholdId !=''
"
>
and hygf_household_contract.peasant
HouseholdI
d = #{dto.peasantHouseholdId}
and hygf_household_contract.peasant
_household_i
d = #{dto.peasantHouseholdId}
</if>
</if>
<if
test=
"dto.dealerId != null "
>
<if
test=
"dto.dealerId != null
and dto.dealerId !=''
"
>
and hygf_household_contract.dealer
I
d = #{dto.dealerId}
and hygf_household_contract.dealer
_i
d = #{dto.dealerId}
</if>
</if>
<if
test=
"dto.surveyStatus != null "
>
<if
test=
"dto.surveyStatus != null
and dto.surveyStatus !=''
"
>
and hygf_household_contract.survey
S
tatus = #{dto.surveyStatus}
and hygf_household_contract.survey
_s
tatus = #{dto.surveyStatus}
</if>
</if>
<if
test=
"dto.signStatus != null "
>
<if
test=
"dto.signStatus != null
and dto.signStatus !=''
"
>
and hygf_household_contract.sign
S
tatus = #{dto.signStatus}
and hygf_household_contract.sign
_s
tatus = #{dto.signStatus}
</if>
</if>
<if
test=
"dto.userId != null "
>
<if
test=
"dto.userId != null
and dto.userId !=''
"
>
and hygf_household_contract.userId = #{dto.userId}
and hygf_household_contract.userId = #{dto.userId}
</if>
</if>
<if
test=
"dto.partyA != null "
>
<if
test=
"dto.partyA != null
and dto.partyA !=''
"
>
and hygf_household_contract.party
A
like concat('%',#{dto.partyA},'%')
and hygf_household_contract.party
_a
like concat('%',#{dto.partyA},'%')
</if>
</if>
</where>
</where>
<if
test=
"dto.orderBy == null "
>
<if
test=
"dto.orderBy == null "
>
...
...
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