Commit 14d652ca authored by liudong1993's avatar liudong1993

1

parent cddb18f8
......@@ -1649,20 +1649,35 @@ namespace REBORN.Services.FinanceService
JObject parms = JObject.Parse(request.msg.ToString());
int FrId = parms.GetInt("FrId", 0);
decimal Fee = parms.GetDecimal("Fee");
if (FrId <= 0)
{
return ApiResult.ParamIsNull("请传递单据ID");
}
string msg = financialModule2.UpdateFinanceFee(FrId, Fee, userInfo);
if (msg == "")
//查询一下 是否付款单
var fmodel = module.GetFinanceModel(FrId);
if (fmodel.Type == Common.Enum.User.WFTempLateClassEnum.OUT)
{
return ApiResult.Success();
string msg = WorkFlowModule.UpdateTransactionFee(FrId, Fee, userInfo);
if (msg == "")
{
return ApiResult.Success();
}
else
{
return ApiResult.Failed(msg);
}
}
else
{
return ApiResult.Failed(msg);
string msg = financialModule2.UpdateFinanceFee(FrId, Fee, userInfo);
if (msg == "")
{
return ApiResult.Success();
}
else
{
return ApiResult.Failed(msg);
}
}
}
......
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