[修改] 草稿删除,删除业务数据
This commit is contained in:
@@ -54,4 +54,6 @@ public interface PowerApplyActDao extends BaseMapper<PowerApplyAct> {
|
||||
List<PowerApplyAct> selectActListBydataId(@Param("dataId")String dataId);
|
||||
|
||||
int batchDel(@Param("ids") List<String> ids);
|
||||
|
||||
boolean deleteByDataId(String dataId);
|
||||
}
|
||||
|
||||
@@ -47,4 +47,7 @@ public interface TtReportManageActDao extends BaseMapper<TtReportManageAct> {
|
||||
List<TtReportManageAct> selectByDataId(String dataId);
|
||||
|
||||
TtReportManageAct selectByPrcId(String prcId);
|
||||
|
||||
boolean deleteByDataId(String dataId);
|
||||
|
||||
}
|
||||
|
||||
@@ -67,6 +67,10 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</update>
|
||||
<update id="deleteByDataId">
|
||||
UPDATE power_apply_act set del_flag = 1
|
||||
where data_id = #{dataId}
|
||||
</update>
|
||||
|
||||
|
||||
<!-- 根据查询VO进行分页查询 -->
|
||||
|
||||
@@ -90,6 +90,10 @@
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
<update id="deleteByDataId">
|
||||
UPDATE <include refid="TableName"/> set del_flag = 1
|
||||
where data_id = #{dataId}
|
||||
</update>
|
||||
|
||||
<!-- 根据查询VO进行分页查询 -->
|
||||
<select id="selectPage" resultMap="BaseResultMap">
|
||||
|
||||
Reference in New Issue
Block a user