Commit 7ff6d228 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-优化条件

parent aa4998d7
......@@ -8460,9 +8460,11 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
if (successNum == ids.size()) {
return R.ok();
} else if (successNum == CommonConstants.ZERO_INT) {
return R.failed();
} else {
int failNum = ids.size() - successNum;
return R.ok("成功"+successNum+"条;"+"失败"+failNum+"条");
return new R<>(CommonConstants.TWO_INT, "成功"+successNum+"条;"+"失败"+failNum+"条", null);
}
} else {
return R.failed("无数据可操作");
......
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