cfmgrv3 init...3

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-06-22 05:25:10 +09:00
parent a30cd4778c
commit 9ec1e20f7f

View File

@ -286,13 +286,12 @@ class CommonController extends BaseController
}
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 = "";
$uids = array();
try {
$uids = $this->request->getVar('batchjob_uids');
if (!is_array($uids) || count($uids) === 0) {
throw new \Exception($this->_viewDatas['title'] . '에서 변경할 항목(uid)이 선택되지 않았습니다.');
}
$this->batchjob_init();
foreach ($uids as $uid) {
$entity = $this->_model->getEntity($uid);