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
b5a1390b
Commit
b5a1390b
authored
Jun 26, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.5' into MVP1.5.5
parents
4ac57c25
a69fd19e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
36 deletions
+48
-36
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+4
-3
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+28
-19
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+12
-8
TEmployeeContractInfoMapper.xml
...src/main/resources/mapper/TEmployeeContractInfoMapper.xml
+4
-6
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
b5a1390b
...
@@ -421,10 +421,11 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
...
@@ -421,10 +421,11 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
feedbackDetail
.
setContractAlertId
(
changeFeedBackAllVo
.
getIds
()[
i
]);
feedbackDetail
.
setContractAlertId
(
changeFeedBackAllVo
.
getIds
()[
i
]);
feedbackDetail
.
setFeedbackReason
(
changeFeedBackAllVo
.
getFeedbackReason
());
feedbackDetail
.
setFeedbackReason
(
changeFeedBackAllVo
.
getFeedbackReason
());
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetailMapper
.
insert
(
feedbackDetail
);
feedbackDetailMapper
.
insert
(
feedbackDetail
);
}
}
changeFeedBackAllVo
.
setFeedbackPerson
(
user
.
getNickname
());
changeFeedBackAllVo
.
setIsFeedback
(
CommonConstants
.
ONE_INTEGER
);
changeFeedBackAllVo
.
setFeedbackTime
(
DateTime
.
now
());
changeFeedBackAllVo
.
setFeedbackPerson
(
user
.
getNickname
());
changeFeedBackAllVo
.
setFeedbackTime
(
DateTime
.
now
());
return
baseMapper
.
changeFeedBackAll
(
changeFeedBackAllVo
);
return
baseMapper
.
changeFeedBackAll
(
changeFeedBackAllVo
);
}
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
b5a1390b
...
@@ -767,7 +767,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -767,7 +767,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
List
<
TEmployeeContractInfo
>
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
List
<
TEmployeeContractInfo
>
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contractInfo
.
getEmpId
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contractInfo
.
getEmpId
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contractInfo
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contractInfo
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1:
contractInfoListZt
)
{
...
@@ -803,23 +804,26 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -803,23 +804,26 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况数据
//更新任务处理情况数据
...
@@ -1426,10 +1430,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1426,10 +1430,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
(
ll
.
getAuditStatus
().
contains
(
"审核不通过"
))
{
if
(
ll
.
getAuditStatus
().
contains
(
"审核不通过"
))
{
if
(
null
!=
ll
.
getRemark
())
{
if
(
null
!=
ll
.
getRemark
())
{
String
[]
a
=
ll
.
getRemark
().
split
(
":"
);
String
[]
a
=
ll
.
getRemark
().
split
(
":"
);
for
(
int
t
=
0
;
t
<
a
.
length
;
t
++){
for
(
int
t
=
CommonConstants
.
ZERO_INT
;
t
<
a
.
length
;
t
++){
if
(
t
==
1
)
{
if
(
t
==
CommonConstants
.
ONE_INT
)
{
ll
.
setNoPassReason
(
a
[
0
]);
ll
.
setNoPassReason
(
a
[
CommonConstants
.
ZERO_INT
]);
ll
.
setRemark
(
a
[
1
]);
ll
.
setRemark
(
a
[
CommonConstants
.
ONE_INT
]);
}
}
}
}
}
}
...
@@ -1689,7 +1693,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1689,7 +1693,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contract
.
getEmpId
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contract
.
getEmpId
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contract
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contract
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
...
@@ -1725,23 +1730,27 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1725,23 +1730,27 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况数据
//更新任务处理情况数据
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
b5a1390b
...
@@ -1412,7 +1412,8 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1412,7 +1412,8 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
contractInfoListZt
=
contractInfoMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
contractInfoListZt
=
contractInfoMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpIdcard
,
vo
.
getEmpIdCard
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpIdcard
,
vo
.
getEmpIdCard
())
.
eq
(
TEmployeeContractInfo:
:
getDeptNo
,
vo
.
getDepartNo
())
.
eq
(
TEmployeeContractInfo:
:
getDeptNo
,
vo
.
getDepartNo
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
...
@@ -1448,23 +1449,26 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1448,23 +1449,26 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
baseMapper
.
updateById
(
tEmployeeProject
);
baseMapper
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
vo
.
getUserId
());
tEmployeeInfo
.
setLeaveUser
(
vo
.
getUserId
());
tEmployeeInfo
.
setLeaveUserName
(
vo
.
getUserName
());
tEmployeeInfo
.
setLeaveUserName
(
vo
.
getUserName
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况查询表数据
//更新任务处理情况查询表数据
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml
View file @
b5a1390b
...
@@ -202,6 +202,7 @@
...
@@ -202,6 +202,7 @@
a.AUDIT_TIME_LAST,
a.AUDIT_TIME_LAST,
a.TYPE,
a.TYPE,
a.LEAVE_DATE,
a.LEAVE_DATE,
a.AUDIT_USER_NAME,
a.REDUCE_REASON,a.type
a.REDUCE_REASON,a.type
</sql>
</sql>
...
@@ -401,7 +402,9 @@
...
@@ -401,7 +402,9 @@
<if
test=
"tEmployeeContractInfo.applyNo != null and tEmployeeContractInfo.applyNo.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.applyNo != null and tEmployeeContractInfo.applyNo.trim() != ''"
>
AND a.APPLY_NO = #{tEmployeeContractInfo.applyNo}
AND a.APPLY_NO = #{tEmployeeContractInfo.applyNo}
</if>
</if>
<if
test=
"tEmployeeContractInfo.auditStatus != null"
>
AND a.AUDIT_STATUS = #{tEmployeeContractInfo.auditStatus}
</if>
<if
test=
"tEmployeeContractInfo.empNatrue != null and tEmployeeContractInfo.empNatrue.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.empNatrue != null and tEmployeeContractInfo.empNatrue.trim() != ''"
>
AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue}
AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue}
</if>
</if>
...
@@ -426,10 +429,8 @@
...
@@ -426,10 +429,8 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_info a
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
<where>
<where>
a.DELETE_FLAG = 0
a.DELETE_FLAG = 0
and b.ROOT_NAME='合同审核'
<include
refid=
"tEmployeeContractInfo_where"
/>
<include
refid=
"tEmployeeContractInfo_where"
/>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
${tEmployeeContractInfo.authSql}
${tEmployeeContractInfo.authSql}
...
@@ -443,9 +444,6 @@
...
@@ -443,9 +444,6 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_info a
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
<where>
<where>
a.DELETE_FLAG = 0
a.DELETE_FLAG = 0
<include
refid=
"tEmployeeContractInfo_where"
/>
<include
refid=
"tEmployeeContractInfo_where"
/>
...
...
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