|
@@ -45,6 +45,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import javax.validation.Valid;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Comparator;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -459,6 +460,8 @@ public class SysDeptController {
|
|
|
List<WmDeptRegulations> list = wmDeptRegulationsService.list(Wrappers.<WmDeptRegulations>lambdaQuery()
|
|
|
.eq(WmDeptRegulations::getDeptId, deptId)
|
|
|
.eq(WmDeptRegulations::getDelFlag, DelEnum.NOT_DEL.val()));
|
|
|
+ list.sort(Comparator.comparing(WmDeptRegulations::getSort));
|
|
|
+
|
|
|
return R.ok(list);
|
|
|
}
|
|
|
|