|
|
@ -640,7 +640,7 @@ public class OrgChartServiceImpl extends Service implements OrgChartService {
|
|
|
|
String fclass = Util.null2String(params.get("fclass"));
|
|
|
|
String fclass = Util.null2String(params.get("fclass"));
|
|
|
|
List<TimeLinesBO> timeLinesBOList = new ArrayList<>();
|
|
|
|
List<TimeLinesBO> timeLinesBOList = new ArrayList<>();
|
|
|
|
timeLinesBOList.add(TimeLinesBO.builder().key(0).id(0).title("当前版本").color("blue").time("").build());
|
|
|
|
timeLinesBOList.add(TimeLinesBO.builder().key(0).id(0).title("当前版本").color("blue").time("").build());
|
|
|
|
rs.executeQuery("SELECT id,recorddate,description from JCL_ORG_CHARTVERSION where fclass = ? and deletetype = ?",fclass,0);
|
|
|
|
rs.executeQuery("SELECT id,recorddate,description from JCL_ORG_CHARTVERSION where fclass = ? and deletetype = ? order by id desc",fclass,0);
|
|
|
|
while (rs.next()) {
|
|
|
|
while (rs.next()) {
|
|
|
|
timeLinesBOList.add(TimeLinesBO.builder()
|
|
|
|
timeLinesBOList.add(TimeLinesBO.builder()
|
|
|
|
.key(rs.getInt("id"))
|
|
|
|
.key(rs.getInt("id"))
|
|
|
|