Commit 81e21237 authored by huyuchen's avatar huyuchen

huych-电子档案批量导入第三次提交

parent 071845e2
......@@ -291,6 +291,7 @@ public class TSettleDomainController {
List<TSettleDomainSelectVo> list = new ArrayList<>();
TSettleDomain tSettleDomain = tSettleDomainService.getOne(Wrappers.<TSettleDomain>query().lambda()
.eq(TSettleDomain::getDepartNo, tSettleDomainSelectVo.getDepartNo())
.eq(TSettleDomain::getDeleteFlag, CommonConstants.ZERO_STRING)
.last(CommonConstants.LAST_ONE_SQL));
BeanUtils.copyProperties(tSettleDomain,tSettleDomainSelectVo);
tSettleDomainSelectVo.setCustomerCode(tSettleDomain.getCustomerNo());
......
......@@ -2833,6 +2833,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
return baseMapper.selectOne(Wrappers.<TEmployeeInfo>query().lambda()
.eq(TEmployeeInfo::getEmpIdcard, vo.getNo())
.eq(TEmployeeInfo::getEmpName, vo.getName())
.eq(TEmployeeInfo::getDeleteFlag, CommonConstants.ZERO_STRING)
.last(CommonConstants.LAST_ONE_SQL));
}
......
......@@ -573,7 +573,7 @@
a.EMP_NAME,
a.EMP_IDCARD
from t_employee_info a
where 1=1
where 1=1 and a.delete_flag = '0'
<if test="tEmployeeInfo != null">
<if test="tEmployeeInfo.empName != null and tEmployeeInfo.empName.trim() != ''">
AND a.EMP_NAME like concat('%',#{tEmployeeInfo.empName},'%')
......
......@@ -68,10 +68,11 @@
AND a.CUSTOMER_CODE = #{tElectronicArchiveDetail.customerCode}
</if>
<if test="tElectronicArchiveDetail.typeList != null and tElectronicArchiveDetail.typeList.size() > 0">
AND a.MATERIAL_TYPE in
<foreach item="item" index="index" collection="tElectronicArchiveDetail.typeList" open="(" separator="," close=")">
'${item}'
AND (
<foreach item="item" index="index" collection="tElectronicArchiveDetail.typeList" separator=" OR ">
FIND_IN_SET(#{item}, a.MATERIAL_TYPE) > 0
</foreach>
)
</if>
<if test="tElectronicArchiveDetail.fileProvince != null">
AND a.FILE_PROVINCE = #{tElectronicArchiveDetail.fileProvince}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment