HOR-173-A "Information about cases in Home..." SOLVED
HOR-173-A-3018
This commit is contained in:
@@ -49,6 +49,7 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
||||
$data['DEL_CURRENT_USR_USERNAME'] = $aRow['USR_USERNAME'];
|
||||
$data['DEL_CURRENT_USR_FIRSTNAME'] = $aRow['USR_FIRSTNAME'];
|
||||
$data['DEL_CURRENT_USR_LASTNAME'] = $aRow['USR_LASTNAME'];
|
||||
$data['DEL_CURRENT_TAS_TITLE'] = $data['APP_TAS_TITLE'];
|
||||
|
||||
$users = new Users();
|
||||
$users->refreshTotal($data['USR_UID'], 'add', 'participated');
|
||||
@@ -147,6 +148,11 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
||||
$criteriaSet->add(ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME, $aRow['USR_USERNAME']);
|
||||
$criteriaSet->add(ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME, $aRow['USR_FIRSTNAME']);
|
||||
$criteriaSet->add(ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, $aRow['USR_LASTNAME']);
|
||||
|
||||
if (isset($data['APP_TAS_TITLE'])) {
|
||||
$criteriaSet->add(ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE, $data['APP_TAS_TITLE']);
|
||||
}
|
||||
|
||||
BasePeer::doUpdate($criteriaWhere, $criteriaSet, Propel::getConnection("workflow"));
|
||||
|
||||
}
|
||||
@@ -308,6 +314,7 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_DELEGATE_DATE);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_INIT_DATE);
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_DUE_DATE);
|
||||
|
||||
@@ -99,6 +99,8 @@ class ListParticipatedLastMapBuilder
|
||||
|
||||
$tMap->addColumn('DEL_CURRENT_USR_LASTNAME', 'DelCurrentUsrLastname', 'string', CreoleTypes::VARCHAR, false, 50);
|
||||
|
||||
$tMap->addColumn('DEL_CURRENT_TAS_TITLE', 'DelCurrentTasTitle', 'string', CreoleTypes::VARCHAR, true, 255);
|
||||
|
||||
$tMap->addColumn('DEL_DELEGATE_DATE', 'DelDelegateDate', 'int', CreoleTypes::TIMESTAMP, true, null);
|
||||
|
||||
$tMap->addColumn('DEL_INIT_DATE', 'DelInitDate', 'int', CreoleTypes::TIMESTAMP, false, null);
|
||||
|
||||
@@ -129,6 +129,12 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $del_current_usr_lastname = '';
|
||||
|
||||
/**
|
||||
* The value for the del_current_tas_title field.
|
||||
* @var string
|
||||
*/
|
||||
protected $del_current_tas_title = '';
|
||||
|
||||
/**
|
||||
* The value for the del_delegate_date field.
|
||||
* @var int
|
||||
@@ -360,6 +366,17 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
return $this->del_current_usr_lastname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [del_current_tas_title] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDelCurrentTasTitle()
|
||||
{
|
||||
|
||||
return $this->del_current_tas_title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [optionally formatted] [del_delegate_date] column value.
|
||||
*
|
||||
@@ -852,6 +869,28 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
|
||||
} // setDelCurrentUsrLastname()
|
||||
|
||||
/**
|
||||
* Set the value of [del_current_tas_title] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDelCurrentTasTitle($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->del_current_tas_title !== $v || $v === '') {
|
||||
$this->del_current_tas_title = $v;
|
||||
$this->modifiedColumns[] = ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE;
|
||||
}
|
||||
|
||||
} // setDelCurrentTasTitle()
|
||||
|
||||
/**
|
||||
* Set the value of [del_delegate_date] column.
|
||||
*
|
||||
@@ -1034,22 +1073,24 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
|
||||
$this->del_current_usr_lastname = $rs->getString($startcol + 16);
|
||||
|
||||
$this->del_delegate_date = $rs->getTimestamp($startcol + 17, null);
|
||||
$this->del_current_tas_title = $rs->getString($startcol + 17);
|
||||
|
||||
$this->del_init_date = $rs->getTimestamp($startcol + 18, null);
|
||||
$this->del_delegate_date = $rs->getTimestamp($startcol + 18, null);
|
||||
|
||||
$this->del_due_date = $rs->getTimestamp($startcol + 19, null);
|
||||
$this->del_init_date = $rs->getTimestamp($startcol + 19, null);
|
||||
|
||||
$this->del_priority = $rs->getString($startcol + 20);
|
||||
$this->del_due_date = $rs->getTimestamp($startcol + 20, null);
|
||||
|
||||
$this->del_thread_status = $rs->getString($startcol + 21);
|
||||
$this->del_priority = $rs->getString($startcol + 21);
|
||||
|
||||
$this->del_thread_status = $rs->getString($startcol + 22);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 22; // 22 = ListParticipatedLastPeer::NUM_COLUMNS - ListParticipatedLastPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 23; // 23 = ListParticipatedLastPeer::NUM_COLUMNS - ListParticipatedLastPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating ListParticipatedLast object", $e);
|
||||
@@ -1305,18 +1346,21 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
return $this->getDelCurrentUsrLastname();
|
||||
break;
|
||||
case 17:
|
||||
return $this->getDelDelegateDate();
|
||||
return $this->getDelCurrentTasTitle();
|
||||
break;
|
||||
case 18:
|
||||
return $this->getDelInitDate();
|
||||
return $this->getDelDelegateDate();
|
||||
break;
|
||||
case 19:
|
||||
return $this->getDelDueDate();
|
||||
return $this->getDelInitDate();
|
||||
break;
|
||||
case 20:
|
||||
return $this->getDelPriority();
|
||||
return $this->getDelDueDate();
|
||||
break;
|
||||
case 21:
|
||||
return $this->getDelPriority();
|
||||
break;
|
||||
case 22:
|
||||
return $this->getDelThreadStatus();
|
||||
break;
|
||||
default:
|
||||
@@ -1356,11 +1400,12 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
$keys[14] => $this->getDelCurrentUsrUsername(),
|
||||
$keys[15] => $this->getDelCurrentUsrFirstname(),
|
||||
$keys[16] => $this->getDelCurrentUsrLastname(),
|
||||
$keys[17] => $this->getDelDelegateDate(),
|
||||
$keys[18] => $this->getDelInitDate(),
|
||||
$keys[19] => $this->getDelDueDate(),
|
||||
$keys[20] => $this->getDelPriority(),
|
||||
$keys[21] => $this->getDelThreadStatus(),
|
||||
$keys[17] => $this->getDelCurrentTasTitle(),
|
||||
$keys[18] => $this->getDelDelegateDate(),
|
||||
$keys[19] => $this->getDelInitDate(),
|
||||
$keys[20] => $this->getDelDueDate(),
|
||||
$keys[21] => $this->getDelPriority(),
|
||||
$keys[22] => $this->getDelThreadStatus(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -1444,18 +1489,21 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
$this->setDelCurrentUsrLastname($value);
|
||||
break;
|
||||
case 17:
|
||||
$this->setDelDelegateDate($value);
|
||||
$this->setDelCurrentTasTitle($value);
|
||||
break;
|
||||
case 18:
|
||||
$this->setDelInitDate($value);
|
||||
$this->setDelDelegateDate($value);
|
||||
break;
|
||||
case 19:
|
||||
$this->setDelDueDate($value);
|
||||
$this->setDelInitDate($value);
|
||||
break;
|
||||
case 20:
|
||||
$this->setDelPriority($value);
|
||||
$this->setDelDueDate($value);
|
||||
break;
|
||||
case 21:
|
||||
$this->setDelPriority($value);
|
||||
break;
|
||||
case 22:
|
||||
$this->setDelThreadStatus($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -1550,23 +1598,27 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[17], $arr)) {
|
||||
$this->setDelDelegateDate($arr[$keys[17]]);
|
||||
$this->setDelCurrentTasTitle($arr[$keys[17]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[18], $arr)) {
|
||||
$this->setDelInitDate($arr[$keys[18]]);
|
||||
$this->setDelDelegateDate($arr[$keys[18]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[19], $arr)) {
|
||||
$this->setDelDueDate($arr[$keys[19]]);
|
||||
$this->setDelInitDate($arr[$keys[19]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[20], $arr)) {
|
||||
$this->setDelPriority($arr[$keys[20]]);
|
||||
$this->setDelDueDate($arr[$keys[20]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[21], $arr)) {
|
||||
$this->setDelThreadStatus($arr[$keys[21]]);
|
||||
$this->setDelPriority($arr[$keys[21]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[22], $arr)) {
|
||||
$this->setDelThreadStatus($arr[$keys[22]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1648,6 +1700,10 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
$criteria->add(ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, $this->del_current_usr_lastname);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE)) {
|
||||
$criteria->add(ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE, $this->del_current_tas_title);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(ListParticipatedLastPeer::DEL_DELEGATE_DATE)) {
|
||||
$criteria->add(ListParticipatedLastPeer::DEL_DELEGATE_DATE, $this->del_delegate_date);
|
||||
}
|
||||
@@ -1767,6 +1823,8 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setDelCurrentUsrLastname($this->del_current_usr_lastname);
|
||||
|
||||
$copyObj->setDelCurrentTasTitle($this->del_current_tas_title);
|
||||
|
||||
$copyObj->setDelDelegateDate($this->del_delegate_date);
|
||||
|
||||
$copyObj->setDelInitDate($this->del_init_date);
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseListParticipatedLastPeer
|
||||
const CLASS_DEFAULT = 'classes.model.ListParticipatedLast';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 22;
|
||||
const NUM_COLUMNS = 23;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -82,6 +82,9 @@ abstract class BaseListParticipatedLastPeer
|
||||
/** the column name for the DEL_CURRENT_USR_LASTNAME field */
|
||||
const DEL_CURRENT_USR_LASTNAME = 'LIST_PARTICIPATED_LAST.DEL_CURRENT_USR_LASTNAME';
|
||||
|
||||
/** the column name for the DEL_CURRENT_TAS_TITLE field */
|
||||
const DEL_CURRENT_TAS_TITLE = 'LIST_PARTICIPATED_LAST.DEL_CURRENT_TAS_TITLE';
|
||||
|
||||
/** the column name for the DEL_DELEGATE_DATE field */
|
||||
const DEL_DELEGATE_DATE = 'LIST_PARTICIPATED_LAST.DEL_DELEGATE_DATE';
|
||||
|
||||
@@ -108,10 +111,10 @@ abstract class BaseListParticipatedLastPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('AppUid', 'UsrUid', 'DelIndex', 'TasUid', 'ProUid', 'AppNumber', 'AppTitle', 'AppProTitle', 'AppTasTitle', 'AppStatus', 'DelPreviousUsrUid', 'DelPreviousUsrUsername', 'DelPreviousUsrFirstname', 'DelPreviousUsrLastname', 'DelCurrentUsrUsername', 'DelCurrentUsrFirstname', 'DelCurrentUsrLastname', 'DelDelegateDate', 'DelInitDate', 'DelDueDate', 'DelPriority', 'DelThreadStatus', ),
|
||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID, ListParticipatedLastPeer::USR_UID, ListParticipatedLastPeer::DEL_INDEX, ListParticipatedLastPeer::TAS_UID, ListParticipatedLastPeer::PRO_UID, ListParticipatedLastPeer::APP_NUMBER, ListParticipatedLastPeer::APP_TITLE, ListParticipatedLastPeer::APP_PRO_TITLE, ListParticipatedLastPeer::APP_TAS_TITLE, ListParticipatedLastPeer::APP_STATUS, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, ListParticipatedLastPeer::DEL_DELEGATE_DATE, ListParticipatedLastPeer::DEL_INIT_DATE, ListParticipatedLastPeer::DEL_DUE_DATE, ListParticipatedLastPeer::DEL_PRIORITY, ListParticipatedLastPeer::DEL_THREAD_STATUS, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'USR_UID', 'DEL_INDEX', 'TAS_UID', 'PRO_UID', 'APP_NUMBER', 'APP_TITLE', 'APP_PRO_TITLE', 'APP_TAS_TITLE', 'APP_STATUS', 'DEL_PREVIOUS_USR_UID', 'DEL_PREVIOUS_USR_USERNAME', 'DEL_PREVIOUS_USR_FIRSTNAME', 'DEL_PREVIOUS_USR_LASTNAME', 'DEL_CURRENT_USR_USERNAME', 'DEL_CURRENT_USR_FIRSTNAME', 'DEL_CURRENT_USR_LASTNAME', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_DUE_DATE', 'DEL_PRIORITY', 'DEL_THREAD_STATUS', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
||||
BasePeer::TYPE_PHPNAME => array ('AppUid', 'UsrUid', 'DelIndex', 'TasUid', 'ProUid', 'AppNumber', 'AppTitle', 'AppProTitle', 'AppTasTitle', 'AppStatus', 'DelPreviousUsrUid', 'DelPreviousUsrUsername', 'DelPreviousUsrFirstname', 'DelPreviousUsrLastname', 'DelCurrentUsrUsername', 'DelCurrentUsrFirstname', 'DelCurrentUsrLastname', 'DelCurrentTasTitle', 'DelDelegateDate', 'DelInitDate', 'DelDueDate', 'DelPriority', 'DelThreadStatus', ),
|
||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID, ListParticipatedLastPeer::USR_UID, ListParticipatedLastPeer::DEL_INDEX, ListParticipatedLastPeer::TAS_UID, ListParticipatedLastPeer::PRO_UID, ListParticipatedLastPeer::APP_NUMBER, ListParticipatedLastPeer::APP_TITLE, ListParticipatedLastPeer::APP_PRO_TITLE, ListParticipatedLastPeer::APP_TAS_TITLE, ListParticipatedLastPeer::APP_STATUS, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME, ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE, ListParticipatedLastPeer::DEL_DELEGATE_DATE, ListParticipatedLastPeer::DEL_INIT_DATE, ListParticipatedLastPeer::DEL_DUE_DATE, ListParticipatedLastPeer::DEL_PRIORITY, ListParticipatedLastPeer::DEL_THREAD_STATUS, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'USR_UID', 'DEL_INDEX', 'TAS_UID', 'PRO_UID', 'APP_NUMBER', 'APP_TITLE', 'APP_PRO_TITLE', 'APP_TAS_TITLE', 'APP_STATUS', 'DEL_PREVIOUS_USR_UID', 'DEL_PREVIOUS_USR_USERNAME', 'DEL_PREVIOUS_USR_FIRSTNAME', 'DEL_PREVIOUS_USR_LASTNAME', 'DEL_CURRENT_USR_USERNAME', 'DEL_CURRENT_USR_FIRSTNAME', 'DEL_CURRENT_USR_LASTNAME', 'DEL_CURRENT_TAS_TITLE', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_DUE_DATE', 'DEL_PRIORITY', 'DEL_THREAD_STATUS', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -121,10 +124,10 @@ abstract class BaseListParticipatedLastPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'UsrUid' => 1, 'DelIndex' => 2, 'TasUid' => 3, 'ProUid' => 4, 'AppNumber' => 5, 'AppTitle' => 6, 'AppProTitle' => 7, 'AppTasTitle' => 8, 'AppStatus' => 9, 'DelPreviousUsrUid' => 10, 'DelPreviousUsrUsername' => 11, 'DelPreviousUsrFirstname' => 12, 'DelPreviousUsrLastname' => 13, 'DelCurrentUsrUsername' => 14, 'DelCurrentUsrFirstname' => 15, 'DelCurrentUsrLastname' => 16, 'DelDelegateDate' => 17, 'DelInitDate' => 18, 'DelDueDate' => 19, 'DelPriority' => 20, 'DelThreadStatus' => 21, ),
|
||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID => 0, ListParticipatedLastPeer::USR_UID => 1, ListParticipatedLastPeer::DEL_INDEX => 2, ListParticipatedLastPeer::TAS_UID => 3, ListParticipatedLastPeer::PRO_UID => 4, ListParticipatedLastPeer::APP_NUMBER => 5, ListParticipatedLastPeer::APP_TITLE => 6, ListParticipatedLastPeer::APP_PRO_TITLE => 7, ListParticipatedLastPeer::APP_TAS_TITLE => 8, ListParticipatedLastPeer::APP_STATUS => 9, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID => 10, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME => 11, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME => 12, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME => 13, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME => 14, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME => 15, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME => 16, ListParticipatedLastPeer::DEL_DELEGATE_DATE => 17, ListParticipatedLastPeer::DEL_INIT_DATE => 18, ListParticipatedLastPeer::DEL_DUE_DATE => 19, ListParticipatedLastPeer::DEL_PRIORITY => 20, ListParticipatedLastPeer::DEL_THREAD_STATUS => 21, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'USR_UID' => 1, 'DEL_INDEX' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_TITLE' => 6, 'APP_PRO_TITLE' => 7, 'APP_TAS_TITLE' => 8, 'APP_STATUS' => 9, 'DEL_PREVIOUS_USR_UID' => 10, 'DEL_PREVIOUS_USR_USERNAME' => 11, 'DEL_PREVIOUS_USR_FIRSTNAME' => 12, 'DEL_PREVIOUS_USR_LASTNAME' => 13, 'DEL_CURRENT_USR_USERNAME' => 14, 'DEL_CURRENT_USR_FIRSTNAME' => 15, 'DEL_CURRENT_USR_LASTNAME' => 16, 'DEL_DELEGATE_DATE' => 17, 'DEL_INIT_DATE' => 18, 'DEL_DUE_DATE' => 19, 'DEL_PRIORITY' => 20, 'DEL_THREAD_STATUS' => 21, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
|
||||
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'UsrUid' => 1, 'DelIndex' => 2, 'TasUid' => 3, 'ProUid' => 4, 'AppNumber' => 5, 'AppTitle' => 6, 'AppProTitle' => 7, 'AppTasTitle' => 8, 'AppStatus' => 9, 'DelPreviousUsrUid' => 10, 'DelPreviousUsrUsername' => 11, 'DelPreviousUsrFirstname' => 12, 'DelPreviousUsrLastname' => 13, 'DelCurrentUsrUsername' => 14, 'DelCurrentUsrFirstname' => 15, 'DelCurrentUsrLastname' => 16, 'DelCurrentTasTitle' => 17, 'DelDelegateDate' => 18, 'DelInitDate' => 19, 'DelDueDate' => 20, 'DelPriority' => 21, 'DelThreadStatus' => 22, ),
|
||||
BasePeer::TYPE_COLNAME => array (ListParticipatedLastPeer::APP_UID => 0, ListParticipatedLastPeer::USR_UID => 1, ListParticipatedLastPeer::DEL_INDEX => 2, ListParticipatedLastPeer::TAS_UID => 3, ListParticipatedLastPeer::PRO_UID => 4, ListParticipatedLastPeer::APP_NUMBER => 5, ListParticipatedLastPeer::APP_TITLE => 6, ListParticipatedLastPeer::APP_PRO_TITLE => 7, ListParticipatedLastPeer::APP_TAS_TITLE => 8, ListParticipatedLastPeer::APP_STATUS => 9, ListParticipatedLastPeer::DEL_PREVIOUS_USR_UID => 10, ListParticipatedLastPeer::DEL_PREVIOUS_USR_USERNAME => 11, ListParticipatedLastPeer::DEL_PREVIOUS_USR_FIRSTNAME => 12, ListParticipatedLastPeer::DEL_PREVIOUS_USR_LASTNAME => 13, ListParticipatedLastPeer::DEL_CURRENT_USR_USERNAME => 14, ListParticipatedLastPeer::DEL_CURRENT_USR_FIRSTNAME => 15, ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME => 16, ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE => 17, ListParticipatedLastPeer::DEL_DELEGATE_DATE => 18, ListParticipatedLastPeer::DEL_INIT_DATE => 19, ListParticipatedLastPeer::DEL_DUE_DATE => 20, ListParticipatedLastPeer::DEL_PRIORITY => 21, ListParticipatedLastPeer::DEL_THREAD_STATUS => 22, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'USR_UID' => 1, 'DEL_INDEX' => 2, 'TAS_UID' => 3, 'PRO_UID' => 4, 'APP_NUMBER' => 5, 'APP_TITLE' => 6, 'APP_PRO_TITLE' => 7, 'APP_TAS_TITLE' => 8, 'APP_STATUS' => 9, 'DEL_PREVIOUS_USR_UID' => 10, 'DEL_PREVIOUS_USR_USERNAME' => 11, 'DEL_PREVIOUS_USR_FIRSTNAME' => 12, 'DEL_PREVIOUS_USR_LASTNAME' => 13, 'DEL_CURRENT_USR_USERNAME' => 14, 'DEL_CURRENT_USR_FIRSTNAME' => 15, 'DEL_CURRENT_USR_LASTNAME' => 16, 'DEL_CURRENT_TAS_TITLE' => 17, 'DEL_DELEGATE_DATE' => 18, 'DEL_INIT_DATE' => 19, 'DEL_DUE_DATE' => 20, 'DEL_PRIORITY' => 21, 'DEL_THREAD_STATUS' => 22, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -259,6 +262,8 @@ abstract class BaseListParticipatedLastPeer
|
||||
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_USR_LASTNAME);
|
||||
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_CURRENT_TAS_TITLE);
|
||||
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_DELEGATE_DATE);
|
||||
|
||||
$criteria->addSelectColumn(ListParticipatedLastPeer::DEL_INIT_DATE);
|
||||
|
||||
@@ -4107,6 +4107,7 @@
|
||||
<column name="DEL_CURRENT_USR_USERNAME" type="VARCHAR" size="100" default=""/>
|
||||
<column name="DEL_CURRENT_USR_FIRSTNAME" type="VARCHAR" size="50" default=""/>
|
||||
<column name="DEL_CURRENT_USR_LASTNAME" type="VARCHAR" size="50" default=""/>
|
||||
<column name="DEL_CURRENT_TAS_TITLE" type="VARCHAR" size="255" required="true" default=""/>
|
||||
<column name="DEL_DELEGATE_DATE" type="TIMESTAMP" required="true"/>
|
||||
<column name="DEL_INIT_DATE" type="TIMESTAMP" required="false"/>
|
||||
<column name="DEL_DUE_DATE" type="TIMESTAMP" required="false"/>
|
||||
|
||||
@@ -2319,6 +2319,7 @@ CREATE TABLE `LIST_PARTICIPATED_LAST`
|
||||
`DEL_CURRENT_USR_USERNAME` VARCHAR(100) default '',
|
||||
`DEL_CURRENT_USR_FIRSTNAME` VARCHAR(50) default '',
|
||||
`DEL_CURRENT_USR_LASTNAME` VARCHAR(50) default '',
|
||||
`DEL_CURRENT_TAS_TITLE` VARCHAR(255) default '' NOT NULL,)
|
||||
`DEL_DELEGATE_DATE` DATETIME NOT NULL,
|
||||
`DEL_INIT_DATE` DATETIME,
|
||||
`DEL_DUE_DATE` DATETIME,
|
||||
|
||||
@@ -153,6 +153,10 @@ try {
|
||||
$record["APP_UPDATE_DATE"] = $record["DEL_DELEGATE_DATE"];
|
||||
}
|
||||
|
||||
if (isset($record['DEL_CURRENT_TAS_TITLE'])) {
|
||||
$record['APP_TAS_TITLE'] = $record['DEL_CURRENT_TAS_TITLE'];
|
||||
}
|
||||
|
||||
if (isset($record["APP_STATUS"])) {
|
||||
$record["APP_STATUS_LABEL"] = G::LoadTranslation("ID_" . $record["APP_STATUS"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user