Commit 6fa06d2b by fz

1.解决字段缺失报错

1 parent ccb2eb37
......@@ -9,6 +9,4 @@ import lombok.Data;
public class SmartCarKeyUserRequest {
//用户id
private String userId;
private String sn;
}
......@@ -252,7 +252,6 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
SmartVehicleBlueKeyExample example = new SmartVehicleBlueKeyExample();
example.createCriteria()
.andUserIdEqualTo(Long.valueOf(request.getUserId()))
.andSnEqualTo(request.getSn())
.andIsDeleteEqualTo(0);
List<SmartVehicleBlueKey> keyList = smartVehicleBlueKeyService.selectByExample(example);
//给没有名称的钥匙设置名字
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!