|
@@ -69,18 +69,17 @@ public class FsInterestSubsidySettleServiceImpl extends ServiceImpl<FsInterestSu
|
69
|
@Transactional(rollbackFor = Exception.class)
|
69
|
@Transactional(rollbackFor = Exception.class)
|
70
|
@Override
|
70
|
@Override
|
71
|
public void add(List<FsInterestSubsidySettleAddParam> fsInterestSubsidySettleAddParamList) {
|
71
|
public void add(List<FsInterestSubsidySettleAddParam> fsInterestSubsidySettleAddParamList) {
|
72
|
- FsInterestSubsidySettle fsInterestSubsidySettle=new FsInterestSubsidySettle();
|
|
|
73
|
for (FsInterestSubsidySettleAddParam fsInterestSubsidySettleAddParam:fsInterestSubsidySettleAddParamList) {
|
72
|
for (FsInterestSubsidySettleAddParam fsInterestSubsidySettleAddParam:fsInterestSubsidySettleAddParamList) {
|
|
|
73
|
+ FsInterestSubsidySettle fsInterestSubsidySettle = BeanUtil.toBean(fsInterestSubsidySettleAddParam, FsInterestSubsidySettle.class);
|
74
|
if(fsInterestSubsidySettleAddParam.getId()!=null){
|
74
|
if(fsInterestSubsidySettleAddParam.getId()!=null){
|
75
|
- fsInterestSubsidySettle = BeanUtil.toBean(fsInterestSubsidySettleAddParam, FsInterestSubsidySettle.class);
|
|
|
76
|
this.updateById(fsInterestSubsidySettle);
|
75
|
this.updateById(fsInterestSubsidySettle);
|
77
|
}else{
|
76
|
}else{
|
78
|
- fsInterestSubsidySettle = BeanUtil.toBean(fsInterestSubsidySettleAddParam, FsInterestSubsidySettle.class);
|
|
|
|
|
77
|
+
|
79
|
this.save(fsInterestSubsidySettle);
|
78
|
this.save(fsInterestSubsidySettle);
|
80
|
}
|
79
|
}
|
81
|
|
80
|
|
82
|
}
|
81
|
}
|
83
|
-
|
|
|
|
|
82
|
+
|
84
|
}
|
83
|
}
|
85
|
|
84
|
|
86
|
@Transactional(rollbackFor = Exception.class)
|
85
|
@Transactional(rollbackFor = Exception.class)
|