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
6088dea5
You need to sign in or sign up before continuing.
Commit
6088dea5
authored
Jan 08, 2026
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.7.19-我的待办、待办监控:合同待签署页签,增加“是否已建档”查询条件-是/否,允许叉掉
parent
08a0ad97
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
3 deletions
+34
-3
TEmployeeContractPreMapper.xml
.../src/main/resources/mapper/TEmployeeContractPreMapper.xml
+34
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractPreMapper.xml
View file @
6088dea5
...
@@ -201,9 +201,6 @@
...
@@ -201,9 +201,6 @@
<if
test=
"tEmployeeContractPre.employeeName != null and tEmployeeContractPre.employeeName.trim() != ''"
>
<if
test=
"tEmployeeContractPre.employeeName != null and tEmployeeContractPre.employeeName.trim() != ''"
>
AND a.employee_name = #{tEmployeeContractPre.employeeName}
AND a.employee_name = #{tEmployeeContractPre.employeeName}
</if>
</if>
<if
test=
"tEmployeeContractPre.archivesIsCreate != null and tEmployeeContractPre.archivesIsCreate.trim() != ''"
>
AND a.archives_is_create = #{tEmployeeContractPre.archivesIsCreate}
</if>
<if
test=
"tEmployeeContractPre.empIdcard != null and tEmployeeContractPre.empIdcard.trim() != ''"
>
<if
test=
"tEmployeeContractPre.empIdcard != null and tEmployeeContractPre.empIdcard.trim() != ''"
>
AND a.emp_idcard like CONCAT('%',#{tEmployeeContractPre.empIdcard},'%')
AND a.emp_idcard like CONCAT('%',#{tEmployeeContractPre.empIdcard},'%')
</if>
</if>
...
@@ -286,6 +283,18 @@
...
@@ -286,6 +283,18 @@
<where>
<where>
1=1
1=1
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
<if
test=
"tEmployeeContractPre != null"
>
<if
test=
"tEmployeeContractPre.archivesIsCreate != null and tEmployeeContractPre.archivesIsCreate.trim() != ''"
>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "0" '
>
AND b.id is not null
</if>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "1" '
>
AND b.id is null
</if>
</if>
</if>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
</select>
</select>
...
@@ -308,9 +317,21 @@
...
@@ -308,9 +317,21 @@
SELECT
SELECT
count(1)
count(1)
FROM t_employee_contract_pre a
FROM t_employee_contract_pre a
left join t_employee_project b on a.emp_idcard = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
and b.PROJECT_STATUS = 0 and b.DELETE_FLAG = '0'
<where>
<where>
1=1
1=1
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
<if
test=
"tEmployeeContractPre != null"
>
<if
test=
"tEmployeeContractPre.archivesIsCreate != null and tEmployeeContractPre.archivesIsCreate.trim() != ''"
>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "0" '
>
AND b.id is not null
</if>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "1" '
>
AND b.id is null
</if>
</if>
</if>
</where>
</where>
</select>
</select>
...
@@ -350,6 +371,16 @@
...
@@ -350,6 +371,16 @@
<where>
<where>
1=1
1=1
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
<if
test=
"tEmployeeContractPre != null"
>
<if
test=
"tEmployeeContractPre.archivesIsCreate != null and tEmployeeContractPre.archivesIsCreate.trim() != ''"
>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "0" '
>
AND b.id is not null
</if>
<if
test=
'tEmployeeContractPre.archivesIsCreate == "1" '
>
AND b.id is null
</if>
</if>
</if>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
<if
test=
"tEmployeeContractPre.limitStart != null"
>
<if
test=
"tEmployeeContractPre.limitStart != 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