补充ext5,ext6
This commit is contained in:
parent
bf07f23f9b
commit
708c6fbdba
@ -4470,7 +4470,7 @@ public class PALRepository extends DaoObject<PALRepositoryModel> {
|
||||
*/
|
||||
public int updateRepositoryExtAll(String uuid, String ext1, String ext2, String ext3, String ext4,String ext5,String ext6) {
|
||||
PALRepositoryModelImpl plModel = (PALRepositoryModelImpl) PALRepositoryCache.getCache().get(uuid);
|
||||
String sql = "UPDATE " + PALRepositoryModelImpl.DATABASE_ENTITY + " set " + PALRepositoryModelImpl.FIELD_PL_EXT1 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT2 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT3 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT4 + "=? WHERE " + PALRepositoryModelImpl.FIELD_UUID + "=?";
|
||||
String sql = "UPDATE " + PALRepositoryModelImpl.DATABASE_ENTITY + " set " + PALRepositoryModelImpl.FIELD_PL_EXT1 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT2 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT3 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT4 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT5 + "=?," + PALRepositoryModelImpl.FIELD_PL_EXT6 + "=? WHERE " + PALRepositoryModelImpl.FIELD_UUID + "=?";
|
||||
Object[] args = {ext1 == null ? "" : ext1, ext2 == null ? "" : ext2, ext3 == null ? "" : ext3, ext4 == null ? "" : ext4,ext5 == null ? "" : ext5,ext6 == null ? "" : ext6, uuid};
|
||||
int r = DBSql.update(sql, args);
|
||||
if (r > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user