标签:shc eid 用户 ati OLE net map 通过 XMAPP
https://www.cnblogs.com/liouwei4083/p/6025929.html
public int update(MappedStatement ms, Object parameter) throws SQLException {
ErrorContext.instance().resource(ms.getResource()).activity("executing an update").object(ms.getId());
if (closed) throw new ExecutorException("Executor was closed.");
//清理缓存
clearLocalCache();
return doUpdate(ms, parameter);
}
public int update(MappedStatement ms, Object parameterObject) throws SQLException {
//清理缓存,并且!isselect语句的flushcache都是默认为true的。
flushCacheIfRequired(ms);
return delegate.update(ms, parameterObject);
}
<select id="selectUserRoles" resultType="UserRoleVO">
select * from user_role a,role b where a.roleid = b.roleid and a.userid = #{userid}
</select>
标签:shc eid 用户 ati OLE net map 通过 XMAPP
原文地址:https://www.cnblogs.com/KingIceMou/p/9389872.html