首页 新闻 会员 周边

求大神,帮忙解决一下。。。急急急急Source not found for BaseManager$$FastClassByCGLIB$$177621aa.invok

0
悬赏园豆:20 [已关闭问题] 关闭于 2015-08-04 11:07

ssi   在执行ibatis update 出现错误。。。这是调试出来的。。。控制台并没有报错。。。

Action 代码

    public String update() throws Exception {
         rId=this.getRequest().getParameter("relId");
         lUser=this.getRequest().getParameter("changeId");//当前负责人
         relUser=this.getRequest().getParameter("relation");//关系方用户id
         buyId=this.getRequest().getParameter("uorg");//关系方机构id
         sellId=this.getRequest().getParameter("org");//当前负责人机构id
         Long rrId = Long.parseLong(rId); 
         entity=changeManManager.findById(entity.getRelId());
         Long lluser = Long.parseLong(lUser); 
        // buyId=entity.getLaunOrg();//最为邀请方机构ID
         //sellId=entity.getReceOrg();//作为关系方机构ID
         try {
             Map mapp =new HashMap(); 
             mapp.put("typeIds",typeIds);
             mapp.put("lUser",lUser);
             mapp.put("relUser",relUser);
             mapp.put("buyId",buyId);
             mapp.put("sellId",sellId);
             // map.put("sellId",sellId);
             changeManManager.updateBySql("SLSQL.goodsPrice", mapp);//更新定价表,定价人信息
             changeManManager.updateBySql("SLSQL.goodsPrices", mapp);//更新定价表,定价人信息
        } catch (Exception e) {
            e.printStackTrace();
        }
        // changeManManager.updateBySql("SLSQL.goodsPrices", map);
         if (entity.getLaunUser().equals(lluser)) {
             try {
                 Map map =new HashMap(); 
                 map.put("typeIds",typeIds);
                 map.put("rrId",rrId);
                 changeManManager.updateBySql("SLSQL.changeMan", map);
                // changeManManager.updateBySql("SLSQL.goodsPrice", null);//更新定价表,定价人信息
                  setIsSuc("true");
                  findUser();
            } catch (Exception e) {
                 setIsSuc("false");
                 findUser();
                e.printStackTrace();
            }
            
        }
         if(entity.getReceUser().equals(lluser)) {
             try {
                 Map map =new HashMap();
                 map.put("typeIds",typeIds);
                 map.put("rrId",rrId);
                 changeManManager.updateBySql("SLSQL.changeReceMan", map);
                  setIsSuc("true");
                  findUser();
            } catch (Exception e) {
                setIsSuc("false");
                e.printStackTrace();
                 findUser();
            }
            
        }
        return SUCCESS;
          
     }
BaseManager  底层方法


 /**
     * @描述: 执行ibatis更新
     * @作者: caosongqing
     * @日期:2012-2-28
     * 
     * @param sql ibatis SQL
     * @param condition 查询条件
     */
    @SuppressWarnings("unchecked")
    public int updateBySql(final String sql, final Map condition) {
        return (Integer)sqlDao.getSqlMapClientTemplate().execute(new SqlMapClientCallback() {    
            public Object doInSqlMapClient(SqlMapExecutor executor) throws
                SQLException {                    
                return executor.update(sql, condition);
            }
        });
    }
sql  文件


<!-- 目的:变更关系   @作者:WG   TIME:2015-07-06 -->
    <update id="changeMan"  parameterClass="java.util.Map">
     UPDATE T_BD_REL SET LAUN_USER=#typeIds#  WHERE  REL_ID=#rrId#
    </update>
    <!-- 目的:变更关系   @作者:WG   TIME:2015-07-06 -->
    <update id="changeReceMan"  parameterClass="java.util.Map">
     UPDATE T_BD_REL SET RECE_USER=#typeIds# WHERE REL_ID=#rrId#
    </update>
    
<!--  目的:变更定价表负责人信息   @作者:WG   TIME:2015-07-06 -->
    <update id="goodsPrice"  parameterClass="java.util.Map">
     UPDATE T_BD_GOODS_PRICE SET SELLER_USERID=#typeIds#     <!-- 新负责人 -->
            WHERE SELLER_USERID=#lluser#                     <!--当前负责人-->
                 AND SELLER_ORGID=#sellId#                   <!-- 我方机构id -->
                 AND BUYER_USERID=#relation#                 <!--关系方用户id  -->
                 AND BUYER_ORGID=#buyId#                     <!--关系方机构id  -->
    </update>
    <!--目的:变更定价表负责人信息  @作者:WG   TIME:2015-07-06 -->
    <update id="goodsPrices"  parameterClass="java.util.Map">
      UPDATE T_BD_GOODS_PRICE SET BUYER_USERID=#typeIds#    <!-- 新负责人 -->
            WHERE BUYER_USERID=#lluser#                     <!--当前负责人-->
                 AND BUYER_ORGID=#buyId#                    <!-- 我方机构id -->
                 AND SELLER_USERID=#relation#               <!--关系方用户id  -->
                 AND SELLER_ORGID=#sellId#                  <!--关系方机构id  -->
    </update> 

希望开发高手的您,,给一些指导。。。我深表感谢。。。。。。。

问题补充:

Action 没有代码执行完,没有返回结果。。debug 停了,,不在往下执行。。页面上一直在请求、。。。。。。。怎么干,怎么干。。。怎么干,,怎么干。。。

Vip灬cnblog的主页 Vip灬cnblog | 初学一级 | 园豆:133
提问于:2015-08-03 16:51
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册