Commit 8f69b3fe by fz

1.车钥匙蓝牙感应列表,业务逻辑修改为根据车钥匙id

1 parent 68cd326a
...@@ -63,4 +63,9 @@ public interface SmartKeyBlueSenseMapper { ...@@ -63,4 +63,9 @@ public interface SmartKeyBlueSenseMapper {
* @return update count * @return update count
*/ */
int updateByPrimaryKey(SmartKeyBlueSense record); int updateByPrimaryKey(SmartKeyBlueSense record);
/**
*
*/
List<SmartKeyBlueSense> getByCarKeyIds(List<Long> ids);
} }
\ No newline at end of file \ No newline at end of file
...@@ -29,7 +29,7 @@ public enum ResultEnum { ...@@ -29,7 +29,7 @@ public enum ResultEnum {
CAR_KEY_EXCEP_7(1107, "智能车钥匙secretKey加密异常"), CAR_KEY_EXCEP_7(1107, "智能车钥匙secretKey加密异常"),
CAR_KEY_EXCEP_8(1108, "智能车钥匙新增异常"), CAR_KEY_EXCEP_8(1108, "智能车钥匙新增异常"),
CAR_KEY_EXCEP_9(1109, "智能车钥匙注册成功数据保存,自动感应新增异常"), CAR_KEY_EXCEP_9(1109, "智能车钥匙注册成功数据保存,自动感应新增异常"),
CAR_KEY_EXCEP_10(1110, "异常数据,无crep"), CAR_KEY_EXCEP_10(1110, "智能车钥匙无crep"),
CAR_KEY_EXCEP_11(1111, "自动感应新增异常"), CAR_KEY_EXCEP_11(1111, "自动感应新增异常"),
CAR_KEY_EXCEP_12(1112, "智能车钥匙用户查询,secretKey解密异常"), CAR_KEY_EXCEP_12(1112, "智能车钥匙用户查询,secretKey解密异常"),
CAR_KEY_EXCEP_13(1113, "智能车钥匙用户查询,crep/secret加密异常"), CAR_KEY_EXCEP_13(1113, "智能车钥匙用户查询,crep/secret加密异常"),
......
...@@ -29,6 +29,7 @@ public interface SmartKeyBlueSenseService { ...@@ -29,6 +29,7 @@ public interface SmartKeyBlueSenseService {
int updateByPrimaryKey(SmartKeyBlueSense record); int updateByPrimaryKey(SmartKeyBlueSense record);
List<SmartKeyBlueSense> getByCarKeyIds(List<Long> ids);
} }
......
...@@ -69,6 +69,10 @@ public class SmartKeyBlueSenseServiceImpl implements SmartKeyBlueSenseService { ...@@ -69,6 +69,10 @@ public class SmartKeyBlueSenseServiceImpl implements SmartKeyBlueSenseService {
return smartKeyBlueSenseMapper.updateByPrimaryKey(record); return smartKeyBlueSenseMapper.updateByPrimaryKey(record);
} }
@Override
public List<SmartKeyBlueSense> getByCarKeyIds(List<Long> ids) {
return smartKeyBlueSenseMapper.getByCarKeyIds(ids);
}
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!