提交测试
This commit is contained in:
parent
9972a921b3
commit
bf00409bd9
@ -133,7 +133,10 @@ public class ResultModelServiceImpl extends ServiceImpl<ResultModelMapper, Resul
|
||||
resultModel.setWeight(BigDecimal.ZERO);
|
||||
}
|
||||
if(resultModel.getId() == null){
|
||||
resultModelMapper.insertResultModel(resultModel);
|
||||
if(resultModel.getIsDelete() == null || resultModel.getIsDelete().intValue() == 0){
|
||||
resultModelMapper.insertResultModel(resultModel);
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
@ -165,8 +168,10 @@ public class ResultModelServiceImpl extends ServiceImpl<ResultModelMapper, Resul
|
||||
|
||||
if(resultTagetLib.getId() != null && resultTagetLib.getId().intValue() > 0){
|
||||
updates.add(resultTagetLib);
|
||||
}else{
|
||||
inserts.add(resultTagetLib);
|
||||
}else {
|
||||
if (resultTagetLib.getIsDelete() == null || resultTagetLib.getIsDelete().intValue() == 0){
|
||||
inserts.add(resultTagetLib);
|
||||
}
|
||||
}
|
||||
if(resultTagetLib.getIsDelete() == null || resultTagetLib.getIsDelete().intValue() == 0){
|
||||
libOrderBy++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user