|
@@ -273,17 +273,7 @@ public interface FsUserMapper
|
|
|
|
|
|
Long selectFsUserPageListCount(FsUserPageListParam param);
|
|
Long selectFsUserPageListCount(FsUserPageListParam param);
|
|
|
|
|
|
- @Select({"<script> " +
|
|
|
|
- "select count(1) from fs_user " +
|
|
|
|
- "where 1=1 " +
|
|
|
|
- "<if test = 'type != null and type ==1 '> " +
|
|
|
|
- "and DATE_FORMAT(create_time, '%Y-%m-%d') = DATE_FORMAT(NOW(), '%Y-%m-%d') " +
|
|
|
|
- "</if>" +
|
|
|
|
- "<if test = 'companyId != null '> " +
|
|
|
|
- "and company_id=#{companyId} " +
|
|
|
|
- "</if>" +
|
|
|
|
- "</script>"})
|
|
|
|
- Long selectFsUserCount(@Param("type") int type,@Param("companyId") Long companyId);
|
|
|
|
|
|
+ Long selectFsUserCount(@Param("type") int type,@Param("companyId") Long companyId,@Param("companyUserId") Long companyUserId);
|
|
|
|
|
|
|
|
|
|
int batchUpdateUserCompanyUser(@Param("userIds") List<Long> userIds, @Param("companyUserId") Long companyUserId, @Param("companyId") Long companyId);
|
|
int batchUpdateUserCompanyUser(@Param("userIds") List<Long> userIds, @Param("companyUserId") Long companyUserId, @Param("companyId") Long companyId);
|