Просмотр исходного кода

订单部门切换需要审核和不需要修改

anderx 1 год назад
Родитель
Сommit
f71129b929

+ 5 - 5
src/main/java/com/goafanti/organization/service/impl/OrganizationServiceImpl.java

@@ -466,19 +466,19 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
 		}
 		//
 		checkFinaceUpdate(aids);
-		if (in.getExpenseRetrialFinanceExamine()==1){
+		if (in.getExpenseRetrialFinanceExamine()!=null){
 			dep.setExpenseRetrialFinanceExamine(in.getExpenseRetrialFinanceExamine());
 		}
-		if (in.getCeoExamine()==1){
+		if (in.getCeoExamine()!=null){
 			dep.setCeoExamine(in.getCeoExamine());
 		}
-		if (in.getCfoExamine()==1){
+		if (in.getCfoExamine()!=null){
 			 dep.setCfoExamine(in.getCfoExamine());
 		}
-		if (in.getViceCeoExamine()==1){
+		if (in.getViceCeoExamine()!=null){
 			dep.setViceCeoExamine(in.getViceCeoExamine());
 		}
-		if (in.getCashierExamine()==1){
+		if (in.getCashierExamine()!=null){
 			dep.setCashierExamine(in.getCashierExamine());
 		}
 	}