|
@@ -89,7 +89,7 @@ public class LiftController {
|
|
|
public RestResponse preJudgment(@RequestBody LiftExtensionRequest request) {
|
|
|
Lift lift = request.getLift();
|
|
|
String liftId = StrUtil.EMPTY;
|
|
|
- if (ObjectUtil.isNotEmpty(lift.getId())) {
|
|
|
+ if (ObjectUtil.isNotEmpty(lift)) {
|
|
|
liftId = lift.getId().toString();
|
|
|
}
|
|
|
return liftService.preJudgment(request.getMtCompanyId(), request.getCode(), liftId);
|