|
@@ -1,9 +1,6 @@
|
|
|
package cn.seecoder.web.dao.bug_list;
|
|
package cn.seecoder.web.dao.bug_list;
|
|
|
|
|
|
|
|
-import org.apache.ibatis.annotations.InsertProvider;
|
|
|
|
|
-import org.apache.ibatis.annotations.Options;
|
|
|
|
|
-import org.apache.ibatis.annotations.Select;
|
|
|
|
|
-import org.apache.ibatis.annotations.UpdateProvider;
|
|
|
|
|
|
|
+import org.apache.ibatis.annotations.*;
|
|
|
import org.springframework.stereotype.Repository;
|
|
import org.springframework.stereotype.Repository;
|
|
|
import cn.seecoder.web.dao.provider.GeneralInsertUpdateSqlProvider;
|
|
import cn.seecoder.web.dao.provider.GeneralInsertUpdateSqlProvider;
|
|
|
import cn.seecoder.web.model.po.bug_list.BugListPO;
|
|
import cn.seecoder.web.model.po.bug_list.BugListPO;
|
|
@@ -25,6 +22,9 @@ public interface BugListMapper {
|
|
|
@UpdateProvider(type= GeneralInsertUpdateSqlProvider.class, method="updateById")
|
|
@UpdateProvider(type= GeneralInsertUpdateSqlProvider.class, method="updateById")
|
|
|
int update(BugListPO bugListPO);
|
|
int update(BugListPO bugListPO);
|
|
|
|
|
|
|
|
|
|
+ @Update("update bug_list set end_time = null where id = #{id}")
|
|
|
|
|
+ int setEndTimeNull(int id);
|
|
|
|
|
+
|
|
|
@Select("select * from bug_list where project_id = #{projectId}")
|
|
@Select("select * from bug_list where project_id = #{projectId}")
|
|
|
List<BugListPO> selectByProjectId(int projectId);
|
|
List<BugListPO> selectByProjectId(int projectId);
|
|
|
}
|
|
}
|