From 708c6fbdba6a21bd1eb9439971bfbe2621b5fe37 Mon Sep 17 00:00:00 2001 From: yujh Date: Fri, 21 Feb 2025 16:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85ext5,ext6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/pal/repository/dao/PALRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/dao/PALRepository.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/dao/PALRepository.java index 321413c6..28778734 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/dao/PALRepository.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/dao/PALRepository.java @@ -4470,7 +4470,7 @@ public class PALRepository extends DaoObject { */ 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) {