修改表名
This commit is contained in:
parent
46c9611d48
commit
b7b2353591
@ -178,7 +178,7 @@ class PublicBenefitEnroll extends ArticleCommon{
|
||||
$pid = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $id)->value('id');
|
||||
|
||||
if (!empty($pid)) {
|
||||
$res2 = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $pid)->delete();
|
||||
$pid = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $pid)->delete();
|
||||
}else{
|
||||
$pid = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user