|
|
@@ -1,26 +1,20 @@
|
|
|
package com.goafanti.organization.service.impl;
|
|
|
|
|
|
-import java.util.*;
|
|
|
-
|
|
|
-import com.goafanti.common.dao.DepartmentMapper;
|
|
|
-import com.goafanti.common.dao.NewOrderChangeMapper;
|
|
|
-import com.goafanti.common.dao.TOrderNewMapper;
|
|
|
-import com.goafanti.common.enums.OrderState;
|
|
|
+import com.goafanti.admin.bo.AdminListBo;
|
|
|
+import com.goafanti.common.dao.*;
|
|
|
import com.goafanti.common.model.Department;
|
|
|
import com.goafanti.common.utils.AsyncUtils;
|
|
|
-import com.goafanti.order.enums.ProcessStatus;
|
|
|
-import com.goafanti.organization.bo.DepOut;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.stereotype.Service;
|
|
|
-
|
|
|
+import com.goafanti.common.utils.StringUtils;
|
|
|
+import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.core.mybatis.page.Pagination;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
+import com.goafanti.organization.bo.DepOut;
|
|
|
import com.goafanti.organization.bo.OrganizationListOut;
|
|
|
import com.goafanti.organization.service.OrganizationService;
|
|
|
-import com.goafanti.admin.bo.AdminListBo;
|
|
|
-import com.goafanti.common.dao.TOrderMidMapper;
|
|
|
-import com.goafanti.common.utils.StringUtils;
|
|
|
-import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+import java.util.*;
|
|
|
@Service
|
|
|
public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> implements OrganizationService {
|
|
|
@Autowired
|
|
|
@@ -30,7 +24,7 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
|
|
|
@Autowired
|
|
|
private TOrderNewMapper tOrderNewMapper;
|
|
|
@Autowired
|
|
|
- private NewOrderChangeMapper newOrderChangeMapper;
|
|
|
+ private FinanceCountMapper financeCountMapper;
|
|
|
@Autowired
|
|
|
private AsyncUtils asyncUtils;
|
|
|
|
|
|
@@ -212,6 +206,7 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
|
|
|
Department dep = departmentMapper.selectByPrimaryKey(id);
|
|
|
if (financeId!=null&&financeId.equals(dep.getFinanceId())){
|
|
|
asyncUtils.updateFinanceExamineAndDep(id,financeId);
|
|
|
+ financeCountMapper.updateByFinance(dep.getFinanceId(),financeId);
|
|
|
}
|
|
|
}
|
|
|
|