mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	BPM:重构审批人的分配规则实现,移除 bpm_task_assign_rule 表,存储在 bpmn 的 userTask 中
This commit is contained in:
		@@ -16,6 +16,10 @@ public class NumberUtils {
 | 
			
		||||
        return StrUtil.isNotEmpty(str) ? Long.valueOf(str) : null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static Integer parseInt(String str) {
 | 
			
		||||
        return StrUtil.isNotEmpty(str) ? Integer.valueOf(str) : null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 通过经纬度获取地球上两点之间的距离
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,7 @@ import cn.hutool.core.util.StrUtil;
 | 
			
		||||
import java.util.Arrays;
 | 
			
		||||
import java.util.Collection;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import java.util.Set;
 | 
			
		||||
import java.util.stream.Collectors;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -45,6 +46,11 @@ public class StrUtils {
 | 
			
		||||
        return Arrays.stream(longs).boxed().collect(Collectors.toList());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static Set<Long> splitToLongSet(String value, CharSequence separator) {
 | 
			
		||||
        long[] longs = StrUtil.splitToLong(value, separator);
 | 
			
		||||
        return Arrays.stream(longs).boxed().collect(Collectors.toSet());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static List<Integer> splitToInteger(String value, CharSequence separator) {
 | 
			
		||||
        int[] integers = StrUtil.splitToInt(value, separator);
 | 
			
		||||
        return Arrays.stream(integers).boxed().collect(Collectors.toList());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user