修改方法名

master
wj 2 years ago
parent 009d0f0a39
commit 39460ce3da

@ -24,7 +24,7 @@ public interface SystemParamConfigDao extends BaseMapperPlus<SystemParamConfigDa
String selectValueByParamKey(String key);
boolean updateById(SysParamConfigSaveRequest sysParamConfigSaveRequest);
boolean updateEntityById(SysParamConfigSaveRequest sysParamConfigSaveRequest);
boolean updateParentId(SysParamConfigSaveRequest sysParamConfigSaveRequest);

@ -72,7 +72,7 @@ public class SystemParamConfigServiceImpl extends ServiceImpl<SystemParamConfigD
@Override
public boolean updateById(SysParamConfigSaveRequest sysParamConfigSaveRequest) {
sysParamConfigSaveRequest.setUpdateTime(new Date());
return systemParamConfigDao.updateById(sysParamConfigSaveRequest);
return systemParamConfigDao.updateEntityById(sysParamConfigSaveRequest);
}
@Override

@ -43,7 +43,7 @@
WHERE paramKey = #{paramKey}
</select>
<update id="updateById" parameterType="com.glxp.api.entity.system.SystemParamConfigEntity">
<update id="updateEntityById" parameterType="com.glxp.api.entity.system.SystemParamConfigEntity">
UPDATE sys_param_config
<set>
<if test="paramName != null">paramName=#{paramName},</if>

Loading…
Cancel
Save