部门拖拽优化0802

pull/200/head
Mlin 2 years ago
parent 33dda680df
commit 1ac72f3519

@ -694,9 +694,9 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
}else {
querySupIdSql = "select subcompanyid1 as supComId,supdepid as supId from hrmdepartment where id = ?";
}
if ("-1".equals(dragPostion)) {
OrganizationAssert.isFalse( true,"分部、部门不能转移至与集团平级");
}else if ("1".equals(dragPostion)) {
OrganizationAssert.isFalse("-1".equals(dragPostion),"分部、部门不能转移至与集团平级");
if ("1".equals(dragPostion)) {
recordSet.executeQuery(querySupIdSql, targetId);
if (recordSet.next()) {
supId = Util.null2String(recordSet.getString("supId"));

Loading…
Cancel
Save