cfmgrv3 init...3
This commit is contained in:
parent
a30cd4778c
commit
9ec1e20f7f
@ -286,13 +286,12 @@ class CommonController extends BaseController
|
|||||||
}
|
}
|
||||||
protected function batchjob_procedure()
|
protected function batchjob_procedure()
|
||||||
{
|
{
|
||||||
|
$uids = $this->request->getVar('batchjob_uids');
|
||||||
|
if (!is_array($uids) || count($uids) === 0) {
|
||||||
|
alert_CommonHelper($this->_viewDatas['title'] . '에서 변경할 항목(uid)이 선택되지 않았습니다.', 'back');
|
||||||
|
}
|
||||||
$message = "";
|
$message = "";
|
||||||
$uids = array();
|
|
||||||
try {
|
try {
|
||||||
$uids = $this->request->getVar('batchjob_uids');
|
|
||||||
if (!is_array($uids) || count($uids) === 0) {
|
|
||||||
throw new \Exception($this->_viewDatas['title'] . '에서 변경할 항목(uid)이 선택되지 않았습니다.');
|
|
||||||
}
|
|
||||||
$this->batchjob_init();
|
$this->batchjob_init();
|
||||||
foreach ($uids as $uid) {
|
foreach ($uids as $uid) {
|
||||||
$entity = $this->_model->getEntity($uid);
|
$entity = $this->_model->getEntity($uid);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user