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
7fe9d583
Commit
7fe9d583
authored
Oct 13, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
3d8290db
863ee249
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
TSalaryEmployeeMapper.xml
...y-biz/src/main/resources/mapper/TSalaryEmployeeMapper.xml
+2
-2
TSalaryStandardMapper.xml
...y-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
+4
-1
No files found.
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryEmployeeMapper.xml
View file @
7fe9d583
...
...
@@ -116,7 +116,7 @@
AND a.DEPT_ID = #{tSalaryEmployee.deptId}
</if>
<if
test=
"tSalaryEmployee.deptName != null and tSalaryEmployee.deptName.trim() != ''"
>
AND a.DEPT_NAME
= #{tSalaryEmployee.deptName}
AND a.DEPT_NAME
like concat('%',#{tSalaryEmployee.deptName},'%')
</if>
<if
test=
"tSalaryEmployee.deptNo != null and tSalaryEmployee.deptNo.trim() != ''"
>
AND a.DEPT_NO = #{tSalaryEmployee.deptNo}
...
...
@@ -146,7 +146,7 @@
AND a.BANK_NO = #{tSalaryEmployee.bankNo}
</if>
<if
test=
"tSalaryEmployee.invoiceTitle != null and tSalaryEmployee.invoiceTitle.trim() != ''"
>
AND a.INVOICE_TITLE
= #{tSalaryEmployee.invoiceTitle}
AND a.INVOICE_TITLE
like concat('%',#{tSalaryEmployee.invoiceTitle},'%')
</if>
<if
test=
"tSalaryEmployee.bankProvince != null"
>
AND a.BANK_PROVINCE = #{tSalaryEmployee.bankProvince}
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
View file @
7fe9d583
...
...
@@ -140,8 +140,11 @@
AND a.ORDER_ID = #{tSalaryStandard.orderId}
</if>
<if
test=
"tSalaryStandard.deptName != null and tSalaryStandard.deptName.trim() != ''"
>
AND a.DEPT_NAME
= #{tSalaryStandard.deptName}
AND a.DEPT_NAME
like concat('%',#{tSalaryStandard.deptName},'%')
</if>
<if
test=
"tSalaryStandard.invoiceTitle != null and tSalaryStandard.invoiceTitle.trim() != ''"
>
AND a.INVOICE_TITLE like concat('%',#{tSalaryStandard.invoiceTitle},'%')
</if>
<if
test=
"tSalaryStandard.deptNo != null and tSalaryStandard.deptNo.trim() != ''"
>
AND a.DEPT_NO = #{tSalaryStandard.deptNo}
</if>
...
...
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