This commit is contained in:
parent
66de8e628a
commit
3c300ea1e3
|
|
@ -12,4 +12,6 @@ public interface OrganaztionService {
|
|||
void delOrganaztionDepartment(Department department, SimpleEmployee employee);
|
||||
|
||||
void updateOrganaztionDepartment(Department department, SimpleEmployee employee);
|
||||
|
||||
void mergeOrganaztionDepartment(Department department, SimpleEmployee employee);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,4 +69,13 @@ public class OrganaztionSeviceImpl implements OrganaztionService {
|
|||
CommonUtils.null2String(dataList.get(0).get("sjzzmc")),CommonUtils.null2String(dataList.get(0).get("sjzz")),CommonUtils.null2String(dataList.get(0).get("sjzzbh")),department.getBh()));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mergeOrganaztionDepartment(Department department, SimpleEmployee employee) {
|
||||
String bhbbmid = department.getBhbbmid();
|
||||
String sql = "update uf_organization_bghzzsj set delete_type='1' where bh in (?)";
|
||||
databaseUtils.execute(sql,CommonUtils.getParamList(bhbbmid));
|
||||
addOrganaztionDepartment( department, employee);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue