|
|
@ -44,7 +44,7 @@ namespace DS.WMS.Core.Fee.Method
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (req.Id == 0)
|
|
|
|
if (req.Id == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (TenantDb.Queryable<FeeCustTemplateDetail>().Where(x => x.FeeId == req.FeeId && x.FeeType == req.FeeType).Any())
|
|
|
|
if (TenantDb.Queryable<FeeCustTemplateDetail>().Where(x => x.FeeId == req.FeeId && x.TemplateId == req.TemplateId).Any())
|
|
|
|
return DataResult.Failed("往来单位固定费用已存在!", MultiLanguageConst.FeeCustTemplateDetailExist);
|
|
|
|
return DataResult.Failed("往来单位固定费用已存在!", MultiLanguageConst.FeeCustTemplateDetailExist);
|
|
|
|
|
|
|
|
|
|
|
|
var data = req.Adapt<FeeCustTemplateDetail>();
|
|
|
|
var data = req.Adapt<FeeCustTemplateDetail>();
|
|
|
|