Revert "mgruser"

This reverts commit 4fc252b44f.
This commit is contained in:
sxu 2025-03-19 14:53:45 +08:00
parent 4fc252b44f
commit 4fc0d2fcef
2 changed files with 61 additions and 61 deletions

View File

@ -1,59 +1,59 @@
package com.bonus.canteen.core.auth.user.mapper; //package com.bonus.canteen.core.auth.user.mapper;
//
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.auth.role.dto.MgrRoleUserDTO; //import com.bonus.canteen.core.auth.role.dto.MgrRoleUserDTO;
import com.bonus.canteen.core.auth.role.vo.MgrRoleUserVO; //import com.bonus.canteen.core.auth.role.vo.MgrRoleUserVO;
import com.bonus.canteen.core.auth.user.entity.MgrUser; //import com.bonus.canteen.core.auth.user.entity.MgrUser;
import org.apache.ibatis.annotations.Mapper; //import org.apache.ibatis.annotations.Mapper;
//
import java.util.List; //import java.util.List;
//
@Mapper //@Mapper
public interface MgrUserMapper extends BaseMapper<MgrUser> { //public interface MgrUserMapper extends BaseMapper<MgrUser> {
// Page<MgrUserPageVO> selectRolePage(Page<MgrUserPageVO> page, @Param("userPageDTO") MgrUserPageDTO userPageDTO); //// Page<MgrUserPageVO> selectRolePage(Page<MgrUserPageVO> page, @Param("userPageDTO") MgrUserPageDTO userPageDTO);
//
// List<MgrRoleUserVO> selectAllUserByRoleCode(MgrRoleUserDTO deliveryUserDTO); // List<MgrRoleUserVO> selectAllUserByRoleCode(MgrRoleUserDTO deliveryUserDTO);
// MgrUserDetailVO selectUserInfoByUserId(@Param("userId") Long userId, @Param("delFlag") Integer delFlag);
// //
// @Select({"select count(0) from alloc_canteen where cust_id = #{userId};"}) //// MgrUserDetailVO selectUserInfoByUserId(@Param("userId") Long userId, @Param("delFlag") Integer delFlag);
// int checkCountBasicsDdiningUserId(Long userId); ////
// //// @Select({"select count(0) from alloc_canteen where cust_id = #{userId};"})
// @Select({"select count(0) from alloc_stall where cust_id = #{userId};"}) //// int checkCountBasicsDdiningUserId(Long userId);
// int checkBasicsShopstallsUserId(Long userId); ////
// //// @Select({"select count(0) from alloc_stall where cust_id = #{userId};"})
// @Select({"select count(0) from drp_warehouse where user_id = #{userId};"}) //// int checkBasicsShopstallsUserId(Long userId);
// int checkDrpWarehouse(Long userId); ////
// //// @Select({"select count(0) from drp_warehouse where user_id = #{userId};"})
// @Select({"select user_id, real_name from mgr_user ${ew.customSqlSegment}"}) //// int checkDrpWarehouse(Long userId);
// MgrUserIdNameVO selectIdAndRealNameByWrapper(@Param("ew") Wrapper<MgrUser> wrapper); ////
// //// @Select({"select user_id, real_name from mgr_user ${ew.customSqlSegment}"})
// @Select({"select dining_id as canteen_id, shopstall_id from basics_shopstalls ${ew.customSqlSegment}"}) //// MgrUserIdNameVO selectIdAndRealNameByWrapper(@Param("ew") Wrapper<MgrUser> wrapper);
// List<EffCanteenVO> selectShopstallByWrapper(@Param("ew") Wrapper<?> wrapper); ////
// //// @Select({"select dining_id as canteen_id, shopstall_id from basics_shopstalls ${ew.customSqlSegment}"})
// @Select({"select canteen_id, shopstall_id from mkt_effective_detail ${ew.customSqlSegment}"}) //// List<EffCanteenVO> selectShopstallByWrapper(@Param("ew") Wrapper<?> wrapper);
// List<EffCanteenVO> selectCanteenByWrapper(@Param("ew") Wrapper<?> wrapper); ////
// //// @Select({"select canteen_id, shopstall_id from mkt_effective_detail ${ew.customSqlSegment}"})
// @Select({"select 1 from mkt_effective ${ew.customSqlSegment}"}) //// List<EffCanteenVO> selectCanteenByWrapper(@Param("ew") Wrapper<?> wrapper);
// Integer selectExistFromMktEffectiveByWrapper(@Param("ew") Wrapper<?> wrapper); ////
// //// @Select({"select 1 from mkt_effective ${ew.customSqlSegment}"})
// List<MgrUserIdNameVO> listUserByIdAndRole(@Param("userId") Long userId, @Param("roleCode") String roleCode, @Param("delFlag") Integer delFlag); //// Integer selectExistFromMktEffectiveByWrapper(@Param("ew") Wrapper<?> wrapper);
// ////
// Long selectUserIdByCustId(@Param("custId") Long custId); //// List<MgrUserIdNameVO> listUserByIdAndRole(@Param("userId") Long userId, @Param("roleCode") String roleCode, @Param("delFlag") Integer delFlag);
// ////
// String selectUserNameIdByCustId(@Param("custId") Long custId); //// Long selectUserIdByCustId(@Param("custId") Long custId);
// ////
// Long selectCustIdByUserId(@Param("userId") Long userId); //// String selectUserNameIdByCustId(@Param("custId") Long custId);
// ////
// List<MgrRoleUserVO> getUserExcludeSupplier(@Param("delFlag") Integer delFlag); //// Long selectCustIdByUserId(@Param("userId") Long userId);
// ////
// MgrUser getUserByRoleCode(@Param("roleCode") String roleCode); //// List<MgrRoleUserVO> getUserExcludeSupplier(@Param("delFlag") Integer delFlag);
// ////
// List<MgrUser> queryByRoles(@Param("roles") List<Long> roles); //// MgrUser getUserByRoleCode(@Param("roleCode") String roleCode);
// ////
// List<MgrRoleUserVO> queryMgrUserIdListByCustIdList(@Param("custIdList") List<Long> custIdList); //// List<MgrUser> queryByRoles(@Param("roles") List<Long> roles);
// ////
// List<MgrRoleUserVO> queryCanteenManagerMgrUserList(@Param("caneenIdList") List<Long> caneenIdList); //// List<MgrRoleUserVO> queryMgrUserIdListByCustIdList(@Param("custIdList") List<Long> custIdList);
// ////
// MgrUser getUserByRoleCodeExcludeUserName(@Param("roleCode") String roleCode, @Param("excludeUserName") String excludeUserName); //// List<MgrRoleUserVO> queryCanteenManagerMgrUserList(@Param("caneenIdList") List<Long> caneenIdList);
} ////
//// MgrUser getUserByRoleCodeExcludeUserName(@Param("roleCode") String roleCode, @Param("excludeUserName") String excludeUserName);
//}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!--<?xml version="1.0" encoding="UTF-8"?>-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!--<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">-->
<mapper namespace="com.bonus.canteen.core.auth.user.mapper.MgrUserMapper"> <!--<mapper namespace="com.bonus.canteen.core.auth.user.mapper.MgrUserMapper">-->
<!--&lt;!&ndash; <resultMap id="mgrUserMap" type="net.xnzn.core.auth.user.entity.MgrUser">&ndash;&gt;--> <!--&lt;!&ndash; <resultMap id="mgrUserMap" type="net.xnzn.core.auth.user.entity.MgrUser">&ndash;&gt;-->
<!--&lt;!&ndash; <id property="id" column="id"/>&ndash;&gt;--> <!--&lt;!&ndash; <id property="id" column="id"/>&ndash;&gt;-->
<!--&lt;!&ndash; <result property="userId" column="user_id"/>&ndash;&gt;--> <!--&lt;!&ndash; <result property="userId" column="user_id"/>&ndash;&gt;-->
@ -246,7 +246,7 @@
<!--&lt;!&ndash; AND t3.role_code = #{roleCode}&ndash;&gt;--> <!--&lt;!&ndash; AND t3.role_code = #{roleCode}&ndash;&gt;-->
<!--&lt;!&ndash; AND t1.username != #{excludeUserName}&ndash;&gt;--> <!--&lt;!&ndash; AND t1.username != #{excludeUserName}&ndash;&gt;-->
<!--&lt;!&ndash; </select>&ndash;&gt;--> <!--&lt;!&ndash; </select>&ndash;&gt;-->
</mapper> <!--</mapper>-->