标签组新增标签组名不可重复

This commit is contained in:
feng.li
2023-08-10 16:21:33 +08:00
parent f84e9e6e27
commit 3c4909b8a5
6 changed files with 34 additions and 7 deletions

View File

@@ -28,6 +28,30 @@
select <include refid="Base_Column_List"></include>
from hy_partner_label_group
where deleted = 0
<if test="labelGroupName != null and labelGroupName != ''">
and label_group_name = #{labelGroupName}
</if>
<if test="editUserId != null">
and edit_user_id = #{editUserId}
</if>
<if test="editDate != null">
and edit_date = #{editDate}
</if>
<if test="createTime != null">
and create_time = #{createTime}
</if>
<if test="updateTime != null">
and update_time =#{updateTime}
</if>
<if test="createUserId != null">
and create_user_id = #{createUserId}
</if>
<if test="updateUserId != null">
and update_user_id = #{updateUserId}
</if>
<if test="remark != null and remark != ''">
and remark like concat('%', #{remark}, '%')
</if>
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">