|
|
@@ -16525,7 +16525,6 @@ FROM
|
|
|
/// <param name="diId"></param>
|
|
|
/// <param name="currUserId"></param>
|
|
|
/// <returns></returns>
|
|
|
- /// <exception cref="CustomException"></exception>
|
|
|
private async Task<int> EnterExitCostVerifyIsNull(int diId, int currUserId)
|
|
|
{
|
|
|
var parentId = 0;
|
|
|
@@ -16540,7 +16539,7 @@ FROM
|
|
|
{
|
|
|
var currencys = await EnterExitCostMobileGetCurrencyInit();
|
|
|
int addId = await _sqlSugar.Insertable(new Grp_EnterExitCost() { DiId = diId, CreateUserId = currUserId, CurrencyRemark = JsonConvert.SerializeObject(currencys) }).ExecuteReturnIdentityAsync();
|
|
|
- if (addId < 1) throw new CustomException("出入境费用添加失败!");
|
|
|
+
|
|
|
parentId = addId;
|
|
|
}
|
|
|
|
|
|
@@ -18246,7 +18245,6 @@ FROM
|
|
|
/// <param name="draftId"></param>
|
|
|
/// <param name="currUserId"></param>
|
|
|
/// <returns></returns>
|
|
|
- /// <exception cref="CustomException"></exception>
|
|
|
private async Task<int> EnterExitCostDraftVerifyIsNull(int draftId, int currUserId)
|
|
|
{
|
|
|
var parentId = 0;
|
|
|
@@ -18257,7 +18255,7 @@ FROM
|
|
|
{
|
|
|
var currencys = await EnterExitCostDraftMobileGetCurrencyInit();
|
|
|
int addId = await _sqlSugar.Insertable(new Grp_EnterExitCostDraft() { CreateUserId = currUserId, CurrencyRemark = JsonConvert.SerializeObject(currencys) }).ExecuteReturnIdentityAsync();
|
|
|
- if (addId < 1) throw new CustomException("出入境费用添加失败!");
|
|
|
+
|
|
|
parentId = addId;
|
|
|
}
|
|
|
|