fix 77919 新增/编辑-标准选择问题

This commit is contained in:
liao
2023-11-03 16:17:52 +08:00
parent efd18ab294
commit c02f4452aa
2 changed files with 6 additions and 0 deletions
@@ -59,6 +59,9 @@
<if test="vo.nodeCode != null and vo.nodeCode != ''">
AND id not in (select unique_relation_flag from laws_node_relation where node_code = #{vo.nodeCode})
</if>
<if test="vo.excludeStandardNumbers != null and vo.excludeStandardNumbers != ''">
AND standard_number NOT LIKE CONCAT('%', #{vo.excludeStandardNumbers}, '%')
</if>
ORDER BY create_time DESC
</select>
<select id="getSingleStandard" resultType="com.jero.modules.laws.common.vo.ManyStandardSelectionBox">
@@ -22,4 +22,7 @@ public class ManyStandardSelectionBoxVO {
private java.lang.String standardNumberOrName;
@ApiModelProperty(value = "树节点编码")
private java.lang.String nodeCode;
@ApiModelProperty(value = "排除的标准号(多个则逗号分隔)")
private java.lang.String excludeStandardNumbers;
}