|
@@ -2,6 +2,8 @@ package com.fs.his.mapper;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.fs.his.domain.FsUserWx;
|
|
import com.fs.his.domain.FsUserWx;
|
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
public interface FsUserWxMapper extends BaseMapper<FsUserWx> {
|
|
public interface FsUserWxMapper extends BaseMapper<FsUserWx> {
|
|
|
|
|
|
|
@@ -10,4 +12,7 @@ public interface FsUserWxMapper extends BaseMapper<FsUserWx> {
|
|
|
* @param wx 配置信息
|
|
* @param wx 配置信息
|
|
|
*/
|
|
*/
|
|
|
void insertOrUpdateByUniqueKey(FsUserWx wx);
|
|
void insertOrUpdateByUniqueKey(FsUserWx wx);
|
|
|
|
|
+
|
|
|
|
|
+ @Select("select * from fs_user_wx where app_id=#{appid} and fs_user_id=#{userId} limit 1")
|
|
|
|
|
+ FsUserWx selectByAppidAndUserId(@Param("appid") String appid, @Param("userId") Long userId);
|
|
|
}
|
|
}
|