소스 검색

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

anderx 1 년 전
부모
커밋
f71129b929
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/main/java/com/goafanti/organization/service/impl/OrganizationServiceImpl.java

+ 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());
 		}
 	}