|
@@ -2652,7 +2652,7 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
|
|
|
|
|
|
|
|
_daiRep.CommitTran();
|
|
_daiRep.CommitTran();
|
|
- return Ok(JsonView(false, "操作成功"));
|
|
|
|
|
|
+ return Ok(JsonView(true, "操作成功"));
|
|
}
|
|
}
|
|
|
|
|
|
private bool extraCost_editCreditCardPayment(Fin_GroupExtraCostDto_OP costDto)
|
|
private bool extraCost_editCreditCardPayment(Fin_GroupExtraCostDto_OP costDto)
|
|
@@ -2793,9 +2793,10 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
int endIndex = startIndex + dto.PageSize - 1;
|
|
int endIndex = startIndex + dto.PageSize - 1;
|
|
string sql_data = string.Format(@"Select * From (
|
|
string sql_data = string.Format(@"Select * From (
|
|
Select row_number() over (order by f.Id Desc) as RowNumber,f.Id,f.DiId,
|
|
Select row_number() over (order by f.Id Desc) as RowNumber,f.Id,f.DiId,
|
|
- f.PriceName,f.Price,f.FilePath,f.CreateUserId,f.CreateTime,c.IsAuditGM
|
|
|
|
|
|
+ f.PriceName,f.PriceType,CAST(f.Price as varchar)+' '+s.[Name] as PriceStr,f.FilePath,f.CreateUserId,f.CreateTime,c.IsAuditGM
|
|
From Fin_GroupExtraCost f
|
|
From Fin_GroupExtraCost f
|
|
Inner Join Grp_CreditCardPayment c On f.Id = c.CId
|
|
Inner Join Grp_CreditCardPayment c On f.Id = c.CId
|
|
|
|
+ Inner Join Sys_SetData s On f.PriceCurrency = s.Id
|
|
Left Join Sys_Users u On f.CreateUserId = u.Id
|
|
Left Join Sys_Users u On f.CreateUserId = u.Id
|
|
Where f.IsDel=0 And c.CTable = 1015 {0}
|
|
Where f.IsDel=0 And c.CTable = 1015 {0}
|
|
) temp Where RowNumber Between {1} and {2}", sqlWhere, startIndex, endIndex);
|
|
) temp Where RowNumber Between {1} and {2}", sqlWhere, startIndex, endIndex);
|
|
@@ -2804,6 +2805,7 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
f.PriceName,f.PriceType,f.Price,f.FilePath,f.CreateUserId,f.CreateTime,c.IsAuditGM
|
|
f.PriceName,f.PriceType,f.Price,f.FilePath,f.CreateUserId,f.CreateTime,c.IsAuditGM
|
|
From Fin_GroupExtraCost f
|
|
From Fin_GroupExtraCost f
|
|
Inner Join Grp_CreditCardPayment c On f.Id = c.CId
|
|
Inner Join Grp_CreditCardPayment c On f.Id = c.CId
|
|
|
|
+ Inner Join Sys_SetData s On f.PriceCurrency = s.Id
|
|
Left Join Sys_Users u On f.CreateUserId = u.Id
|
|
Left Join Sys_Users u On f.CreateUserId = u.Id
|
|
Where f.IsDel=0 And c.CTable = 1015 {0}
|
|
Where f.IsDel=0 And c.CTable = 1015 {0}
|
|
) temp ", sqlWhere);
|
|
) temp ", sqlWhere);
|
|
@@ -2818,6 +2820,14 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
|
|
|
|
foreach (var item in dataList)
|
|
foreach (var item in dataList)
|
|
{
|
|
{
|
|
|
|
+ DateTime dtTemp_CreateTime;
|
|
|
|
+ bool b_ct = DateTime.TryParse(item.CreateTime, out dtTemp_CreateTime);
|
|
|
|
+ if (b_ct) {
|
|
|
|
+ item.CreateTime = dtTemp_CreateTime.ToString("yyyy-MM-dd HH:mm");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
//费用详细类型
|
|
//费用详细类型
|
|
if (dic_setData.ContainsKey(item.PriceType))
|
|
if (dic_setData.ContainsKey(item.PriceType))
|
|
{
|
|
{
|
|
@@ -2837,7 +2847,7 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
//系统用户
|
|
//系统用户
|
|
if (dic_user.ContainsKey(item.CreateUserId))
|
|
if (dic_user.ContainsKey(item.CreateUserId))
|
|
{
|
|
{
|
|
- item.CreateUserIdStr = dic_setData[item.CreateUserId];
|
|
|
|
|
|
+ item.CreateUserIdStr = dic_user[item.CreateUserId];
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
@@ -2845,7 +2855,7 @@ Where c.CTable = 1015 And c.IsPay = 1 And f.IsDel = 0 And c.IsDel = 0 And f.DiId
|
|
if (users != null)
|
|
if (users != null)
|
|
{
|
|
{
|
|
item.CreateUserIdStr = users.CnName;
|
|
item.CreateUserIdStr = users.CnName;
|
|
- dic_setData.Add(item.CreateUserId, users.CnName);
|
|
|
|
|
|
+ dic_user.Add(item.CreateUserId, users.CnName);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|