|
@@ -2374,7 +2374,7 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
|
|
|
if (vo.getCheckPeriod() != null) {
|
|
|
tempInfo.setIsMeasure(1);
|
|
|
}
|
|
|
- if (tempInfo.getIsMeasure() == 1) {
|
|
|
+ if (tempInfo.getIsMeasure() != null && tempInfo.getIsMeasure() == 1) {
|
|
|
if (tempInfo.getNextCheckDate() == null) {
|
|
|
if (tempInfo.getCheckDate() != null) {
|
|
|
if (tempInfo.getCheckPeriod() != null) {
|
|
@@ -2472,6 +2472,7 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
|
|
|
|
|
|
return "总计更新:" + (list.size());
|
|
|
} catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
throw new BusinessException(e.getMessage());
|
|
|
}
|
|
|
}
|