望穿秋水
管理&技术&业务 项目管理方面:加强通过工具辅助管理,构建Web项目管理系统来协助项目管理。技术开发方面:加强系统分析能力、架构设计能力,时刻把握新技术动态。业务方面:加强需求分析能力,使最终需求来源于客户又高于客户。

xml文件写法:

 

<insert id="InsertPurchaseEvaluations" parameterClass="PurchaseEvaluations">
            INSERT INTO PurchaseEvaluations(
            ApplyMoneyID,
            PurchaseID,
            PurchaseName,
            AddUserID,
            AddUserName,
            AddTime,
            AverageScoreValue,
            EvaluationRemark,
            PurchaseLevel,
            EvaluationType)
            VALUES(
            #ApplyMoneyID#,
            #PurchaseID#,
            #PurchaseName#,
            #AddUserID#,
            #AddUserName#,
            #AddTime#,
            #AverageScoreValue#,
            #EvaluationRemark#,
            #PurchaseLevel#,
            #EvaluationType#)
            <selectKey property="Id" resultClass="int" type="post">
            select @@Identity as Id
        </selectKey>
        </insert>

 

方法:

 

public int InsertPurchaseEvaluations(PurchaseEvaluations purchaseEvaluations)
        {
            mapper.Insert("InsertPurchaseEvaluations", purchaseEvaluations);
            return purchaseEvaluations.Id;
        }

 

posted on 2012-07-13 11:51  望穿秋水  阅读(4205)  评论(0编辑  收藏  举报