|
@@ -176,7 +176,6 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
public async Task<Result> _Info(PaymentRefundAndOtherMoneyInfoDto dto)
|
|
|
{
|
|
|
|
|
|
-
|
|
|
if (dto.PortType == 1 || dto.PortType == 2 || dto.PortType == 3) //1 Web 2 Android 3 Ios
|
|
|
{
|
|
|
string sql = string.Format(@"Select prom.Id,ccp.Id CcpId,prom.DiId,prom.PriceName,prom.Price,prom.CurrencyId,ccp.Payee,ccp.PayDId,
|
|
@@ -213,8 +212,6 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
/// <returns></returns>
|
|
|
public async Task<Result> _AddOrEdit(PaymentRefundAndOtherMoneyAddOrEditDto dto)
|
|
|
{
|
|
|
-
|
|
|
-
|
|
|
if (dto.PortType == 1 || dto.PortType == 2 || dto.PortType == 3) //1 Web 2 Android 3 Ios
|
|
|
{
|
|
|
#region 参数处理
|
|
@@ -274,7 +271,7 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
//Id = dto.CcpId,
|
|
|
//CId = dto.CcpId,
|
|
|
DIId = dto.DiId,
|
|
|
- CTable = 285,
|
|
|
+ CTable = 98,// 285 --> 98
|
|
|
PayDId = dto.PayDId,
|
|
|
ConsumptionPatterns = dto.ConsumptionPatterns,
|
|
|
ConsumptionDate = string.Empty,
|
|
@@ -338,7 +335,6 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
-
|
|
|
_sqlSugar.BeginTran();
|
|
|
|
|
|
var addReturnId = await _sqlSugar.Insertable(_PaymentRefundAndOtherMoney).ExecuteReturnIdentityAsync();
|