新增mysql支持.

This commit is contained in:
aoshiguchen
2022-12-05 16:41:56 +08:00
parent 8ba617c724
commit add31f55d5
2 changed files with 3 additions and 3 deletions
@@ -101,6 +101,6 @@ public interface LicenseMapper extends SqlMapper {
@Select("select * from `license` where user_id = :userId and name =:name and id not in (:excludeIds) limit 0,1")
LicenseDO checkRepeat(@Param("userId") Integer userId, @Param("name") String name, @Param("excludeIds") Set<Integer> excludeIds);
@Select("select * from `license` where key = ?")
@Select("select * from `license` where `key` = ?")
LicenseDO findByKey(String licenseKey);
}