Commit ca1fda05 authored by huyuchen's avatar huyuchen

合并推送修改

parent 243f0789
......@@ -3252,10 +3252,23 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if ((changeDeptVo.getShebao() != null && !changeDeptVo.getShebao().isEmpty())
|| (changeDeptVo.getGongjijin() != null && !changeDeptVo.getGongjijin().isEmpty())) {
idSet = new HashSet<>();
TPaymentSocialPush socialPush;
if (changeDeptVo.getShebao() != null && !changeDeptVo.getShebao().isEmpty()) {
for (ChangeDeptDetailVo vo : changeDeptVo.getShebao()) {
idSet.add(vo.getId());
socialId.append(vo.getId()).append(CommonConstants.DUNHAO_STRING);
socialPush = pushMapper.selectById(vo.getId());
//根据明细id更新结算状态
if (null != socialPush) {
List<String> idStr = Common.initStrToList(socialPush.getPaymentIds().replaceAll("'",""),",");
if (null != idStr) {
idSet.addAll(idStr);
for (String s :idStr) {
socialId.append(s).append(CommonConstants.DUNHAO_STRING);
}
}
} else {
idSet.add(vo.getId());
socialId.append(vo.getId()).append(CommonConstants.DUNHAO_STRING);
}
}
}
if (changeDeptVo.getGongjijin() != null && !changeDeptVo.getGongjijin().isEmpty()) {
......
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