Commit 4162088b by jianshuqin

Revert "申请费用计划单 增加所属账期和所属项目"

This reverts commit 3acd8d96.
parent 3acd8d96
......@@ -355,9 +355,6 @@ public class CostDomain implements Serializable {
// 回调必要的key参数(DetailKey)不能为空;
req.setDetailKey(detailKey);
req.setTypeName(this.getTypeName());
req.setProject(this.getProject());
req.setProjectDate(this.getProjectDate());
return req;
}
......
......@@ -8,7 +8,6 @@ import com.bailuntec.common.JsonUtilByFsJson;
import com.bailuntec.common.JsonUtilByJackson;
import com.blt.other.common.exception.RpcException;
import com.blt.other.database.model.CostTofinanceDomain;
import com.blt.other.module.cost.model.CostDetailDomain;
import com.blt.other.module.cost.model.CostDomain;
import com.blt.other.module.cost.service.CostService;
import com.blt.other.module.cost.vo.CashierCallbackUrlDataDataVo;
......@@ -54,12 +53,6 @@ public class PayCostServiceImpl extends AbstractCostService implements CostServi
// 出纳申请金额明细(MoneyDetail)不可为空;
req.setMoneyDetail(applyMoneyDetailList);
// 所属项目和所属账期
if (cost.getCostDetailDomainList() != null && cost.getCostDetailDomainList().size() > 0){
CostDetailDomain detailDomain = cost.getCostDetailDomainList().get(0);
req.setProject(detailDomain.getProject());
req.setProjectDate(detailDomain.getProjectDate());
}
log.info("提交出纳参数:{}", JsonUtilByFsJson.beanToJson(req));
CwResult<String> cwResult = cwApi.postApply(req);
......
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