|
@@ -199,7 +199,6 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
|
|
|
dep.setHideSign(hideSign);
|
|
dep.setHideSign(hideSign);
|
|
|
dep.setWorkingHoursType(workingHoursType);
|
|
dep.setWorkingHoursType(workingHoursType);
|
|
|
checkFinaceUpdate(id,financeId);
|
|
checkFinaceUpdate(id,financeId);
|
|
|
-
|
|
|
|
|
int x=departmentMapper.updateByPrimaryKeySelective(dep);
|
|
int x=departmentMapper.updateByPrimaryKeySelective(dep);
|
|
|
return x;
|
|
return x;
|
|
|
}
|
|
}
|
|
@@ -212,7 +211,7 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
|
|
|
private void checkFinaceUpdate(String id, String financeId) {
|
|
private void checkFinaceUpdate(String id, String financeId) {
|
|
|
Department dep = departmentMapper.selectByPrimaryKey(id);
|
|
Department dep = departmentMapper.selectByPrimaryKey(id);
|
|
|
if (financeId!=null&&financeId.equals(dep.getFinanceId())){
|
|
if (financeId!=null&&financeId.equals(dep.getFinanceId())){
|
|
|
- asyncUtils.updateFinanceExamine(financeId);
|
|
|
|
|
|
|
+ asyncUtils.updateFinanceExamineAndDep(id,financeId);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|