nili 9 months ago
parent
commit
6748c35f58
  1. 2
      game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixAdvRecordMapper.java

2
game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixAdvRecordMapper.java

@ -10,7 +10,7 @@ public interface MatrixAdvRecordMapper extends BaseMapper<MatrixAdvRecord> {
@Select("select id from matrix_app where code = #{code}")
Integer queryAppId(String code);
@Select("select count(*) from matrix_white_device")
@Select("select count(*) from matrix_white_device where channel = #{channel} and device_id = #{deviceId}")
Integer queryWhitelist(String channel, String deviceId);
@Insert("insert ignore into matrix_white_device (channel, device_id) values (#{channel}, #{deviceId})")

Loading…
Cancel
Save