标签内容修改
This commit is contained in:
+1
-1
@@ -36,6 +36,6 @@ public interface SysCategoryMapper extends BaseMapper<SysCategory> {
|
|||||||
* @param delFlag
|
* @param delFlag
|
||||||
* @param id
|
* @param id
|
||||||
*/
|
*/
|
||||||
@Update("update sys_dict set del_flag = #{flag,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}")
|
@Update("update sys_category set del_flag = #{flag,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}")
|
||||||
public void updateDictDelFlag(@Param("flag") int delFlag, @Param("id") String id);
|
public void updateDictDelFlag(@Param("flag") int delFlag, @Param("id") String id);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
select create_by,create_time,sys_org_code,update_by,update_time,attribute_type,code,
|
select create_by,create_time,sys_org_code,update_by,update_time,attribute_type,code,
|
||||||
del_flag,description,en_name,has_child,id,is_read_only,is_tag_dict,item_value,name,pid,sys_dict_id
|
del_flag,description,en_name,has_child,id,is_read_only,is_tag_dict,item_value,name,pid,sys_dict_id
|
||||||
from sys_category
|
from sys_category
|
||||||
where is_tag_dict=1 and sys_dict_id=#{params.sysDictId}
|
where is_tag_dict=1 and sys_dict_id=#{params.sysDictId} and del_flag=0
|
||||||
|
|
||||||
<!--搜索条件:标签名称包含%,单独搜索-->
|
<!--搜索条件:标签名称包含%,单独搜索-->
|
||||||
<if test="params.name != null and params.name != ''">
|
<if test="params.name != null and params.name != ''">
|
||||||
|
|||||||
+1
-1
@@ -28,5 +28,5 @@ public interface OnlCgformTagMapper extends BaseMapper<OnlCgformTag> {
|
|||||||
* @param id
|
* @param id
|
||||||
*/
|
*/
|
||||||
@Update("update onl_cgform_field set is_delete = #{flag,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}")
|
@Update("update onl_cgform_field set is_delete = #{flag,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}")
|
||||||
public void updateDictDelFlag(@org.apache.ibatis.annotations.Param("flag") int isDelete, @org.apache.ibatis.annotations.Param("id") String id);
|
public void updateDictDelFlag(@Param("flag") int isDelete, @Param("id") String id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user