|
@@ -158,7 +158,7 @@ public class LiftService {
|
|
|
/*if (judge(mtCompanyId))
|
|
|
return RestResponse.fail(ApiConstants.RESULT_ERROR, MessageUtils.get("msg.limit.num"));*/
|
|
|
RestResponse response = preJudgment(mtCompanyId, lift.getRegistrationCode(), null);
|
|
|
- if (ObjectUtil.isNotEmpty(response.getData())) return response;
|
|
|
+ if (ApiConstants.RESULT_ERROR.equals(response.getMessage())) return response;
|
|
|
if ("0".equals(mark)) {
|
|
|
//按当前日期时间戳自动生成电梯编号
|
|
|
String liftCode = ApiConstants.STRAIGHT_LADDER + DateUtils.generateCode();
|