This commit is contained in:
wangh 2023-11-29 17:19:32 +08:00
parent b117f0fe79
commit f6413514f6
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public interface MtInvitationMapper {
*/
MtInvitation queryById(Integer id);
MtInvitation queryByStoreId(Integer storeId,Integer userId);
MtInvitation queryByStoreId(@Param("storeId") Integer storeId,@Param("userId") Integer userId);
/**

View File

@ -29,7 +29,7 @@
select
id, userId, storeId, staffId, inviterId, status, create_time, create_by, update_time, update_by
from mt_invitation
where storeId = #{storeId} and user_id = #{userId}
where storeId = #{storeId} and userId = #{userId}
</select>
<!--查询指定行数据-->