Commit c85c4c87 by huluobin

cost req

parent 0f851383
......@@ -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.service.CostApiService;
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.CostUtils;
import org.slf4j.Logger;
......@@ -272,6 +274,8 @@ public class CostApiServiceImpl implements CostApiService {
CostTypeDao costTypeDao;
@Resource
AccountingSubjectMapper accountingSubjectMapper;
@Resource
FinancialCheckState financialCheckState;
@Override
public String pushWageCost(WageCostDto wageCostDto) throws IOException {
......@@ -361,6 +365,11 @@ public class CostApiServiceImpl implements CostApiService {
costLogDomain.setUpdateUsercode(user.getUsercode());
costLogDao.insert(costLogDomain);
CostContext costContext = new CostContext(costNo, costDomain.getCreateUserid());
costContext.setCostState(financialCheckState);
financialCheckState.updateCurrentReviewer();
return costNo;
}
......
......@@ -33,8 +33,6 @@ public class FinancialCheckState extends CostState {
FinalCheckState finalCheckState;
@Resource
CostCompanyDao costCompanyDao;
@Resource
IOaUserService oaUserService;
@Override
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