Commit 36e2b2d9 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-税友优化

parent 0f3b8a34
......@@ -238,6 +238,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
vo = ygsAddlist.get(index);
// 派减离职原因转化:
if (type == 2 && Common.isNotNull(vo.getTbyy())) {
reduceSet = reduceChiZhouMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setChiZhouTbyy(reduceSet.getTbyy());
vo.setChiZhouZzyy(reduceSet.getZzyy());
}
reduceSet = reduceMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setTbyy(reduceSet.getTbyy());
......@@ -255,11 +260,6 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
continue;
}
reduceSet = reduceChiZhouMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setChiZhouTbyy(reduceSet.getTbyy());
vo.setChiZhouZzyy(reduceSet.getZzyy());
}
}
// 0:未到时间不动; 1:推送; 2:转人工;3预减员
canPushType = this.getCanPushType(socialSetMap, vo);
......@@ -550,6 +550,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
} else {*/
// 派减离职原因转化:
if (type == 4 && Common.isNotNull(vo.getTbyy())) {
reduceSet = reduceChiZhouMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setChiZhouTbyy(reduceSet.getTbyy());
vo.setChiZhouZzyy(reduceSet.getZzyy());
}
reduceSet = reduceMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setTbyy(reduceSet.getTbyy());
......@@ -567,11 +572,6 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
continue;
}
reduceSet = reduceChiZhouMap.get(vo.getTbyy());
if (reduceSet != null) {
vo.setChiZhouTbyy(reduceSet.getTbyy());
vo.setChiZhouZzyy(reduceSet.getZzyy());
}
}
canPushType = this.getCanPushTypeYsd(socialSetMap, vo);
if (1 == canPushType) {
......
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