Browse Source

项目暂停接口开发

anderx 3 years ago
parent
commit
614593358a

+ 2 - 4
src/main/java/com/goafanti/common/mapper/TaskSoptMapper.xml

@@ -100,16 +100,14 @@
   <insert id="insertList">
     insert into task_sopt (`type`, `status`,tid, create_by,
     create_time)
-    values (#{type,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR},
-    #{createTime,jdbcType=TIMESTAMP})
     values
     <foreach item="item" collection="list" separator="," index="">
-      (#{item.type,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},#{tid,jdbcType=INTEGER},
+      (#{item.type,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},#{item.tid,jdbcType=INTEGER},
           #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP})
     </foreach>
   </insert>
 
-  <select id="selectByTid"  parameterType="java.lang.Long" resultMap="BaseResultMap">
+  <select id="selectByTid"  resultMap="BaseResultMap">
   select
   <include refid="Base_Column_List" />
   from task_sopt

+ 1 - 1
src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

@@ -1471,7 +1471,7 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 			}
 			TaskSopt taskSopt = new TaskSopt();
 			taskSopt.setTid(Integer.valueOf(s));
-			taskSopt.setStatus(0);
+			taskSopt.setType(0);
 			taskSopt.setStatus(0);
 			taskSopt.setCreateBy(adminId);
 			taskSopt.setCreateTime(date);