|
@@ -7,6 +7,7 @@ import com.community.huiju.model.TpTicket;
|
7
|
7
|
import com.community.huiju.model.TpTransaction;
|
8
|
8
|
import com.community.huiju.model.TransactionReport;
|
9
|
9
|
import org.apache.ibatis.annotations.Param;
|
|
10
|
+import org.apache.ibatis.annotations.Update;
|
10
|
11
|
|
11
|
12
|
import java.util.List;
|
12
|
13
|
|
|
@@ -23,4 +24,11 @@ public interface TpTransactionMapper extends BaseMapper<TpTransaction> {
|
23
|
24
|
List<TpTransaction> selectListByParams(Page page, @Param("transactionTitle") String transactionTitle,@Param("userName") String userName, @Param("id")Integer id, @Param("status")String status,@Param("communityId") Integer communityId);
|
24
|
25
|
|
25
|
26
|
|
|
27
|
+ /**
|
|
28
|
+ * 作废话题
|
|
29
|
+ * @param uuid
|
|
30
|
+ * @param uuidType
|
|
31
|
+ */
|
|
32
|
+ @Update("update tp_transaction set status = 0 where uuid = #{uuid} and uuid_type = #{uuidType}")
|
|
33
|
+ void invalidByUuidAndUuidType(@Param("uuid") Integer uuid, @Param("uuidType") String uuidType);
|
26
|
34
|
}
|