|
@@ -30,12 +30,13 @@ public class EquipmentActivityReduceServiceImpl extends ServiceImpl<EquipmentAct
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void checkParams(EquipmentActivityReduce equipmentActivityReduce) {
|
|
public void checkParams(EquipmentActivityReduce equipmentActivityReduce) {
|
|
|
|
|
+ String name = equipmentActivityReduce.getName();
|
|
|
BigDecimal f = equipmentActivityReduce.getF();
|
|
BigDecimal f = equipmentActivityReduce.getF();
|
|
|
BigDecimal q = equipmentActivityReduce.getQ();
|
|
BigDecimal q = equipmentActivityReduce.getQ();
|
|
|
BigDecimal tq = equipmentActivityReduce.getTq();
|
|
BigDecimal tq = equipmentActivityReduce.getTq();
|
|
|
Date st = equipmentActivityReduce.getSt();
|
|
Date st = equipmentActivityReduce.getSt();
|
|
|
Date et = equipmentActivityReduce.getEt();
|
|
Date et = equipmentActivityReduce.getEt();
|
|
|
- if (ObjectUtil.hasEmpty(f, q, tq, st, et)) {
|
|
|
|
|
|
|
+ if (ObjectUtil.hasEmpty(name, f, q, tq, st, et)) {
|
|
|
throw BusinessRuntimeException.getInstance("请补充必填项..");
|
|
throw BusinessRuntimeException.getInstance("请补充必填项..");
|
|
|
}
|
|
}
|
|
|
BigDecimal zero = BigDecimal.ZERO;
|
|
BigDecimal zero = BigDecimal.ZERO;
|