Commit 445579e8 authored by hongguangwu's avatar hongguangwu

MVP1.7.5-薪资提交校验

parent 6fd5e6bb
......@@ -8218,7 +8218,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
List<SalaryRiskVo> list = new ArrayList<>();
SalaryRiskVo riskVo;
Map<String, String> idMap = new HashMap<>();
if (detailList != null) {
if (detailList != null && !detailList.isEmpty()) {
for (TInsuranceDetail d : detailList) {
idMap.put(d.getEmpIdcardNo(), d.getEmpName());
}
......
......@@ -1475,7 +1475,7 @@
ID,
EMP_NAME,
EMP_IDCARD_NO
FROM t_insurance_detail
FROM t_insurance_detail d
where DELETE_FLAG = 0
and (d.BUY_HANDLE_STATUS in (1,2) or (d.BUY_HANDLE_STATUS = 3 and d.IS_EFFECT = 0))
and d.POLICY_EFFECT <![CDATA[ <= ]]> NOW() and d.POLICY_END >= NOW()
......
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