2022-05-26 10:11:02 +08:00
|
|
|
package com.engine.organization.transmethod;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description: TODO
|
|
|
|
|
* @author:dxfeng
|
|
|
|
|
* @createTime: 2022/05/25
|
|
|
|
|
* @version: 1.0
|
|
|
|
|
*/
|
|
|
|
|
public class JobTransMethod {
|
|
|
|
|
|
|
|
|
|
public static String getSpanById(String planId) {
|
|
|
|
|
//JobMapper compMapper = MapperProxyFactory.getProxy(CompMapper.class);
|
2022-06-01 14:38:39 +08:00
|
|
|
//List<Map<String, Object>> maps = compMapper.listCompsByIds(DeleteParam.builder().ids(planId).build().getIds());
|
2022-05-26 10:11:02 +08:00
|
|
|
//String names = maps.stream().map(item -> (String) item.get("name")).collect(Collectors.joining(","));
|
|
|
|
|
//return names;
|
|
|
|
|
return "";
|
|
|
|
|
}
|
2022-05-30 18:39:03 +08:00
|
|
|
|
|
|
|
|
public static String getIsKeySpan(String isKey) {
|
2022-05-31 13:50:00 +08:00
|
|
|
if ("1".equals(isKey))
|
2022-05-30 18:39:03 +08:00
|
|
|
return "是";
|
|
|
|
|
else
|
|
|
|
|
return "否";
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-26 10:11:02 +08:00
|
|
|
}
|