|
@@ -2710,6 +2710,13 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
|
|
|
if (vo.getCheckPeriod() != null) {
|
|
|
tempInfo.setIsMeasure(1);
|
|
|
}
|
|
|
+ if (vo.getCheckType()!=null){
|
|
|
+ if (vo.getCheckType() instanceof Integer&&(vo.getCheckType()==1||vo.getCheckType()==2)) {
|
|
|
+ tempInfo.setCheckType(vo.getCheckType());
|
|
|
+ }else {
|
|
|
+ throw new BusinessException("第" + i + "行,检定是否强检填写有误,请检查!");
|
|
|
+ }
|
|
|
+ }
|
|
|
if (tempInfo.getIsMeasure() != null && tempInfo.getIsMeasure() == 1) {
|
|
|
if (tempInfo.getNextCheckDate() == null) {
|
|
|
if (tempInfo.getCheckDate() != null) {
|