mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 id字符串格式转换错误问题
This commit is contained in:
		@@ -260,8 +260,8 @@ public class ActTaskServiceImpl implements IActTaskService {
 | 
			
		||||
        String userId = String.valueOf(LoginHelper.getUserId());
 | 
			
		||||
        queryWrapper.eq("t.business_status_", BusinessStatusEnum.WAITING.getStatus());
 | 
			
		||||
        queryWrapper.eq(TenantHelper.isEnable(), "t.tenant_id_", TenantHelper.getTenantId());
 | 
			
		||||
        String ids = StreamUtils.join(roleIds, x -> x);
 | 
			
		||||
        queryWrapper.and(w1 -> w1.eq("t.assignee_", userId).or(w2 -> w2.isNull("t.assignee_").apply("exists ( select LINK.ID_ from ACT_RU_IDENTITYLINK LINK where LINK.TASK_ID_ = t.ID_ and LINK.TYPE_ = 'candidate' and (LINK.USER_ID_ = {0} or ( LINK.GROUP_ID_ IN ({1}) ) ))", userId, ids)));
 | 
			
		||||
        String ids = StreamUtils.join(roleIds, x -> "'" + x + "'");
 | 
			
		||||
        queryWrapper.and(w1 -> w1.eq("t.assignee_", userId).or(w2 -> w2.isNull("t.assignee_").apply("exists ( select LINK.ID_ from ACT_RU_IDENTITYLINK LINK where LINK.TASK_ID_ = t.ID_ and LINK.TYPE_ = 'candidate' and (LINK.USER_ID_ = {0} or ( LINK.GROUP_ID_ IN (" + ids + ") ) ))", userId)));
 | 
			
		||||
        if (StringUtils.isNotBlank(taskBo.getName())) {
 | 
			
		||||
            queryWrapper.like("t.name_", taskBo.getName());
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user