补充提交.
This commit is contained in:
@@ -30,7 +30,4 @@ public interface SysOfficeDao extends TreeDao<SysOffice> {
|
||||
|
||||
List<SysOffice> selectOfficeForLetter(Map<String, Object> hmap);
|
||||
|
||||
void clearPolicies(@Param("tableName")String tableName);
|
||||
|
||||
|
||||
}
|
||||
@@ -327,10 +327,4 @@
|
||||
<if test="dbName == 'mysql'">CONCAT('%,', #{id}, ',%')</if>
|
||||
</update>
|
||||
|
||||
<update id="clearPolicies" parameterType="java.lang.String">
|
||||
UPDATE ${tableName}
|
||||
SET is_valid = -1, is_audit = 0
|
||||
WHERE is_valid != -1
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
@@ -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