|
@@ -108,7 +108,7 @@ public class SubInfoServiceImpl extends ServiceImpl<SubInfoMapper, SubInfo> impl
|
|
|
syncLogMapper.insert(log);
|
|
|
return false;
|
|
|
}
|
|
|
- SysTable kind = map.get(kindVist.getTitle() + "HYFL");
|
|
|
+ SysTable kind = map.get(kindVist.getTitle() + "HYFL");
|
|
|
if (kind == null) {
|
|
|
SyncLog log = new SyncLog();
|
|
|
log.setCat("1").setId(UUID.randomUUID().toString()).setCompany(company).setContent(JSONUtil.toJsonStr(sub)).setState("1");
|
|
@@ -211,9 +211,10 @@ public class SubInfoServiceImpl extends ServiceImpl<SubInfoMapper, SubInfo> impl
|
|
|
// subInfo.setLogicDeleteFlag(1);
|
|
|
// }
|
|
|
subInfoMapper.updateById(subInfo);
|
|
|
- if (!this.hanlderResouce(sub, subInfo, map)) {
|
|
|
- return false;
|
|
|
- }
|
|
|
+ //防止影响当前资金来源
|
|
|
+// if (!this.hanlderResouce(sub, subInfo, map)) {
|
|
|
+// return false;
|
|
|
+// }
|
|
|
}
|
|
|
} else {
|
|
|
SubInfo subInfo = null;
|
|
@@ -298,7 +299,7 @@ public class SubInfoServiceImpl extends ServiceImpl<SubInfoMapper, SubInfo> impl
|
|
|
if (json.getBigDecimal(key).compareTo(BigDecimal.ZERO) == 0) {
|
|
|
subSource.setLogicDeleteFlag(1);
|
|
|
}
|
|
|
-// subSourceMapper.updateById(subSource);
|
|
|
+ subSourceMapper.updateById(subSource);
|
|
|
}
|
|
|
}
|
|
|
}
|