|
@@ -254,7 +254,7 @@ class NumofperAct {
|
|
|
// return $this->__numofperact->getOne(array('select' => 'sum(currdone) as totalplus', 'where' => 'stid=?', 'param' => array($stid), 'asArray' => TRUE));
|
|
|
// }
|
|
|
public function getCurrdoneSTID($stid) {
|
|
|
- return $this->__numofperact->getOne(array('select' => 'sum(currdone+currchangeval) as totalplus', 'where' => 'stid=?', 'param' => array($stid), 'asArray' => TRUE));
|
|
|
+ return $this->__numofperact->getOne(array('select' => 'sum(currdone) as totalplus', 'where' => 'stid=? and currstatus!=\'checkno\'', 'param' => array($stid), 'asArray' => TRUE));
|
|
|
}
|
|
|
|
|
|
public function getCurrDoneSMontht($stid) {
|