diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/DlInspectionProjectController.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/DlInspectionProjectController.java index dc64cb61..d45fd787 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/DlInspectionProjectController.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/DlInspectionProjectController.java @@ -81,5 +81,17 @@ public class DlInspectionProjectController { return success(pageResult); } + /** + * 修改项目排序 + * @param updateReqVO + * @return + */ + @PutMapping("/updateSort") + public CommonResult updateSort(@RequestBody DlInspectionProjectSaveReqVO updateReqVO) { + dlInspectionProjectService.updateSort(updateReqVO); + return success(true); + } + + } \ No newline at end of file diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/InspectionInfoController.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/InspectionInfoController.java index e49efba6..b89e8e07 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/InspectionInfoController.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/InspectionInfoController.java @@ -255,6 +255,7 @@ public class InspectionInfoController extends BaseController { @PostMapping("recheck") public CommonResult recheck(@RequestBody InspectionWorkNode inspectionWorkNode){ inspectionWorkNodeService.recheck(inspectionWorkNode); + //发送消息提醒 return success("操作成功"); } diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/PartnerOwnController.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/PartnerOwnController.java index 4e15a293..472801d9 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/PartnerOwnController.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/controller/PartnerOwnController.java @@ -11,12 +11,16 @@ import cn.iocoder.yudao.module.partner.entity.PartnerBalanceDetail; import cn.iocoder.yudao.module.partner.entity.PartnerWorker; import cn.iocoder.yudao.module.partner.service.IPartnerWorkerService; import cn.iocoder.yudao.module.payment.entity.OrderInfo; +import cn.iocoder.yudao.module.system.api.user.dto.UserDTO; import cn.iocoder.yudao.module.system.controller.admin.dict.vo.data.DictDataSaveReqVO; import cn.iocoder.yudao.module.system.controller.admin.dict.vo.type.DictTypeSaveReqVO; +import cn.iocoder.yudao.module.system.controller.admin.permission.vo.role.RolePageReqVO; import cn.iocoder.yudao.module.system.dal.dataobject.dict.DictDataDO; import cn.iocoder.yudao.module.system.dal.dataobject.dict.DictTypeDO; import cn.iocoder.yudao.module.system.service.dict.DictDataService; import cn.iocoder.yudao.module.system.service.dict.DictTypeService; +import cn.iocoder.yudao.module.system.service.permission.RoleService; +import cn.iocoder.yudao.module.system.service.user.AdminUserService; import cn.iocoder.yudao.util.StringUtils; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; @@ -48,6 +52,8 @@ public class PartnerOwnController extends BaseController { private DictTypeService dictTypeService; @Autowired private DictDataService dictDataService; + @Autowired + private RoleService roleService; /** * 获取店铺详情 @@ -384,13 +390,19 @@ public class PartnerOwnController extends BaseController { public CommonResult> getWorkList(Long partnerId, String workName, String phoneNum, Long postId, Integer pageNum, Integer pageSize) { LoginUser user = SecurityFrameworkUtils.getLoginUser(); - ShopMallPartners partnersTmp = partnerList.getById(partnerId); - if (!partnersTmp.getUserId().equals(user.getId())){ - return null; - } - Page page = new Page<>(pageNum, pageSize); - IPage workList = partnerList.pageWorkList(partnerId,postId, workName, phoneNum,page); - return CommonResult.success(workList); +// ShopMallPartners partnersTmp = partnerList.getById(partnerId); +// if (!partnersTmp.getUserId().equals(user.getId())){ +// return null; +// } + /*获取检测的用户*/ + RolePageReqVO reqVO = new RolePageReqVO(); + reqVO.setPageNo(pageNum); + reqVO.setNickname(workName); + reqVO.setPageSize(pageSize); + IPage userDTOIPage = roleService.selectListByRoleId(reqVO); +// Page page = new Page<>(pageNum, pageSize); +// IPage workList = partnerList.pageWorkList(partnerId,postId, workName, phoneNum,page); + return CommonResult.success(userDTOIPage); } @PostMapping("/delWorker") @@ -455,11 +467,11 @@ public class PartnerOwnController extends BaseController { //获取到店预约的数据 @GetMapping("/getAppointmentList") public CommonResult getAppointmentList(Long partnerId,String phoneNum,Integer pageSize,Integer pageNum) { - LoginUser user = SecurityFrameworkUtils.getLoginUser(); - ShopMallPartners partnersTmp = partnerList.getById(partnerId); - if (!partnersTmp.getUserId().equals(user.getId())){ - return null; - } +// LoginUser user = SecurityFrameworkUtils.getLoginUser(); +// ShopMallPartners partnersTmp = partnerList.getById(partnerId); +// if (!partnersTmp.getUserId().equals(user.getId())){ +// return null; +// } Page page = new Page<>(pageNum,pageSize); IPage appointments = partnerList.getAppointmentList(page,partnerId,phoneNum); return success(appointments); @@ -469,10 +481,10 @@ public class PartnerOwnController extends BaseController { @GetMapping("/getPickCarList") public CommonResult getPickCarList(Long partnerId,String phoneNum,String pickStatus,Integer pageSize,Integer pageNum) { LoginUser user = SecurityFrameworkUtils.getLoginUser(); - ShopMallPartners partnersTmp = partnerList.getById(partnerId); - if (!partnersTmp.getUserId().equals(user.getId())){ - return null; - } +// ShopMallPartners partnersTmp = partnerList.getById(partnerId); +// if (!partnersTmp.getUserId().equals(user.getId())){ +// return null; +// } Page page = new Page<>(pageNum,pageSize); IPage pickCarList = partnerList.getPickCarList(page,partnerId,phoneNum,pickStatus); return success(pickCarList); @@ -542,14 +554,14 @@ public class PartnerOwnController extends BaseController { @RequestParam(value ="pageSize" ,required = false ,defaultValue = "10") Integer pageSize) { LoginUser user = SecurityFrameworkUtils.getLoginUser(); // .eq(PartnerWorker::getUserId,user.getId()) - LambdaQueryWrapper queryWrapper =new LambdaQueryWrapper<>(); - queryWrapper.eq(PartnerWorker::getPartnerId,partnerId); - PartnerWorker worker = partnerWorkerService.getOne(queryWrapper); - if (ObjectUtil.isEmpty(worker)){ - return null; - } +// LambdaQueryWrapper queryWrapper =new LambdaQueryWrapper<>(); +// queryWrapper.eq(PartnerWorker::getPartnerId,partnerId); +// PartnerWorker worker = partnerWorkerService.getOne(queryWrapper); +// if (ObjectUtil.isEmpty(worker)){ +// return null; +// } Page page = new Page<>(pageNum, pageSize); - IPage pickCarList = partnerList.getPickCarListOfWorker(page,worker.getId(),phoneNum); + IPage pickCarList = partnerList.getPickCarListOfWorker(page,user.getId(),phoneNum); return success(pickCarList); } diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/entity/InspectionInfo.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/entity/InspectionInfo.java index 424cdfd9..becc148e 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/entity/InspectionInfo.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/entity/InspectionInfo.java @@ -165,4 +165,6 @@ public class InspectionInfo extends TenantBaseDO private String projectName; @TableField(exist = false) private String leadManName; + @TableField(exist = false) + private Integer additionalRecording; } diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/DlInspectionProjectService.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/DlInspectionProjectService.java index 70a8df08..68f0b792 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/DlInspectionProjectService.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/DlInspectionProjectService.java @@ -31,6 +31,12 @@ public interface DlInspectionProjectService extends IService partnerList(Page page, PartnerListQuery partnerListQuery) { @@ -1681,8 +1684,8 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl inspectionWorkNodes = inspectionInfo.getInspectionWorkNodes(); + boolean save = false; //将检测工单流程补充检测工单id - inspectionWorkNodes.stream().forEach(inspectionWorkNode -> { - //检测工单id - inspectionWorkNode.setInspectionInfoId(inspectionInfo.getId()); - //将节点状态设置为未开始 - inspectionWorkNode.setStatus("0"); - }); + //如果是补录就将节点设置为已完成 + if (ObjectUtil.isNotNull(inspectionInfo.getAdditionalRecording()) && inspectionInfo.getAdditionalRecording() == 1) { + inspectionWorkNodes.stream().forEach(inspectionWorkNode -> { + //检测工单id + inspectionWorkNode.setInspectionInfoId(inspectionInfo.getId()); + inspectionWorkNode.setCreateTime(inspectionInfo.getStartTime().toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime()); + inspectionWorkNode.setUpdateTime(inspectionInfo.getStartTime().toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime()); + + inspectionWorkNode.setStatus("2"); + inspectionWorkNode.setType("1"); + }); + + /*获取所有的检测项目 填充步骤*/ + List inspectionStepInfos = new ArrayList<>(); + InspectionStepInfo inspectionStepInfoStrt = new InspectionStepInfo(); + inspectionStepInfoStrt.setTitle("检测开始"); + inspectionStepInfoStrt.setInspectionInfoId(Integer.parseInt(String.valueOf(inspectionInfo.getId()))); + inspectionStepInfoStrt.setCreator(Integer.parseInt(String.valueOf(loginUser.getId()))); + inspectionStepInfoStrt.setUpdater(Integer.parseInt(String.valueOf(loginUser.getId()))); + inspectionStepInfoStrt.setCreateTime(inspectionInfo.getStartTime()); + inspectionStepInfoStrt.setUpdateTime(inspectionInfo.getStartTime()); + inspectionStepInfos.add(inspectionStepInfoStrt); + + for (InspectionWorkNode inspectionWorkNode : inspectionWorkNodes) { + InspectionStepInfo inspectionStepInfo = new InspectionStepInfo(); + inspectionStepInfo.setTitle(inspectionWorkNode.getProjectName() + "项目检测完成"); + inspectionStepInfo.setInspectionInfoId(Integer.parseInt(String.valueOf(inspectionInfo.getId()))); + inspectionStepInfo.setCreator(Integer.parseInt(String.valueOf(inspectionWorkNode.getDealUserId()))); + inspectionStepInfo.setUpdater(Integer.parseInt(String.valueOf(inspectionWorkNode.getDealUserId()))); + inspectionStepInfo.setCreateTime(inspectionInfo.getStartTime()); + inspectionStepInfo.setUpdateTime(inspectionInfo.getStartTime()); + + inspectionStepInfos.add(inspectionStepInfo); + } + InspectionStepInfo inspectionStepInfoEnd = new InspectionStepInfo(); + inspectionStepInfoEnd.setTitle("检测结束"); + inspectionStepInfoEnd.setInspectionInfoId(Integer.parseInt(String.valueOf(inspectionInfo.getId()))); + inspectionStepInfoEnd.setCreator(Integer.parseInt(String.valueOf(loginUser.getId()))); + inspectionStepInfoEnd.setUpdater(Integer.parseInt(String.valueOf(loginUser.getId()))); + inspectionStepInfoEnd.setCreateTime(inspectionInfo.getStartTime()); + inspectionStepInfoEnd.setUpdateTime(inspectionInfo.getStartTime()); + inspectionStepInfos.add(inspectionStepInfoEnd); + save = inspectionStepInfoService.saveBatch(inspectionStepInfos); + } else { + inspectionWorkNodes.stream().forEach(inspectionWorkNode -> { + //检测工单id + inspectionWorkNode.setInspectionInfoId(inspectionInfo.getId()); + //将节点状态设置为未开始 + inspectionWorkNode.setStatus("0"); + }); + //检测步骤表插入检测开始 + InspectionStepInfo stepInfo = new InspectionStepInfo(); + stepInfo.setInspectionInfoId(Integer.parseInt(String.valueOf(inspectionInfo.getId()))); + stepInfo.setTitle("检测开始"); + stepInfo.setCreateTime(new Date()); + stepInfo.setCreator(Integer.parseInt(String.valueOf(loginUser.getId()))); + save = inspectionStepInfoService.save(stepInfo); + } workNodeService.saveBatch(inspectionWorkNodes); - //获取第一个节点的角色 - Integer roleId = inspectionWorkNodes.get(0).getRoleId(); +// //获取第一个节点的角色 +// Integer roleId = inspectionWorkNodes.get(0).getRoleId(); + List roleIds = new ArrayList<>(); + /*获取所有的角色id*/ + if(CollUtil.isNotEmpty(inspectionWorkNodes)){ + roleIds = inspectionWorkNodes.stream().map(inspectionWorkNode -> inspectionWorkNode.getRoleId()).collect(Collectors.toList()); + } //根据角色id获取所有用户 - List listByUserId = roleService.getListByUserId(roleId); + List listByUserId = roleService.getListByUserIds(roleIds); List ids = listByUserId.stream().map(UserDTO::getId).collect(Collectors.toList()); if (ObjectUtil.isNotNull(inspectionInfo.getLeadManId())) { ids.add(inspectionInfo.getLeadManId()); @@ -260,20 +330,14 @@ public class InspectionInfoServiceImpl extends ServiceImpl roleIds = new ArrayList<>(); + /*获取所有的角色id*/ + if(CollUtil.isNotEmpty(workNodes.getWorkNodes())){ + roleIds = workNodes.getWorkNodes().stream().map(inspectionWorkNode -> inspectionWorkNode.getRoleId()).collect(Collectors.toList()); + } + //根据角色id获取所有用户 + List listByUserId = roleService.getListByUserIds(roleIds); + List ids = listByUserId.stream().map(UserDTO::getId).collect(Collectors.toList()); + if (ObjectUtil.isNotNull(info.getLeadManId())) { + ids.add(info.getLeadManId()); + } + //给ids去重 + ids = ids.stream().distinct().collect(Collectors.toList()); + // 获取当前共单引车员的id + if (CollUtil.isNotEmpty(ids) && ObjectUtil.isNull(info.getAdditionalRecording())) { + for (Long id : ids) { + inspectionSocket.sendMessage("接工单", id.toString()); + } + + } } /** diff --git a/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml b/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml index f69bd4fe..6ed86523 100644 --- a/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml +++ b/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml @@ -8,7 +8,7 @@ UPDATE inspection_work_node - SET status = '0', deal_user_id = null, deal_user_name = null, deal_images = null, remark = null + SET status = '0', deal_user_id = null, deal_user_name = null, deal_images = null, remark = null,type = null WHERE id in ( #{item.id} @@ -65,14 +65,14 @@ AND node.deal_user_name LIKE CONCAT('%', #{inspectionWorkNode.dealUserName} , '%') - AND DATE_FORMAT(info.end_time, '%Y-%m') = #{inspectionWorkNode.rescueStartMonth} + AND DATE_FORMAT(node.create_time, '%Y-%m') = #{inspectionWorkNode.rescueStartMonth} - AND info.end_time BETWEEN #{inspectionWorkNode.rescueStart} AND #{inspectionWorkNode.rescueEnd} + AND node.create_time BETWEEN #{inspectionWorkNode.rescueStart} AND #{inspectionWorkNode.rescueEnd} ORDER BY - info.end_time DESC; + node.create_time DESC; - select ins.*,oi.goods_title,su.nickname as buyName,su.mobile as buyPhone,oi.sku_name,oi.pay_money as realPayMoney + select DISTINCT ins.*,oi.goods_title,su.nickname as buyName,su.mobile as buyPhone,oi.sku_name,oi.pay_money as realPayMoney ,oi.pay_type,oi.order_status as orderStatus,oi.goods_id,oi.sku_id,oi.pay_time,oi.goods_price,ins.create_time from inspection_info ins left join order_info oi on oi.id = ins.inspection_order_id diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java index 0a8a7315..919d7973 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java @@ -178,4 +178,14 @@ public class UserController { return success(userService.importUserList(list, updateSupport)); } + /** + * 通过角色id查询用户列表 + * @param roleId + * @return + */ + @GetMapping("/selectByRoleId") + public CommonResult selectByRoleId(Long roleId){ + return success(userService.selectByRoleId(roleId)); + } + } diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/permission/UserRoleMapper.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/permission/UserRoleMapper.java index 89a6964b..f67d6423 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/permission/UserRoleMapper.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/permission/UserRoleMapper.java @@ -53,4 +53,6 @@ public interface UserRoleMapper extends BaseMapperX { * @return java.util.List **/ List userCodes(@Param("userIds") List userIds); + + List selectByRoleIds(@Param("roleIds") List roleIds); } diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/user/AdminUserMapper.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/user/AdminUserMapper.java index 1788c5ec..1a78e22c 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/user/AdminUserMapper.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/user/AdminUserMapper.java @@ -82,4 +82,6 @@ public interface AdminUserMapper extends BaseMapperX { int updateCusInfo(@Param("entity") UserInfoVO userInfoVO); AdminUserDO getUserByMobileTenantIgnore(String mobile); + + List selectByRoleId(Long roleId); } diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleService.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleService.java index e0bc9022..2b609d10 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleService.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleService.java @@ -182,4 +182,10 @@ public interface RoleService { * @return */ List getListByUserId(Integer roleId); + /** + * 根据角色id查询用户 + * @param roleId + * @return + */ + List getListByUserIds(List roleId); } diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java index 73ff7d1b..7d4bcef3 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java @@ -384,6 +384,19 @@ public class RoleServiceImpl implements RoleService { return userDTOS; } + + /** + * 根据角色id查询用户 + * + * @param roleIds + * @return + */ + @Override + public List getListByUserIds(List roleIds) { + List userDTOS = userRoleMapper.selectByRoleIds(roleIds); + return userDTOS; + } + /** * 获得自身的代理对象,解决 AOP 生效问题 * diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserService.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserService.java index 501dbc50..1ea50183 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserService.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserService.java @@ -285,4 +285,11 @@ public interface AdminUserService extends IService { * @return java.util.List **/ List selectListByPhoneStaff(String phone); + + /** + * 根据角色id查询用户 + * @param roleId + * @return + */ + List selectByRoleId(Long roleId); } diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java index ec2e2a17..79d67867 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java @@ -639,6 +639,17 @@ public class AdminUserServiceImpl extends ServiceImpl selectByRoleId(Long roleId) { + return baseMapper.selectByRoleId(roleId); + } + /** * 对密码进行加密 * diff --git a/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/SysUserMapper.xml b/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/SysUserMapper.xml index dfcc0539..200240bc 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/SysUserMapper.xml +++ b/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/SysUserMapper.xml @@ -86,4 +86,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND deleted = 0 limit 1 + diff --git a/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/UserRoleMapper.xml b/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/UserRoleMapper.xml index 7e1c4ae1..d117d59c 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/UserRoleMapper.xml +++ b/yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/UserRoleMapper.xml @@ -62,4 +62,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" WHERE sur.role_id = #{roleId}) +