| | |
| | | if (StringUtil.isNotBlank(gdPatrolTaskVO.getDeviceFlyerId())) { |
| | | param.setDeviceFlyerId(gdPatrolTaskVO.getDeviceFlyerId()); |
| | | } |
| | | if (StringUtil.isNotBlank(JSON.toJSONString(gdPatrolTaskVO.getAlgorithmIds()))) { |
| | | param.setAlgorithmId(JSON.toJSONString(gdPatrolTaskVO.getAlgorithmIds())); |
| | | if (gdPatrolTaskVO.getAlgorithmIds() != null && !gdPatrolTaskVO.getAlgorithmIds().isEmpty()) { |
| | | // 将 List<String> 转换为逗号分隔的字符串 |
| | | String algorithmIdStr = String.join(",", gdPatrolTaskVO.getAlgorithmIds()); |
| | | param.setAlgorithmId(algorithmIdStr); |
| | | } |
| | | // 机构 |
| | | param.setDeptId(gdPatrolTaskVO.getCreateDept()); |