|
@@ -19,7 +19,7 @@ public interface MsReportMapper extends BaseMapper<MsReport> {
|
|
|
|
|
|
List<MsReport> selectByReportDate(@Param("reportDate") String reportDate,@Param("userCreate") Long userCreate);
|
|
|
|
|
|
- @Select("select property_id from sys_user_role where user_id=#{userId}")
|
|
|
+ @Select("select property_id from sys_user_role where user_id=#{userId} and role_id=1")
|
|
|
long selectHouseIdByUserId(@Param("userId") Long userId);
|
|
|
|
|
|
//
|