补充提交.
This commit is contained in:
@@ -45,4 +45,6 @@ public interface CommonPolicyDao {
|
||||
public void deleteCfgBatch(@Param("tableName")String tableName,
|
||||
@Param("entity")BaseCfg entity,
|
||||
@Param("compileIds")List compileIds);
|
||||
|
||||
public void clearPolicies(@Param("tableName")String tableName);
|
||||
}
|
||||
|
||||
@@ -1042,4 +1042,10 @@
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<update id="clearPolicies" parameterType="java.lang.String">
|
||||
UPDATE ${tableName}
|
||||
SET is_valid = -1, is_audit = 0
|
||||
WHERE is_valid != -1
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user