修改表名
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');
|
$pid = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $id)->value('id');
|
||||||
|
|
||||||
if (!empty($pid)) {
|
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{
|
}else{
|
||||||
$pid = true;
|
$pid = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user