浏览代码

项目管理

suntianwu 2 年之前
父节点
当前提交
da483fc273
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

+ 2 - 2
purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

@@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         where demand_id = #{demandId}
     </select>
         
-    <insert id="insertPmDemand" parameterType="PmDemand" useGeneratedKeys="true" keyProperty="demandId">
+    <insert id="insertPmDemand" parameterType="com.ozs.pm.doman.PmDemand" useGeneratedKeys="true" keyProperty="demandId">
         insert into pm_demand
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="planId != null">plan_id,</if>
@@ -148,7 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
          </trim>
     </insert>
 
-    <update id="updatePmDemand" parameterType="PmDemand">
+    <update id="updatePmDemand" parameterType="com.ozs.pm.doman.PmDemand">
         update pm_demand
         <trim prefix="SET" suffixOverrides=",">
             <if test="planId != null">plan_id = #{planId},</if>