|
|
@@ -327,13 +327,13 @@ class PullCalcBonusData extends BaseBusiness
|
|
|
if (isset($info['condition_type']) && $info['condition_type'] == 'id' && isset($info['param_name'])) {
|
|
|
$param = $info['param_name'];
|
|
|
$res = self::pageDeleteAll($info['table'], $info['condition_field'] . '=' . $this->$param);
|
|
|
- CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当-期数据");
|
|
|
+ CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当期数据");
|
|
|
} else if (isset($info['condition_type']) && $info['condition_type'] == 'custom' && $info['condition'] == 'group') {
|
|
|
$res = self::pageDeleteAll($info['table'], "CALC_MONTH = $this->_calcMonth and CALC_YEAR=$this->_calcYear");
|
|
|
- CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当-月数据");
|
|
|
+ CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当月数据");
|
|
|
} else {
|
|
|
$res = self::pageDeleteAll($info['table'], 'PERIOD_NUM=' . $this->_periodNum);
|
|
|
- CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当-期数据");
|
|
|
+ CalcRecord::record($this->_periodNum, "【奖金计算】业务系统,".$info['table']."表,已清除当期数据");
|
|
|
}
|
|
|
|
|
|
if (!$res) {
|