Ignore:
Timestamp:
2010/12/16 23:29:12 (12 years ago)
Author:
Seasoft
Message:

#855(SC_Query の #select, #getRow, #getCol, #get, #min, #max の引数順を統一する)

  • SC_Query#max を改訂
  • SC_Query#min を改訂
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/db/SC_DB_MasterData.php

    r18701 r19732  
    181181         
    182182        // 指定のデータを追加 
    183         $sqlVal[$columns[0]] = $key;             
     183        $sqlVal[$columns[0]] = $key; 
    184184        $sqlVal[$columns[1]] = $value; 
    185         $sqlVal[$columns[2]] = $this->objQuery->max($name, $columns[2]) + 1;         
     185        $sqlVal[$columns[2]] = $this->objQuery->max($columns[2], $name) + 1; 
    186186        $sqlVal[$columns[3]] = $comment; 
    187187        $this->objQuery->insert($name, $sqlVal); 
Note: See TracChangeset for help on using the changeset viewer.