debug
This commit is contained in:
@@ -22,10 +22,8 @@ class PersonalAccountCostLogic extends BaseLogic
|
||||
return false;
|
||||
}
|
||||
|
||||
$conflict = self::findCostConflict($costDate, $mediaSource);
|
||||
if ($conflict['conflict']) {
|
||||
$by = $conflict['creator_name'] !== '' ? '(录入人:' . $conflict['creator_name'] . ')' : '';
|
||||
self::setError('该日期下该渠道的账户消耗已存在' . $by . ',请直接编辑该记录,避免重复汇总');
|
||||
if (self::isCostDuplicate($adminId, $costDate, $mediaSource)) {
|
||||
self::setError('您在该日期下已录入过该渠道的账户消耗,请直接编辑');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user