日期:2014-05-16 浏览次数:20467 次
<insert id="save" parameterType="cn.nec.po.ApplicationPO" useGeneratedKeys="true" keyProperty="id" > INSERT INTO T_Application (dining_type_id, applicant_id, apply_date, apply_remarks, approver_id, state_flag, create_date, del_flag ) VALUES (#{diningTypeId}, #{applicantId}, #{applyDate}, #{applyRemarks}, #{approverId}, 0, getDate(), 0) </insert>
### 数据库配置 ### jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver jdbc.url=jdbc:jtds:sqlserver://172.28.76.18:1433;DatabaseName=otma jdbc.username=******** jdbc.password=********