Commit c85c4c87 by huluobin

cost req

parent 0f851383
...@@ -22,6 +22,8 @@ import com.blt.other.module.cost.model.CostDetailDomain; ...@@ -22,6 +22,8 @@ import com.blt.other.module.cost.model.CostDetailDomain;
import com.blt.other.module.cost.model.CostDomain; import com.blt.other.module.cost.model.CostDomain;
import com.blt.other.module.cost.service.CostApiService; import com.blt.other.module.cost.service.CostApiService;
import com.blt.other.module.cost.service.UserCostFinansysService; import com.blt.other.module.cost.service.UserCostFinansysService;
import com.blt.other.module.cost.service.impl.costcheck.CostContext;
import com.blt.other.module.cost.service.impl.costcheck.FinancialCheckState;
import com.blt.other.module.cost.utils.CostFileUtil; import com.blt.other.module.cost.utils.CostFileUtil;
import com.blt.other.module.cost.utils.CostUtils; import com.blt.other.module.cost.utils.CostUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
...@@ -272,6 +274,8 @@ public class CostApiServiceImpl implements CostApiService { ...@@ -272,6 +274,8 @@ public class CostApiServiceImpl implements CostApiService {
CostTypeDao costTypeDao; CostTypeDao costTypeDao;
@Resource @Resource
AccountingSubjectMapper accountingSubjectMapper; AccountingSubjectMapper accountingSubjectMapper;
@Resource
FinancialCheckState financialCheckState;
@Override @Override
public String pushWageCost(WageCostDto wageCostDto) throws IOException { public String pushWageCost(WageCostDto wageCostDto) throws IOException {
...@@ -361,6 +365,11 @@ public class CostApiServiceImpl implements CostApiService { ...@@ -361,6 +365,11 @@ public class CostApiServiceImpl implements CostApiService {
costLogDomain.setUpdateUsercode(user.getUsercode()); costLogDomain.setUpdateUsercode(user.getUsercode());
costLogDao.insert(costLogDomain); costLogDao.insert(costLogDomain);
CostContext costContext = new CostContext(costNo, costDomain.getCreateUserid());
costContext.setCostState(financialCheckState);
financialCheckState.updateCurrentReviewer();
return costNo; return costNo;
} }
......
...@@ -33,8 +33,6 @@ public class FinancialCheckState extends CostState { ...@@ -33,8 +33,6 @@ public class FinancialCheckState extends CostState {
FinalCheckState finalCheckState; FinalCheckState finalCheckState;
@Resource @Resource
CostCompanyDao costCompanyDao; CostCompanyDao costCompanyDao;
@Resource
IOaUserService oaUserService;
@Override @Override
void nextState(CostState costState) { void nextState(CostState costState) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment